POV on Basic Stamp
by WyoJustin in Circuits > Microcontrollers
19322 Views, 20 Favorites, 0 Comments
POV on Basic Stamp
I was surprised when I could not find any persistence of vision projects on the web using a basic stamp.
Initially I used a piezo speaker to beep each time the pov pattern was complete. This allows you to synchronize your waving motion with the message display. The final pov implementation uses a Memsic accelerometer to figure out when to reverse flash order.
Initially I used a piezo speaker to beep each time the pov pattern was complete. This allows you to synchronize your waving motion with the message display. The final pov implementation uses a Memsic accelerometer to figure out when to reverse flash order.
Build the Circuit
I used the integrated bar LED DIP, but a row of single LEDs should work just fine.
Code the BS2
Edit pov.bs2 with your pattern and upload to the basic stamp. The code should not be difficult to figure out. The piezo version is still supported: set USE_MEMSIC to 0. The light pattern can be found in the DATA directive near the bottom of the file.
Downloads
Give 'er a Whirl
For extra credit, design a simple switch out of a banjo string to detect the direction changes! As in http://www.makezine.com/blog/archive/2006/05/make_podcast_ken_murphys_blink.html Ken Murphys Blink. Let me know if you make any improvements!