Introduction: ESP32 Quick Internet Clock (automatic Timeset)

About: 3D printing and designing RaspberryPI projects for a few years now

ESP32 Quick Internet Clock (automatic timeset)

ESP32 Internet Clock, Handsfree sets time automatically.

Supplies

Supplies Needed

1.2" 7 Segment Display

ESP DEV KIT v1

OTG USB Splitter (display needs 5V Power)

Polycarbonate-Semi-Transparent (smoke gray)



Step 1: Clone Project & 3D Print Assembly Panels

Clone Project From github download/clone the project to get started

https://github.com/khinds10/QuickInternetClock

3D Printing:

From the "3D Print" folder print 1 back panel, 1 case, 2 edges and 1 front panel.

Step 2: Wire Solder the Components

Connect the SCL/SDA Pins from the display to the ESP32.

Connect the RED and BLACK wires from the USB split cable to the GND and +5 and V_IO pins of the display, it needs a full 5V of power to work.

Connect the GND of the ESP32 to the GND of the Display as well.

Solder and connect the Pins according the schematic.

Step 3: Assemble the Project With the Panels

Gather the 3D printed panels and assemble as follows, you'll need to cut the plexiglass to fit the frame.


Step 4: Flash the ESP32 / Adjust Code to Your Own WiFi / Timezone

Flash the ESP32

Load the project folder (which you've checked out) to Visual Studio Code (this is free software).

IMPORTANT

Copy the src/settings-default.h to settings.h and adjust your ssid , password variables to your own WiFi connection.

Adjust gmtOffset_sec as a number of seconds different from Greenich Mean Time. Looks like -18000 seconds is -5 hours for the timezone of America/Eastern Standard.

Plug the ESP32 USB to the computer USB and build/deploy the project.

NOTE: a lot of times you have to plug the ESP32 directly to the computer and not use the USB splitter, it's interfering with the deploy process to the ESP32, after flashing, plug it back to the USB splitter so the ESP and the 7 Segment are all connected to USB power correctly.

Step 5: Final Assembly

Attach the back frame and panel cover with the female OTG usb cable extended to plug in to the power supply.


Step 6: Finished

Finished!