Light Alarm Clock

Standalone alarm clock that will fade a light on and then back off.

Similar projects worth following
Especially in the winter months I find it hard to get out of bed in the morning. Usually I don't even get to see the sun during the week other than my lunch break...

So, to help solve this problem I made myself a little alarm clock that will fade a light on when I set the alarm and then turn the light back off again automatically.

Because making sure a dimmable AC circuit will work is hard (plus I would have to actually get a dimmable light then...), the light alarm clock is based around a 12V DC LED lamp.

A nodeMCU connects to NTP over wifi to keep in sync and calibrate the time / date. There is no RTC even though it would be simple to add in the future (again, don't have one).

Current software is pretty bad, but does all I need it to for now.

  • 1 × LED Lamp Because fading DC lights is easy
  • 1 × NodeMCU Overkill++
  • 1 × Power N Channel FET
  • 1 × 7805 Or other 5V PSU

  • Good enough for now!

    gannon11/18/2015 at 01:52 0 comments

    The 3.3V logic from the NodeMCU wasn't enough to fully turn on my FET, so I have rigged up a simple level shifter using a diode and resistor. The light is actually fairly bright now rather than the dim glow it used to be.

View project log

Enjoy this project?



TheotherMike wrote 09/22/2016 at 19:30 point

How fast is that !?! :-) Thank you so much !

  Are you sure? yes | no

TheotherMike wrote 09/22/2016 at 19:26 point

Could you please give us the code for rebuilding it?

  Are you sure? yes | no

gannon wrote 09/22/2016 at 19:28 point

The code is available on github at

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates