← October 2007 1364 photos
November 2007
18 photos
December 2007 → 778 photos
Browse Archive (303 months)
November 9, 2007 19 items
Blog Posts

So I won a [Basic Stamp kit](http://www.parallax.com/Store/Microcontrollers/BASICStampProgrammingKits/tabid/136/ProductID/313/List/1/Default.aspx?SortField=ProductName,ProductName) from ebay last week. Last night I had a chance to play with it. I went through the included book, and got through most of it. In the end I built the following: [![BasicStamp2 Servo Control](https://eecue.com/i/BasicStamp2-Servo-Control_30773_fybn_l.jpg)](https://eecue.com/p/30773/BasicStamp2-Servo-Control.html) That is a servo on the left, the basic stamp has some code in it that detects the position of the potentiometer in the lower center of the breadboard using capacitor discharge timing and then moves the servo to match the pot's position. The 7 segment display lists a number between 1 and 10 depending upon the servo's position. The white colored LED actually flashes either red or green depending on if you're rotating the pot clockwise our counter-clockwise. It was fun to build and actually not that hard. I am really excited about programming microcontrollers and I'm looking forward to my next projects. At some point soon I feel like I'll be able to finally [hack the Furby](http://eecue.com/log_archive/eecue-log-505-New_Furby_Hacking___Part_1___Skinning.html). You can [check out the code I wrote here](http://eecue.com/servo_control_pot.bs2). **Update for Riyad:**I made the thing on the left spin when I turned the little white knob on the right. I did this using magic.