ESP32 Projects
Start a build
Markdown

CYD SBB Clock for ESP32

An ESP32 display project.

ESP32See upstream buildUnrated
Parts and source

Before you start

Confirm board compatibility and supported firmware targets in the upstream documentation.

Upstream README

SBB station clock for the CYD ESP32-2432S028R

The program shows how to implement the famous SBB station clock with its unique stop-and-go second hand. The clock gets its time from the internet, so a Wi-Fi connection is required.

The program attempts to connect to the local Wi-Fi network using the login credentials specified in the code. If this fails, the clock sets up the AutoConnectAP access point. Now connect your mobile device to this access point and open the web address 192.168.4.1 in your browser. A list of nearby networks will be displayed. Select your router’s SSID from the list and then enter the corresponding password.

Once the connection is established, the login credentials
are stored in the ESP32’s non-volatile memory. From now
on, the clock will automatically connect to the Wi-Fi network
whenever it is turned off and back on.


sbb-clock Tap the screenshot to the left to see the stop-and-go behavior in a video.