An AVR based moonlamp which is always illuminated just as the real moon.
Loading README and project media…
An AVR based moonlamp which always lights up just as the real moon.
Using a RTC and pre-programmed full-moon dates this lamp shows the moon in its current phase. Which also means you can't turn it on at all on a new moon ;)
Touch the metal part to turn it on and off. The brightness can be conrolled by touching it for a longer time.
The makefile is set up in such a way that the program is always (re-)compiled before flashing it. During this compiler-run, date and time will be hard-coded in the programm and written to the RTC at first startup. Thus, it is not necessary to set the RTC manually.
cd software/moonlamp
make fuses
make flash