Skip to content

adw0rd/SierraClockEsp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SierraClockEsp32

ESP32-C3 based clock/weather display for Ford Sierra vehicles. Port of SierraClock from Arduino Nano to ESP32-C3 with PlatformIO.

Features

  • Clock with manual time setting
  • Temperature and humidity display (BME280)
  • SIERRA logo
  • About screen

Apps

App Description
Clock Time display, OK to set time
Weather Temperature and humidity
About Author info
Logo SIERRA logo

Buttons

Button GPIO Function
BTN1 (OK) GPIO 3 Select / increment hours
BTN2 (NEXT) GPIO 4 Navigate / switch to minutes

Hardware

  • ESP32-C3 DevKitC-02
  • BME280/BMP280 sensor (I2C, address 0x76)
  • SH1106G OLED 128x64 (I2C, address 0x3C)
  • 2 buttons (active LOW, internal pull-up)

Wiring (ESP32-C3)

Function GPIO
I2C SDA 8
I2C SCL 9
Button 1 (OK) 3
Button 2 (NEXT) 4

Display and BME280 share the same I2C bus.

Build and Upload

Requires PlatformIO.

# Build
pio run

# Upload
pio run -t upload

# Serial monitor
pio device monitor

Comparison with Original SierraClock (Arduino Nano)

SierraClock (Nano) SierraClockEsp32 (C3)
MCU ATmega328P (8-bit AVR) ESP32-C3 (32-bit RISC-V)
RAM 2 KB 320 KB (x160)
Flash 32 KB 1 310 KB (x41)
Build system arduino-cli PlatformIO
Serial 9600 baud 115200 baud
I2C pins A4/A5 (fixed) GPIO 8/9 (configurable)
Buttons D2/D3 GPIO 3/4
Wi-Fi No Yes (built-in)
BLE No Yes (built-in)

Future Plans

  • Wi-Fi + NTP time sync
  • TPMS tire pressure monitoring via CC1101 433 MHz (see TPMS_INTEGRATION.md)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors