Juraj
Published © GPL3+

Sunrise Clock

A light 'alarm' clock designed for gentle wake-up with increasing light intensity.

IntermediateShowcase (no instructions)473
Sunrise Clock

Things used in this project

Hardware components

Wemos D1 Mini
Espressif Wemos D1 Mini
×1
4-Digit LED Display, TM1637, 50x19mm
red with clock's colon.
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×3
Resistor 100 ohm
Resistor 100 ohm
×10
5 mm LED: Red
5 mm LED: Red
×1
5 mm LED: Yellow
5 mm LED: Yellow
×9
LDR, 1 Mohm
LDR, 1 Mohm
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Rotary Encoder with Push-Button
Rotary Encoder with Push-Button
×1
Male Header 40 Position 1 Row (0.1")
Male Header 40 Position 1 Row (0.1")
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
Prototyping board
×1
Wire, Wrapping Wire
Wire, Wrapping Wire
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1
USB AC/DC power supply
×1
Enclosure
×1
dark screen
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

One LED group circuit

main board soldering

If I would make the board again, I would put the encoder and the LDR higher and position the transistors at bottom.

LED board soldering

The central LEDs are 3 yellow and one red. left and right block use 3 yellow LEDs each. The LEDs are soldered only on the power 'rail', the other leg is only tight in the hole with the wire. this allows to aim the LEDs

Front cover open

The Wemos D1 has the CH340 on bottom side. it doesn't collide with the wires because the D1 is raised a little. The jumper wires are 10cm 'dupont' jumper wires with the black plastic replaced with heat shrink tube and then bent at the flat part of the connector. On this photo I have a white display. Later I replaced it with a red version.

Code

Source code on GitHub

Credits

Juraj
1 project • 0 followers

Comments