October 30th, 2007 DIY clock using a fan and a LED
This is a really coool project from spritesmods.com they had the idea of creating a clock in such a way: make a red, a green and a blue ‘hand’ and by lighting up the three dies of an RGB-led, you can control exactly at what angle the image of every hand shows up. Apart from the hands, the fan itself doesn’t need to be modified: the led, in conjunction with a microcontroller, does all the work.
This is the fan itself. I glued three pieces of paper to it and used a felt tipped pen to colour them in: red for the hour hand, green for the minute hand and blue for the second hand. Eventually, I remove the blue piece: it wasn’t colored in completely OK and the green piece reflected enough blue to give an indication of where the hand indicating the seconds is. Btw: The angle you put the hands in isn’t inportant: the software can compensate for any decision you make when you initialize the hardware.
The software mainly works by using three interrupts: the first one kicks in 500 times a second and is used for button debouncing and keeping time. The second one is dynamically adjusted to kick in 60 times per rotation of the fan and handles the showing of the hands by enabling and disabling the three colors of the RGB-led. The third one kicks in every time the fan generates an RPM-pulse. When that happens, the microcontroller will evaluate the speed at which the rotation-timer happens and adjust it when necessary. The software for the clock is written in avr-gcc and released under the GPL v3, so if you want, you can modify it to display a clock on anything rotating quickly enough.
Watch the clock in action
If you like this project visit its page Link
Tags: DIY, Electronics, fan, LED









July 8th, 2008 at 8:40 pm
Novel Idea. So good I may have to steal it
Couldn’t you just use a single white strip? I suppose you couldn’t have different length hands then, but the colour would distinguish them.
July 8th, 2008 at 9:56 pm
thx Ross and welcome to youritronics.com, All the greats must go to Jeroen from Spritesmods.com he’s the author of this project.