Instructables
Picture of Sunrise Alarm Clock

Many people find the beep of an alarm clock to be a very unpleasant way to wake up. One alternative is to use lights to wake you up. For instance, a "sunrise alarm clock" gradually increases the brightness of a light near your bed at the set time. This helps some people to wake up more gently. 

So in this project I am going to show you how to build a light alarm circuit from a outlet timer and a hand full of basic electrical components. 
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials

Picture of Materials
Here are the materials that you will need to make the circuit:

AC Light Timer
USB Cable
USB AC Adapter
IRF510 MOSFET
1 Mohm Resistor
4 X 100 ohm Resistor
10 kohm Potentiometer (Variable Resistor)
1000 µF Capacitor
4 X LED
Printed Circuit Board
Jumper Wires
Extension Wire (optional)
Momentary Switch (optional)

You will also want to have the following tools at hand:
Soldering Iron and Solder
Wire Strippers
Wire Cutters
Non-Conductive Tape

1-40 of 51Next »
emilyboda1 month ago

What kind of potentiometer was used for this project? I'm new at this and I got it all working on the breadboard and am in the process of soldering, but the pontentiometer I have is gigantic- much too big to fit on the breadboard. If someone could give me a link or even a picture of what it should look like (it's a bit too small to see in the instructable) I think I'd be able to find it!

You can buy them at Radio Shack

http://www.radioshack.com/product/index.jsp?productId=2062301&filterName=Type&filterValue=Trimmers

djerome16 months ago
I made this yesterday and it worked great. I had 7 ultra bright LEDs each at about 30 mAmps and combined in this circuit I estimated their brightness to be about the same as a 30 watt incandescant. The circuit as posted increased in brightness over approximately 10 minutes and an additional 1MOhm resistor in series with the first doubles that time to about 20 minutes. I want mine to be brighter than what it is so I intend to add more LEDs. I think I may have to have two separate circuits eventually though as mentioned in another comment that the capacitor and pot can only handle so many. My power supply is a transformer from a Nintendo DS and outputs 4.6V and 900 mAmps. Does this means I should be able to run a total of 20 to 30 LEDs off this in multiple parallel circuits?
Thanks for the simple!
DIY Hacks and How Tos (author)  djerome16 months ago
Yeah. Just take the capacity of the power supply and divide by the load of each LED and you get a rough approximation of the number of LEDs that you can have.
djerome1 djerome16 months ago
"Thanks for the simple circuit!" I meant to say.
etcmn8 months ago

Thanks, I've been looking for a gradual light alarm. As several others have mentioned I would like to know how to upscale it. I have a couple hundred 3V 50ma LEDs. I would like to set this up so it goes from dark to the equivalent of a 60 watt incandescent over about 20-30 minutes.

The Freak10 months ago
Love the idea, building one with a total of 20W of power LEDs. Might make an instructable about it, naturaly with credits to you ;)
DIY Hacks and How Tos (author)  The Freak10 months ago
Good luck. Let me know how it turns out.
Does your capacitor discharge itself in a day?
DIY Hacks and How Tos (author)  The Freak10 months ago
In most cases it will discharge in a day. If you want to speed up the discharge you can put a large resistor in parallel with the capacitor.
Oh damn never mind, I'm an idiot. It discharges over over the pot and the MOhm resistor in a few hours or so.
mstark211 months ago
I put together the circuit, and it is not working properly. The LEDs will change brightness when I turn the pot, but even after being plugged in for >10 mins the LEDs don't change brightness. The LEDs are not identical; would this cause such a problem? I've had some experience with electronics in school--enough to understand how it works, but not to effectively troubleshoot on my own. Thanks!
jmj1661 year ago
what size cap/pot would be required for a 5 meter LED strip
DIY Hacks and How Tos (author)  jmj1661 year ago
The capacitor and the potentiometer are not effected by the size of the light that you use.
I am having the same problem as jmj166 when I breadboarded this project.
I only get either highest brightness or very dim when I adjust the pot. Also, the LED's do not increase in brightness.
I am a beginner at electronics and thought this would be a good starter project.
Any assistance would be great. Thanks
the more LED's you use will impact the sizes of the capacitor in how long it will achieve full brightness and the pot size in what the initial brightness will be though. Is there a way to calculate the cap or pot size when increasing the number of LED's. When I connect this circuit to a 5m 3528 LED single color strip (white) it just glows at full brightness. When i adjust the pot it only adjusts the dimming a little, so i assume a larger value pot and cap are required to give the same effect as the example here with 7 LED's.

I'm looking forward to (hopefully) figuring this out with your help (if able). I use an LED strip for an alarm clock. As some have commented if 5-10 seconds slowly turning on would make a difference, it definitely would. Imagine having the sum just go to full brightness in your face instantly as an alarm clock. It scares the crap out of you, and will eventually just make you mad.

Anyways, I appreciate the helpful tutorial thus far, I wish instructables had a thumbs up/down option. This is def better than a lot of instructables on here.
Thanks for posting this! I appreciate the simple interface with the lamp timer. Very smart. Would you have any advice on running something bright like this off of a battery powered by the sun? A solar sunrise alarm clock, if you will.
plantprof1 year ago
Could this be modified to operate a regular table lamp with, say, a 60 watt incandescent bulb or CFB?  I'm not sure the LED would be bright enough to awaken me since I sleep in different positions and am not always facing the LED source--need the whole room to get brighter.  What modifications would be necessary? Great idea -- have wanted to be able to have the room gradually get brighter when I wanted to awaken for years.
This specific design couldn't really be used for large incandescents. You would need to modify a commercial light dimmer. I haven't taken one of those apart yet so I don't really know how it would need to be modified. Sorry. If all else fails you could just buy a commercial sunrise alarm clock.
009agent1 year ago
What voltage capacitor should be used?
As a general rule, your capacitor needs to be rated for at least as much as your supply voltage (in this case 5V). You can use anything higher and it won't make difference.

So for this project, you need capacitors that are at least 5V.
so good using as my science fair project!!!!!!!!!!!!
Ardutronic1 year ago
Hey Guys very nice project! I love it! It's so hard for me to wake up in the morning, and i think that this will help a lot. I tried to make it on a bred board but it's not working, i don't know why! I used a 1000uF 6,3v capacitor (i tried with 25-30v too) but nothing is still working. There's just a think that i'm suspicious about: i don't find the IRF510 so the guy in the electronic store gives me a IRF520 one and tells me that it won't make any difference. Is that true? Because the in the circuit nothing happend until i touch with my finger the metal piece of the mosfet. Could you please help me? I need this alarm so bad because school will be stared in the next 4 days. Thank you so much!
jimbo131 year ago
i made a light alarm by connecting a piezo buzzer to a small solar panel and set it in my window, when the sun comes up it starts buzzing.
kiwisaft1 year ago
if you like a sunrise-wakeup more than a bed-on-fire-wakup, do not put it into your pillow
I dont think 5v would set a fire easily
That sounds like the most effective way to wake someone up! :D
An increase over 5 seconds. Does that really make a difference. Wouldn't it be more useful to make the timer itself and a big light?
The LEDs would actually increase in brightness much more slowly than is shown in the video. I greatly increased the speed of the video to better illustrate the process.
How slowly? like over 5 minutes?
I have got an old alarm clock kit, I am going to make something like this with a in-built timer
That depends on the value of the capacitor, the value of he resistor, the setting of the variable resistor and the lighting properties of the LED. You can calculate it. But it is probably easier to just try out different values and see what works. The values that i used went from just starting to be visible to fully bright in about 10 minutes.
That's nice, I might make it, its just when I saw the video I thought it was a bit pointless - 5 seconds is nothing.
Is it possible to change the leds for a 12volt big led light,
Will I need a higher voltage then? like 15 volts?
You can run the system on 12 volts. You just need a 12V supply. I recommend using an old Power adapter with a 12V voltage regulator.
hawkeyejr1 year ago
I would like to see someone come up with an alarm that would go off 5 mins before SUN RISE.
Seemingly difficult, easily done, but practically useless.
Not useless at all if you want to SEE the SUN rise everyday.

Okay, all you need is a real time clock and a lookup table of time of sunrise for each day of the year.
Yes but if someone smarter than you or I could come up with a "light sensing alarm" I could continue to enjoy the sunrise with out changing the alarm, and on cloudy days just sleep in.
Add a photocell.
Is it possible to make a photocell work backwards? All the ones that I have used in the past turn off when light is detected.And I did try to reverse one once;SMOKED IT!
1-40 of 51Next »