A weekend BASIC Stamp project
My project for this weekend was to create a “bouncing LED” display with the BASIC Stamp microcontroller.
After picking up some more 470-ohm resistors and extra red LEDs at EPO on Friday, I got around to it and finished everything in about half an hour today.
Here’s a video (DivX). I wish I had some blue LEDs instead of red, but EPO only had red, yellow, green, and white.
August 16th, 2005 at 10:53 pm
heh, that as my award winning project in high school electronics back in oohh, nevermind. Anyhow, I used a 555 since we didn’t have basic stamps back then.
July 22nd, 2006 at 7:03 pm
Could you help me write some program code for the Basic Stamp??
Write a program with the following devices:
An active-High LED on P9 (LED1)
An Active-High LED on P8 (LED2)
An active-High PB on P0 (PB1)
Servo on P13
Program the controller to loop continuously and perform the following:
- At run, the LED will be off and the servo will be fully CW.
- When the PB is pressed, the LED will blink 10 times at a rate of once per second.
- After the 10 blinks, the servo will move fully CCW and LED2 will turn on.
- When the button is released the servo will move back to CW immediately and
both LEDs will be off.
- Repeat if pressed again.
July 22nd, 2006 at 8:38 pm
No, I’m sorry, I won’t do your homework for you.