0 Button Clock
The goal is to create a clock without button to setup. Like this, no need to create a instruction to use it :)
Supplies
- WEMOS D1 mini (ESP82666 module)
- TM1637 (4 digit 7-segment display module)
- 4 wires
Step 1 : the Code
To setup the clock, I use internet: I get back the time with a NTP (Network Time Protocol) request.
I add the WifiManager librairy to avoid to hard coded Wifi paremeters.
Downloads
The Hardware
Very simple, you just need to link 4 wires !
WEMOS D1 TM1637
out 3.3v <--> Vin
GND <--> GND
D6 (12) <--> CLK
D5 (14) <--> DIO
Sources
Original code : https://pastebin.com/PTGhXXLy
NTP definition: https://en.wikipedia.org/wiki/Network_Time_Protocol