Here are the materials that you will need to make the circuit:
AC Outlet Timer,
USB AC Adapter,
1 Mohm Resistor,
4 X 100 ohm Resistor,
10 kohm Potentiometer (Variable Resistor),
1000 µF Capacitor,
4 X LED,
Printed Circuit Board,
Extension Wire (optional),
Momentary Switch (optional)
- This circuit is essentially just a resistor/capacitor timer with a transistor amplifier. The capacitor is initially discharged. When the power is turned on, the capacitor begins to charge through the 1Mohm resistor. As this is happening, the output voltage of the capacitor slowly increases. This voltage signal is sent to the transistor which sets the transistor's output. This causes the LEDs to gradually increase in brightness over several minutes.
- The potentiometer (variable resistor) is used to adjust the starting voltage of the capacitor. This effectively lets you set the initial brightness of the LEDs. Without it, the LEDs would be off for a long period of charging before the output would be high enough for LEDs to begin to emit light.
- The values of the 1000 µF capacitor and the 1 Mohm resistor were arbitrarily chosen for convenience. Increasing either of these values will slow down the charging process and cause the LEDs to brighten more slowly. Decreasing either of these values will have the opposite effect.
- The IRF510 MOSFET was chosen for the transistor because it requires very little input current and is capable of driving a large number of LEDs.
- Optionally, you can connect a normally open momentary switch to the two terminals of the capacitor to act as a snooze button. Pressing the button will drain the capacitor and restart the charging cycle.
Step #5: Set Up the Timer
Plug the timer into the wall outlet. Plug the USB AC adapter into the timer. Then plug the USB cable into the adapter. Set the timer to turn on about 15 minutes before you want to wake up. When the timer goes off, it will activate the circuit. The LEDs will then gradually turn on and hopefully wake you up.
Step #6: Finished Sunrise Alarm Clock
Now you have your own DIY sunrise alarm clock. When you are first trying it out, you may wish to have a regular alarm as a backup just in case the light doesn't wake you up reliably.