

Lucky for you, this project is completely open source down to the firmware.

Daylight Saving Time is coming to an end in the US, and it’s gonna get worse quickly. Whereas started with a 3 W RGB LED, the current version has three 10 W LEDs and uses a power supply from an old monitor. It’s calculated for a 15-minute sunrise, which required some experimentation to get right. multiplies the 16-bit register by 1/256 every couple of seconds, which results in a logarithmic increase of brightness. So how, then? ’s answer is byte shifting using a 16-bit register - one byte for PWM, and the other as a scratch pad to do logarithmic math. We can get around this by multiplying the PWM value by some factor every so often, but the problem is that this AVR never learned its multiplication tables. Our eyes perceive brightness increases logarithmically, but PWM is linear. We really like the newer one, which looks like it was designed for people to hack into a wake-up light. Over time, this project went from one IKEA enclosure to another. The 2313 outputs PWM, which duty-cycles the LED to create a nice fade-in of white light that is way more gentle than that classic 1980s alarm clock buzz-beep. originally used an Atmel 90S2313 AVR and later upgraded to an ATtiny 2313, which was easy because the two are pin-compatible. Slowly brightening an LED doesn’t have to be difficult or expensive. Their write-up covers all ideas they’ve had on the subject over the years, as well as the electronics, firmware, debugging, and all the upgrades made after using it for awhile. Wake Up Bright is the latest in a line of wake-up widgets has made to help rouse them in the morning. In the past, has used music with increasing volume, but depending on the setup, it can be dodgy if you want to hear a different song each day and don’t have all your files volume-leveled. But the darkness of fall and winter makes it so much worse. Let’s face it - waking up is rough no matter what time of year it is.
