The esp8266 connects to wifi and synchronize time via NTP at boot.
That project uses an ESP8266 instead of an arduino. The esp8266 connects to wifi and synchronise time via NTP at boot. I’m also using a PCA9685 to control LEDs (I tried Charlieplexing but LEDs were too dim).
I bought the « building » case from original City Clock project.
A nice page about GPIOs to use.
- VCC to 3.3 V
- Ground to ground
- CH_PD from ESP to 3.3 V
And, to flash ESP8266 :
- RX from FTDI to TX on ESP
- TX from FTDI to RX on ESP
- DTR from FTDI to GPIO 0 on ESP
- RST from FTDI to RESET on ESP
Code is on https://github.com/paulgreg/City-Clock