Hacked Gadgets Forum

April 22, 2009

Hard Drive Clock based on the PIC18F2320 Microcontroller

at 4:48 pm. Filed under Complex Hacks, Computer Hacks, Cool Gadgets, DIY Hacks, Electronic Hacks


We recently featured some of the new hard drive clocks along with some links to some other designs. Turns out we missed one. AP Digital Light created a Hard Drive Clock which is truly a work of art. It uses a PIC18F2320 Microcontroller and a real time clock module from Spark Fun to keep things in sync. The result of his toner transfer method of board etching is about the best I have ever seen. I used to use that method before and never had results as good as he gets. You can see his demonstration video of the PCB making toner transfer method here, it looks like exactly the same method I used except the results are way better.

"Brain is implemented on PIC18F2320 running at 40MHz.
Firmware is written in "C".

Upon power-up mcirocontroller reads current time and date from RTC and then refreshes data every hour.

Two timers of microcontroller synchronize work of whole device.

Timer0 is dedicated to measure time of full disk revolution. This value is used to calculate precise moment for LEDs to turn ON/OFF. Because of that, clock will display correct result regardless of disk RPM.
External interrupt function resets Timer0 upon signal from index sensor.

Timer1 is connected to external 32768 Hz crystal and configured as real time clock with period 0.25sec. It’s used to scan keyboard, refresh LCD, and recalculate position of clock hands.
RGB LEDs are switching in main program loop.

Keyboard contains two illuminated buttons. It’s used to set correct time/data and select clock mode.

Controller is connected with external world via 8 connectors so unit can be taken apart and reassembled within seconds."

Via: Hacked Gadgets Comment


Priligy farmaco il precoce online su priligy . Priligy farmaco il precoce online su...

Related Posts

Arduino based RGB LED Hard Drive Clock
Hard Drive LED Clock
POV Propeller Clock
Hard Drive Clock – 18f252 Microcontroller Based
CD-ROM Clock
Latest Hard Drive Clocks
Hard Drive Clock Kickstarter – Hard Drive Tick!……Tock POV Clock
POV Hard Drive Clock with Etched Copper Numbers



One Response to “Hard Drive Clock based on the PIC18F2320 Microcontroller”

  1. Pixel-Shack ยป Hard Drive Clock Is Confusing, Pretty Says:

    […] I’m getting a huge refund! Thanks Uncle Sam. Hard Drive Clock [hacked […]

Leave a Reply

Internal Links:



Hacked Gadgets

Site Sponsors:

Nuts and Volts Electronic Labs Trossen Robotics Free Technical Publications Blue LED


Recent Comments:

More RSS Feed Options

Site Sponsors:


Interesting Sites: