Customer Login
If you are already registered, please log in.

Looking for a desk clock that does more than just tell time? Our new ESP32 DIY Clock Kit packs a Wi-Fi-synced analog and digital clock, a live news ticker from major world outlets, and a daily "on this day in history" card — all on a tiny 0.96-inch OLED display. It's the perfect weekend build for makers, students, and anyone learning electronics or embedded programming. Get Parts: esp32 + 0.96 Oled I2C

Only four wires needed. Power the display from the ESP32's 3.3V rail (not 5V — it will work, but 3.3V is safer on this screen) and connect the two I²C data lines to GPIO 8 and 9.
| OLED Pin | ESP32 Pin | Purpose |
|---|---|---|
| VCC | 3.3V | Power |
| GND | GND | Ground |
| SDA | GPIO 8 | I²C data |
| SCL | GPIO 9 | I²C clock |
Note: if you're using a different ESP32 board that doesn't expose GPIO 8 and 9, you can change the pin assignment in the sketch (see Step 4 below).
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Open Tools → Manage Libraries and install these two (the ESP32 core includes everything else):
Everything else used by the sketch — WiFi, HTTPClient, WiFiClientSecure, Wire, time.h, and FreeRTOS — comes bundled with the ESP32 core. No extra installs needed.
Download both sketch files (clock-ntp-rss-366-events.ino and history_events.h) and place them in a folder named clock-ntp-rss-366-events. Open the .ino file in the Arduino IDE.
Near the top of the sketch you'll see a USER SETTINGS block. Change these three lines to match your Wi-Fi and time zone:
That's it. Three edits and you're ready to flash. If your board uses different I²C pins, you'll also find this block a bit further down — change the numbers to whatever your ESP32 exposes:
Plug the ESP32 into your computer with the USB cable, select the correct COM / serial port under Tools → Port, and click the Upload arrow. After a few seconds you'll see the OLED come to life: first "Connecting Wi-Fi", then "Syncing NTP", and finally the analog + digital clock face with the news ticker scrolling along the bottom.
The sketch runs three cooperative loops on the ESP32 using FreeRTOS tasks, so the display never stutters — even while a news fetch is in flight. Every day of the year gets its own historical event from a lookup table. Here's a small slice:
Because the firmware is open and well-commented, you can easily:
feeds[] arrayhistory_events.h
Grab the ESP32 + 0.96" OLED DIY Clock Kit from our store and have a working internet-connected clock on your desk this weekend. Whether you're a hobbyist, a STEM teacher, or just someone who wants a smarter clock, this kit is a fun, educational, and genuinely useful build.
👉 Shop ESP32 DIY Kits at eelectronicparts.com
clock-ntp-rss-366-events
history_events.h
Wiring is just four pins: VCC, GND, SDA, and SCL. If you can plug in a USB cable, you can build this clock.
pool.ntp.org — accurate to the second, automatic daylight savingThe sketch is built around three loops working together on the ESP32:
Time loop. On boot, the ESP32 connects to your Wi-Fi, syncs with an NTP server, and then runs a software clock locally. The analog hands and digital readout update from the same time source, so they never drift apart.
News loop. Every 15 minutes, a background task fetches RSS feeds over HTTPS, parses the XML, decodes HTML entities, and queues fresh headlines into a scroll buffer. The ticker keeps moving smoothly the whole time — no stutter while fetching.
History loop. A lookup table (history_events.h) maps every day of the year to one or more notable events. The clock rotates between the news ticker and a full-screen history card every 20 seconds so you always have something new to read.
All three run cooperatively using FreeRTOS tasks, so the display never freezes — even mid-fetch.
The ESP32 is hands-down the best beginner-friendly Wi-Fi microcontroller on the market: cheap, well-documented, and supported in the Arduino IDE. Pair it with a crisp 0.96" SSD1306 OLED and you have a platform that can drive dashboards, IoT widgets, weather stations, smart-home displays — anything you can dream up. This clock is a great first project that teaches you Wi-Fi, NTP, HTTPS requests, RSS parsing, graphics, and FreeRTOS tasks all in one tidy sketch.
Make It Your OwnBecause the firmware is open and well-commented, you can:
Grab the ESP32 + 0.96" OLED DIY Clock Kit from our store and have a working internet-connected clock on your desk this weekend. Whether you're a hobbyist, a STEM teacher, or just someone who wants a smarter clock, this kit is a fun, educational, and genuinely useful build.
👉 Shop ESP32 DIY Kits at eelectronicparts.com
If you are already registered, please log in.
0 comments