Hey guys! This is an Instructable for making your own ATtiny85/45 5 LED POV (Persistence Of Vision) display!

This is my second Instructable, also for the Elemental LED contest, so drop a comment and vote it up!

The total parts cost for this POV display is under $10! (If you get the parts from a wholesale supplier, like Mouser or Digi-Key)

I apologize for all the horribly blurry pictures, I'm using my iPod touch to take them (what a crap camera on that one, right?) I will be taking the pictures with a different camera for my future Instructables. :)

Step 1: Parts List

Things you will need:

1x ATtiny85/45 microcontroller
1x 8 pin DIP socket
1x 2 position slide switch
1x 100-220 Ohm resistor
1x 2 AA battery pack
5x LEDs (any color) (I used rectangular 2x5mm LEDs because they fit right next to each other without a gap on the perfboard)
Some bits of wire
Some perfboard

1x AVR programmer (can be an Arduino, go here for instructions)
1x Saw or Dremel for cutting the perfboard down to size
<p>Popsicle stick POV</p><p>http://youtu.be/ono6w5bb4YU</p>
Hey, great project! <br> <br> <br>...But I can't read the obviously &quot;modulated&quot; blinking &quot;WOW!!&quot;. <br>1. I only had common anode LEDs.... So I switched the HIGH for LOW, and vice versa. <br>2. It runs different speeds depending on whether I program using attiny85@1MHZ or 8MHz... Not sure if that is the problem....persistence? <br> <br>Should I have changed the delay times as well? <br> <br> <br>Thanks beforehand for your speedy response. <br> <br>Chas
Common anode LEDs? You use 5 separate LEDs. You should have 5 cathodes and 5 anodes, so i don't see what you're getting at. <br> <br>Since 8MHz is a faster clock speed than 1MHz, the code will run faster on 8MHz, therefore you will probably have to wave the device faster to see them message.
...And yes, I am using 5 Rgb-LEDs. <br> <br>C <br>
Sorry for the addendum, but not only a newbie...I'm OLD. <br> <br> I believe you may be able to use six LEDs if you eliminate the reset pin 1 function, and use it as an additional output.... Think I've seen that several times... <br> <br>I'll shaddup and wait for a response. <br> <br>C
<p>you can but then it would be harder to program as you would need a High Voltage Programmer a better option for more LED's would be to charlieplex them and you could do up to 20 LEDs on the ATTiny85/45(well i guess if you set the reset pin as an I/O pin then you could do 30 LED's but Pin5(reset) doesn't have as much source/sink current so an LED would be much dimmer on that pin so then you would need to use a transistor and well everything just gets more complicated for this use :p I found a good writeup about using pin5 as I/O here: http://www.robotroom.com/Atmel-ATtiny-STK500-Programming-4.html</p>
1. Having no descrete LEDs, I am using one common(anode NOT cathode) and one color of some spare Common Anode RGB-leds...thus the reversal of the digitalWrite(HIGH,LOW) scenario. Sorry I didnt mention that. <br>2. Actually, setting my programmer to 8Mhz runs slower than at the 1Mhz setting! I've seen this many times before in the ATtiny forums...and yes it IS counter-intuitive. I'd love to hear an explanation....but as I said, I am not sure the speed is the issue. ...UNLESS it causes the delay() Fn, to work differently/ perhaps opposite?; to what we would expect. <br> <br>Thanks for your quick response. <br> <br>Chas
Did you get it to work?
Yup....shore did....found som spare std. LEDS AND TOOK YOUR CODE BACK TO THE ORIGINAL.....sorry for the shouting....one caveat. ...I messed up spelling my wife's name in caps.....no blinking....WTF??? <br> <br>Thennnnn I looked at the code and realized it only provided for lower case, and voila!!! Put her on a lazy Suzan and there it was!! <br> <br>Thanks, <br>Chas
how would a person make the display a clock?
<p>Great first POV project!</p><p>attiny45 NOTE: I'm using ATtiny 45 <br>on this, and ran into a problem of memory overflow. I don;t know why, <br>because the 45 is supposed ot have 4k on it, but it would not do <br>anything, even thpough the compiler only counted about 2.5k???. The <br>only workaround I found to make it function was to reduce the code <br>size. I // commented out the all the 'if (c==' lines in the displayChar <br> method that weren't included in my dispay word, and it works fine. (In <br> the &quot;wow! case, only the w, the o, and the ! remained un-</p><p>commented-out) <br> now it works. Probably not a problem with the 85. Also if using 3v, <br>you can probably use less of a resistor (or none, I have mine jumped <br>out) because it's pretty dim with 220.</p>
<p>Have you upload with ATTiny85 1 MHz? 8 MHz doesn't work well because it is equal to or less than 3 Volt. </p>
<p>I made it with Etched PCB. It work pretty good. Don't need much wire messy and is cheapest than order custom PCB online and not need EAGLE skill since you can use black marker. </p>
Hi! I just finished your great project!<br/>As other people commented, I also find the line pinMode(7, INPUT); in "void setup" does not anything there…<br/>I used a 3v. button battery (CR2032) and since the ATtiny85 and the LEDs can work with its voltage I didn't used any resistor.<br/>Just a question: do you think there is way to use the remaining PIN 1 to do something with it?<br/>Anyone knows about it?
Worked great after I changed the DelayTime to 1 <br> <br>
Nice Instructable! <br> <br>Couple of comments: <br>I think it should be pinMode(5, INPUT); not pinMode(7, INPUT); in the setup <br>Also it would be great to see some comments in the code (or separately) to step through the software. <br> <br>
Great Instructable, But I seem to be having trouble with my 4th LED, 2nd from the bottom... any idea?
Make sure your connecting the LED the right way. Maybe you don't have the polarity right, or you don't have the right pin connected to the LED. Try replacing the LED with another one also. If none of that works, try re-uploading the code.
I realized that in your code there was a Input, When I deleted that everything now works. Thanks for the great project to make late at night, From start to finish took me about 2-3 hours
I'm glad you figured that out. Id that how it was in the code i posted here? because if it is and its an error, i want to fix it.
i had the same problem with 4th led, i then removed the pinMode(7, INPUT); from the setup because it did not make sense, because the attiny has only 5 pins for interface. Now it works fine. :) you should remove this
Do you make your own PCBs? I've tried to make them myself but with no luck. If you could tell me how (PM me) i would appreciate it :)
Would someone be so kind as to do a quick Youtube demo of what we are supposed to see, not the fabrication process. <br> <br>Thanks, <br> <br>Chas
http://www.youtube.com/watch?v=ono6w5bb4YU&amp;feature=youtube_gdata_player <br>What do you see? <br>Hint, it's my wife's name, but very uncommon
is it... malia?
maliya? <br>
...but no ceegar....grin
I have no idea.... mikayla?
Hint2 use you're pause button?.. A free phone answering message in MP3 format, done by me(professional actor and voice specialist) to the first one to guess it right.<br><br>c
I believe it says &quot; MAYLA! &quot;
Annnnndwehaveawinnnnnaaaaa!<br><br>Right you are...though There were two explanation marks. I attribute that to the spacing Of my LEDs and t'he rather limited 5x5 font.<br><br>Give me your Ideas and text of your free custom ringtone/home phone Message as an mp3, and I'll start working on it! . Reply to hesynergy@gmail.com.
Nice ible. <br>To see the POV working what do you do, wave it around? <br>
You turn it on, and wave it side to side. From my experience and the one I made, if I turn it on with the switch on the bottom and the LEDs on the left side, it works best if I wave it from left to right. It comes out backwards otherwise.

About This Instructable


103 favorites


Bio: I'm a big Arduino fan. I'm always looking for new and exciting things to do with electronics and Arduino. I also like video ... More »
More by xBacon: DIY Infrared Proximity Sensor (Arduino Compatible) Color Changing LED Tree Plug-in LED Color Fading Night Light
Add instructable to: