0

First Real Electronics project

Posted by admin on Jan 31, 2008 in Electronics

I’ve been wanting to get into electronics. I have so many kits, parts, books, and ideas. But nothing really put together. I had thought about creating a device to count the number of times that a ping pong ball hits the backboard, but I’m not really sure how to measure each hit. I was thinking of using a microphone and counting pulses, but I’m not quite there yet.

Then at the “Executive” meeting at the HP Houston Toastmasters club (I’m the newly elected VP of Education), there was an agenda item to consider buying a speech timer. You would program the minimum and maximum time. Then click start. And it would turn on a green light once you got to the minimum time. It would show the yellow when you were halfway between the minimum and maximum time. And then it would show red when you get to the maximum time.

So, this all seems simple. I know how to program a basic stamp from parallax to turn on lights, respond to buttons, and display things on an LCD screen. I just need to put them all together. So, stay tuned with the blog to see how I go about doing that.

I have created a wiki page for the project to so you can look at the latest design: Speech Timer Wiki Page

Yesterday, I successfully hooked up my Basic Stamp board to my laptop, wired up an LCD display, and completed the “Experiment #11: A Basic LCD Demonstration”. This showed me how to actually get something to show up on the display.

Today, I need to do “Experiment #30: Using a Real-time clock”. This will ensure that I can count the seconds and minutes accurately. And I want to combine what I learned from #30 and #11 to show the time on the LCD screen. So, lets see how that goes.

Experiment #30: Using a Real-time clock

We use a DS1302 real-time clock (RTC) and a 32.768 kHz crystal hooked up to the stamp.

The crystal has no external markings, but I found this picture on digikey:

The total length is about 1/2 inch. The component part is only 1/4 inch long.

Need a 1k resister.. What are the color bands? Time to google… ahhh Here we go:

http://www.micro-ohm.com/colorcode/rescolor.html

Brown-black– red

double check with VOM

Got everything hooked up… sample program loaded.. but the time does not increment…

I wonder if the DS1302 or the crystal has gone bad?

Well, that’s all for today.. Hopefully I will get a chance to look at it more tomorrow.

 
0

StampWorks day 1

Posted by admin on Dec 15, 2007 in Electronics

I really would like to get into electronics, robotics, and tele-presence in a big way. But I have little skills in this regard. Lots of ideas, but little skills. No problem.. Just develop the skills.

Over the years, I have bought and collected many electronics/robotics learning kits. My plan is to go through them, develop some basic skills, and then start attempting to create a tele-presence device that will allow for me to remotely do gardening, build things, household chores, etc.

To get started, I will be going through the StampWorks manual. In the course of this, I will learn basic electronics, microprocessor programming, interacting with LCD panel, motors, and other devices.

So, let’s go over the setup:

1) StampWorks Kit from Parallax

2) USB to Serial connector from Radio Shack –ooops, no VISTA drivers… I need to find a different device…

3) HP laptop computer

I checked the Parallax site for a more recent version of the Basic Stamp IDE. There is a newer one (v.2.3.9), that can be found on the Basic Software download page.

Now to test out our setup. First program

‘ {$STAMP BS2}

DEBUG “The StampWorks lab is ready!”

– could not connect to the stamp because there is no VISTA driver for the USB-Serial device I have…. Stay tuned…

hpim5722.jpg

Copyright © 2008 GadgetNate All rights reserved. Theme by Laptop Geek.