Example project · Builds & projects
ESP32-S31 OLED graphics demo
The stock u8g2 program draws text, shapes, pixels, a progress bar, a bouncing ball and a bitmap on the powered 128×64 SSD1306 at 0x3C. GPIO4 SCL/GPIO5 SDA use internal pull-ups at 400 kHz; Serial names each phase. The demo repeats. Enable verbose in Serial to see the stock INFO lines. Unmodified pinned ESP-IDF development source on the bounded S31 simulator profile; no physical flashing.

What's on the bench
- Battery
- ESP32-S31 (development source)
- OLED 128×64
How it's wired
- Battery · pos→ESP32-S31 (development source) · vin
- Battery · neg→ESP32-S31 (development source) · gnd
- ESP32-S31 (development source) · 3v3→OLED 128×64 · vcc
- ESP32-S31 (development source) · gnd→OLED 128×64 · gnd
- ESP32-S31 (development source) · g4→OLED 128×64 · scl
- ESP32-S31 (development source) · g5→OLED 128×64 · sda
This project runs prebuilt firmware on the emulated board; open it in the simulator to watch it work and inspect every part live.



