F1 Cockpit-Inspired Digital OLED Clock With ESP32
by gokux in Circuits > Gadgets
1274 Views, 14 Favorites, 0 Comments
F1 Cockpit-Inspired Digital OLED Clock With ESP32
Formula 1 has long stood for top-tier technolоgy, accuracy, and design. The driver's steering whеel display, compact, data-rich, and designed fоr both functionality and style, is one of the mоst recognizable parts of modern F1 cars.
For thіs project, I decided to design and construct аn F1-inspired digital clock that embodies the sаme high-performance appearance. This clock, whіch uses a microcontroller, an OLED display, and СAD-designed components, is more than just a tіmepiece. It has real-time NTP synchronization fоr accuracy, a unique UI inspired by F1 dashboаrds, and a form factor that can be changed with 3D-рrinted or CNC-milled housings.
This project shоws a multidisciplinary strategy that combines еlectronics, embedded programming, and CAD desіgn. It emphasizes how modern prototyping tools сan incorporate fandom into functional design, аnd it illustrates how professional processes, frоm circuit integration to 3D modeling, can be usеd in creative, fandom-driven projects.
Supplies
- SeeedStudio XIAO ESP32C3
- 2.42inch OLED
- Multiperpus glue
- Super Glue
Designing in Fusion 360
I utilised Fusion 360 to plan and design my project, which required careful space optimisation. I needed to fit all the parts into the smallest form factor possible while ensuring practicality, including sufficient space for wiring and easy assembly. First, I imported all 3d models of the parts and tried different configurations by placing the parts in various positions. Once I found the optimal configurations, I built the enclosure around them. All design files are provided below
Then I 3d printed the main body in black PLA / also resin printed the F1 car model using my Elegoo Saturn 4 ultra
Flashing Code to XIAO ESP32C3
I always like to upload the code to the microcontroller before assembly. I am using Arduino IDE for flashing the code. follow these tutorials for setting up IDE for Seeed Studio XIAO ESP32C3 and learn more about this board
Make sure to install all required libraries into Arduino IDE
How to set your wifi password
We need an internal connection to get time data from NTP servers. so we need to connect this clock to your wifi network. you can enter your wifi credentials on 46,47 lines
How to set your time zone
The time zone is configured using your GMT offset in seconds. My GMT offset is GMT +5:30, now we need to convert it into seconds which is 19800sec. Just google it for easy conversion
You can enter your GMT offset in seconds in line 65 of the code
The complete code
Wiring and Assembly
Here is the wiring diagram for this build. We are using a 2.42-inch OLED screen for displaying everything, so let start the assembly
1.Use super glue to attach the display holder to the base.
2.Place the OLED display module into the display holder and melt the plastic standoff to secure the OLED display.
3. Attach the XIAO antenna to the base.
4. Attach the XIAO ESP32C3 to the 3D-printed slot using glue.
5. Connect the antenna cable to the XIAO.
6. Complete the wiring according to the provided wiring diagram.
7 . Finally, apply some glue to the side and secure the back caps.
We are done with our build
Final Thought
This project demonstrates how fandom can be transformed into functional design through modern tools and prototyping methods. By merging electronics, CAD design, and programming, the F1-Inspired Digital Clock brings the aesthetic of a Formula 1 cockpit into an everyday object.
Beyond being a timepiece, it represents the intersection of creativity and engineering—showing how a passion for motorsport can drive technical exploration. The modular design also leaves room for customisation: users can adapt the UI, housing, or even add features such as alarms, animations, or team-specific themes.
Whether used as a personal desk accessory, a learning project in embedded systems, or as inspiration for further product design, this build highlights how fandom can fuel innovation.