I got this idea by browsing the web. I found by hazard Mr. Bob Blick's page who make the first propeller clock. I began to check how can I build one myself. Base on AVR AT90S2313 I saw rapidly that my MCU must be clocked very fast to make all the calculations needed to light the leds at the right place. The speed is at 16Mhz, 4 times faster than Atmel's specifications. It's working without any problems.
Each time the PCB passed at 12h00 an hall effect sensor sensed the magnet and generated an interruption. At this time, we have to check the counter to se how many ticks had been passed from this rotation since the last rotation tooks this value and divide it by 360. This calculation will gives you the time between each degree. Now, you have to set an interruption to occur at each degree and after you will be able to light leds whenever you want at any of 360 degrees. At this MCU speed, there is no jitter everything is just FIXED!!!
A simple IR sensor is used to take the signal from the remote control (set to a Sony protocol).
Don't forget to use HIGH BRIGHTNESS LEDS 1600mcd. Leds are not lighted very long so the mcd's power must be high.
- Analog clock mode
- Digital clock mode
- Infrared clock setting with a standard universal remote control
145 Comments to “Propeller Clock”
All my source codes were taken from my personal projects.
Everything is for your information only. The C/C++ codes have been written
with ICCAVR. You can find the header and source CRT files by downloading their compiler.
All is for your information and everything is AS IS without any warranty of any kind. No other files are available and I don't make any modification for any body.
- All projects
- Electric Train
- General Posting
- Lastes News
- Work Bench Tools