0 Button Clock

by jeromek in Circuits > Arduino

265 Views, 3 Favorites, 0 Comments

0 Button Clock

IMG_20210521_132943.jpg

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

IMG_20210425_155658.jpg

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

IMG_20210425_155807.jpg

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