Sunrise Clock

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

Jan 13, 2022

2140 views

1 respects

Components and supplies

1

4-Digit LED Display, TM1637, 50x19mm

1

Rotary Encoder with Push-Button

1

5 mm LED: Red

1

Enclosure

1

dark screen

1

Resistor 10k ohm

1

Wemos D1 Mini

1

USB AC/DC power supply

1

Male Header 40 Position 1 Row (0.1")

1

LDR, 1 Mohm

3

General Purpose Transistor NPN

10

Resistor 100 ohm

1

Prototyping board

1

Female/Female Jumper Wires

1

USB-A to Micro-USB Cable

1

Wire, Wrapping Wire

9

5 mm LED: Yellow

Tools and machines

1

Soldering iron (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

Source code on GitHub

/

0
0
Latest commit to the master branch on Invalid date

Downloadable files

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.

Front cover open

Image

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

LED board soldering

Image

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.

main board soldering

Image

One LED group circuit

One LED group circuit

Image

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

LED board soldering

Image

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.

Front cover open

Image

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.

main board soldering

Image

One LED group circuit

One LED group circuit

Image

Comments

Only logged in users can leave comments

Juraj

0 Followers

0 Projects

0