I saw these POV(Persistence of Vision) devices on other Instructables and thought I would like to make one and I have always wanted my own "APPLAUSE" sign. Next improvement will be to make it go on whenever I enter the room. :) Maybe have it say, "And here's Charlie !" But that is for another time.
So I got a fan at a garage sale, did some reading , found some code and below is a video of my machine in action.
I started with nice code from an Instructable by Scott Mitchell - "Arduino Bike POV" but what I ended up with is his code greatly parred down. I could not get it to work at first and so I keep changing the code . Turned out my problem had nothing to do with the code. So I am going to go back to his code and try again as his is much more generic and would work more easily with different phrases. But that is for later also.
The video below shows the POV in action. It does not seem as broken or disconnected in real life as it does on the video.
Remove these ads by
Signing UpStep 1Get stuff
Items used in this project:
small fan - garage sale - 2.00
misc lumber - my basement - 0.00
a length of plastic 15 by 2.5 inches - my basement - 0.00
an Arduino - I use a Ardweeny from SolarBotics - about 10.00
7 red LEDs - already had - 1.00
7 - 330 ohm resistors - 3.00
Halls Sensor - I got from Adafruit - US5881LUA - 2.00
1 10k resistor to be used with the Halls sensor - 1.00
2 magnets from local hobby store - 1.00
also will need : wire, 9v battery , screws, Loctite 5 min epoxy, small PCB from Radio Shack
| « Previous Step | Download PDFView All Steps | Next Step » |











































I've just made a small home-printed PCB (following instructions from here and elsewhere) with 7 LEDs on and the holes ready for the hall sensors.
I'll keep you posted on my progress. Keep up the good work. Thanks for an easy to understand Instructable (it's actually the first that I've tried to put into practice).
My kids love it! So, thanks once again for making an easy to understand 'able.
sketch_aug16a.cpp:28:19: error: font.h: No such file or directory
sketch_aug16a.cpp: In function 'void printLetter(char)':
sketch_aug16a:103: error: 'font' was not declared in this scope
sketch_aug16a.cpp: At global scope:
sketch_aug16a:129: error: expected unqualified-id before '--' token
i am very new to programing with microcontrollers so i not sure how to fix this any ideas?
I think this may be the problem:
I did not spell it out in the instructable and that is my fault but ....
In the instructable the code is actually 2 files. I get the same error if I copy and paste the whole code listing into an Arduino sketch but if you do the following it does verify:
copy and paste from the top of the file to the point where font.h is started ie the last 2 lines of the copy will be :
delayMicroseconds(2500);
}
Then in the arduino sketch you need to click on the arrow that is in the box on the right near the top and select "new tab" , name this font.h , copy and paste the font.h code from the Instructable into this sketch.
I just tried this again and it worked but after doing the copying and pasteing, I did need to go back and delete a couple of lines that were not commented out properly eg
------------------------------------- this line
and
*/ this line
So in summary:
you need the font.h to be a seperate file (or tab)
Hope that helps
thank you for pointing this out.
here its used to know when a certain point is reached on the circle, so the arduino knows when to start blinking the LED's
The following URL is to the Adafruit item that was used and a more detailed explanation can be found there.
http://www.adafruit.com/products/158