NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Project Help and Ideas » Persistence of vision [only NerdKit]

April 10, 2010
by Hexorg
Hexorg's Avatar

Hey! I made a little project for my birthday (I'm 20 today ^_^) that doesn't require any extra parts - only basic ATmega assembly, 6 LEDs in portc, and a buzzer at portb(5).

You pretty much swing it fast from left to right (low-pitch in metronome - left, high pitch - right), and LEDs blink at certain intervals to form image/text. Here is a good example of this, except they use motors to spin LEDs, rather then just shake them.

Here is a link to the code. A little metronome (buzzer in PB5) is used to help time arm swings better. The image output is in display array. B8 is a little mactos I found to have binary literals. Everything else should be self explanaroty. If you have any questions, just ask :)

Post a Reply

Please log in to post a reply.

Did you know that NerdKits also has extra parts available for its customers? Learn more...