The system works by timing the slot in the platter. The Arduino uses an internal timer to clock each revolution. It achieves this using an infrared gate, which triggers a hardware interrupt on every full revolution of the platter. The Arduino uses the revolution time and phase to schedule a second internal timer. This second timer uses an interrupt to schedule the timing of the LEDs, firing tens of thousands times a second to build a stable, visible image.
This work is based on Ian Smith's version of the same. His work is excellent, and his website on this topic will help provide a complete picture for this instructable.
Remove these ads by
Signing UpStep 1: Gather Materials
Arduino - If you don't have an Arduino board, this link will show you where you can buy one. I developed this with a Diecimila, but I would expect the code to work on a Duemilanove without changes.
ULN2803A - This is responsible for switching the high current 12V LEDs.
Digi-Key: ULN2803APG-ND
RGB LED Tape - The best source I've found for tricolor LED tape is from Super Bright LEDs. A single 19.5" strip costs $19.95.
Super Bright LEDs: NFLS-RGB15
270 Ohm Resistor - Limits current to your sensor source.
Digi-Key: 270H-ND
10K Resistor - Pull-up for your sensor output.
Digi-Key: 10KH-ND
You can build the platter sensor from either an infrared gate or a Hall-effect sensor. The infrared gate uses the slot cut out of the platter to disrupt the beam. The Hall-effect sensor will require that you glue a small but strong magnet exactly 180 degrees from the slot in the platter.
If you decide to use an infrared gate, you can either build your own gate from scratch or you can buy a manufactured gate. If you choose to build your own, you can use any old pair of infrared emitter/phototransistors (mine are from Radio Shack), or you can purchase the following:
Infrared Emitter - Used to provide an infrared beam to time the platter.
Digi-Key: 475-2648-ND
Infrared Phototransistor - Provides a pulse on every platter revolution.
Digi-Key: 475-1080-ND
I did not build my rig with a Hall-effect sensor. I chose to use infrared because I had the parts lying around, but a Hall-effect sensor is less obtrusive. If you choose to go the Hall-effect route, you will need to adjust a few details in this tutorial. For example, you will need to glue a magnet directly opposite of the slot. This will require changing the code loaded onto the Arduino to account for the 180 degree change in phase.
I have not tested this Hall-effect sensor, but I would expect it to work fine:
Hall-Effect Sensor - Provides a pulse on every platter revolution.
Digi-Key: 620-1001-ND
















































Visit Our Store »
Go Pro Today »




One thing that i can not get working is if i press "r" to display the rpm and such, it will give me a reading of about 8000RPM, although if the key is pressed at the right time the rpm reads as something around 30000RPM - 45000RPM. I have tryed playing around with the sensor, the 'SPURIOUS_INT' Value and the gap in the platter, none however have given me a result. This ubove is causing lodes of visible glitches and the pattern is all messed up (Test Pattern 1).
Any help from Vishnubob or the community would be greatly appreciated.
Note: I have bypassed the start-up pattern because it does the red animation but stays red and does not cycle through the colors.
I get this error, invalid syntax: no module named serial, this happens with time also.
Where can I download serial and time?
Do I have to tell the script where to look for these?
Any help would be greatly appreciated.
File "clock.py", line 41
print "send => %s % msg.strip()"
| this last symbol is wrong?!
SyntaxError: invalid syntax
Help!
is my version of an HDD POV Clock with the help of the Articles from Vishnubob and David Hend ( http://www.instructables.com/id/Hard-Drive-POV-Clock/ )
THX to Vishnubob and David Hend! Great Work!
connect the HD port.
Sorry for my english if there is any mistake.
Go to step 14. Good luck!
http://www.kickstarter.com/projects/680714141/hard-drive-ticktock-pov-clock
its giving me a bunch of trouble, and id hate to give up on such an awesome project, right at the end.
It's a prebuilt version of the IR trip gate.
Very Cool though! 5 stars!