Theory behind this project
Another weekend project that I’ve been working on is Wake-up light. Lately I’ve been doing more research on sleep phases and how to “hack” your brain to wake-up more refreshed and adjust your sleep cycle. There are many studies out there explaining this and providing scientific evidence, so if this is something you are interested in, I encourage you to go and get more detailed information on this subject. However I won’t go into too much detail, I’ll just try to give very simple explanation: When you sleep, you are either in REM or deep sleep (NREM) phase. When you wake up in REM phase you feel fresh, relaxed and full of energy. When you are woken up during the deep sleep phase, you feel like you’ve just been hit by a bus, and you take long time to actually wake up. Continue reading “DIY Wake-up Light – Wake-up easily and well rested”
I kept getting more and more emails from people asking me if I could modify the firmware of the Bedroom clock I made last year to implement an easier way to adjust the time/date, so that’s what I did.
In Firmware v2 H and M buttons have the following functions:
- H : This button will cycle selection trough hour, min, day, month and year. Current selection is indicated with “>” or “<” indicator.
- M : This button will now increase the value of the selected field.
After you cycle trough all the fields, the new time/date values are saved in the RTC and clock continues to run.
New firmware is, like always available on the GitHub page.
Like I said in the original post, this was the one-day project that I finished in about 4 hours, so while I’m pretty sure most of you will be able to follow the code without any problems, don’t expect comment for every line or the perfect code. The code provided is the one that (just) does the job good enough.
Like always, I’m looking forward to your feedback!
First, maybe you should see a little demo on YouTube to see how this thing looks in action…
Before we start…
I wanted to make this project for myself, and since this is very simple project, I placed a challenge to complete it in shortest time possible and make it work as I intended to.
From idea to finished product it took about 4-5 hours, including designing schematic, routing PCB and making it, programming the device and etc.
What is important is that finished product works like I want it to do, and it could be used as opportunity to learn something about other platforms different from some that are spamming us 24/7 like Arduino.
Don’t get me wrong, Arduino is great and all but sometimes I want to build something for myself from scratch. 🙂
One thing I want to ask you all is to share your opinion, how to make this project better, what would you add/remove, did you use it? Did you like it? Did you make/modify it? Share it with us!
Continue reading “Build Small Bedroom Clock from scratch in under 4hours”