Topics/Fundamentals/ESP32-C3 OLED Board and Its Three Bases: Expansion, Pluggable Terminal and Screw Terminal
DIGITALI2Cbeginner

ESP32-C3 OLED Board and Its Three Bases: Expansion, Pluggable Terminal and Screw Terminal

A 25 × 20.5 mm ESP32-C3 board with a 72 × 40 OLED already wired to GPIO 5 and 6, and three bases it seats on, each with a battery connector, charger and switch: 2.54 mm pins, push-in terminals or screw terminals.

ESP32-C3 OLED Development Board
ESP32-C3 OLED Expansion Base (2.54 mm)
ESP32-C3 OLED Pluggable Terminal Base
ESP32-C3 OLED Screw Terminal Base

Specifications

In the rangeThe ESP32-C3 OLED board, and three bases it seats on: expansion (2.54 mm pins and sockets), pluggable terminal (3.5 mm push-in) and screw terminal (3.5 mm screw)
ChipESP32-C3FH4, single-core RISC-V up to 160 MHz, 4 MB flash inside the module, 400 kB SRAM, no PSRAM; Wi-Fi 4 and Bluetooth LE; the USB-C socket goes straight to the chip, so there is no driver to install
Display0.42 in OLED, 72 × 40 pixels, SH1106 at I²C address 0x3C, on GPIO 5 (SDA) and GPIO 6 (SCL)
Holes16 on the board and on every base: GPIO 3, 4, 5, 6, 7, 8, 9 and 10 down one side, and GPIO 0, 1, 2, TX (21), RX (20), 3.3 V, ground and 5 V down the other. Six are answering to something before your sketch runs: 5 and 6 (display), 8 (blue LED), 9 (BOO button), 20 and 21 (serial)
Board size25 × 20.5 mm, the two rows of holes 17.78 mm apart
Edge connectorsExpansion: 8 pins and 8 sockets a side at 2.54 mm, wired together. Pluggable: 2 × 8 push-in terminals at 3.5 mm. Screw: 2 × 8 screw terminals at 3.5 mm
Base sizeExpansion 39.5 × 32.5 mm, screw terminal 44.5 × 32.5 mm, pluggable terminal 53.1 × 32.5 mm
Tallest partMeasured from the underside of the base: expansion 10.1 mm, screw terminal 10.3 mm, pluggable terminal 14.9 mm
MountingTwo 4.8 mm holes, 16 mm apart, on each base
BatteryJST PH 2.0 two-pin socket for a single 3.7 V lithium cell with a protection circuit; TP4054 linear charger, which takes the cell to 4.2 V; a slide switch between cell and board
Battery monitorAn open solder jumper marked BATTERY MONITOR and IO2 joins two 100 kΩ resistors across the cell, halved, to GPIO 2. It ships open

Seat the board the right way round, every time. Antenna at the power-switch end, USB-C at the battery-connector end. Turned around, it fits just as firmly and the base's battery rail lands on GPIO 3, 4 and 5. Plug the cable in only after the board is seated.

What is here

The ESP32-C3 OLED is a 25 × 20.5 mm board with a 72 × 40 display soldered to it and two of its GPIOs spent on that display before you start. On its own it runs from USB. Seated on a base it also runs from a lithium cell, and brings its sixteen holes out to something a wire can land in.

Four products share this page, because the question anybody holding one asks is the same: which way round, and which hole is which. The handbook has shared chapters for what is true of all of them and a chapter for each base.

Which one

OLED boardExpansion basePluggable terminal baseScrew terminal base
What it isThe boardPins and socketsPush-in terminalsScrew terminals
A wire lands ina 2.54 mm hole2.54 mm pin or socket3.5 mm push-in3.5 mm screw
Battery, charger, switchnoneyesyesyes
Size25 × 20.5 mm39.5 × 32.5 mm53.1 × 32.5 mm44.5 × 32.5 mm
Best fora breadboardjumpers, breadboardswiring that changeswiring that travels

All three bases bring out the same sixteen holes in the same order, so a sketch does not change from one to another. Which base is the one-page version of this decision.

Wiring, in four lines

  1. Seat the board with the antenna at the power-switch end and the USB-C socket at the battery-connector end. Match V5 on the board to 5V on the base.
  2. Plug the USB cable in after the board is seated.
  3. For a battery, plug a protected 3.7 V lithium cell into the JST socket, with the + on the silkscreen beside the positive pin, and move the switch to ON.
  4. In the Arduino IDE choose ESP32C3 Dev Module and set USB CDC On Boot to Enabled.

Where to start

New to the board: what you are holding, then the sixteen pins. Holding a base: which base, then seat the board first, then the chapter for yours.

When it doesn’t work

Which way round does the board go on a base?
Antenna at the power-switch end, USB-C at the battery-connector end. The check that needs no memory: find V5 on the board and 5V on the base and put them at the same end. The board fits turned around just as firmly, and that way the base's 5 V pad meets the pin marked 3, so the battery rail drives three chip pins.
Which base should I buy?
Jumper wires and breadboards: the expansion base, which is also the smallest. Bare wire you change often: the pluggable terminal base, push-in with no screwdriver. Bare wire that has to stay put: the screw terminal base. All three bring out the same sixteen holes and carry the same battery circuit.
Does a sketch need changing between bases?
No. The GPIO numbers belong to the board, and every base brings out the same sixteen holes, so a sketch is the same on all three.
Why does the base's charge LED not light when I plug in USB?
The switch has to be ON, with a battery connected. With the switch OFF the cell is out of the charging circuit, and the charge LED can flicker so fast it looks half-lit. The cell is not charging in that state.
Why is GPIO 2 not free when I use the battery level?
The BATTERY MONITOR jumper connects the divider across the cell to GPIO 2. It ships open so the divider does not draw from the cell; bridge it only if you will read the level, and GPIO 2 is spent from then on.
Why does the board fail to join my Wi-Fi?
The antenna is a ceramic chip a few millimetres long, and at full transmit power the radio overdrives it. The back of every base prints WIFI_POWER_15DBM to 8_5DBM: setting the power down to 8.5 dBm in the sketch is what makes the board stay on a network.
Do I need a driver?
No. The C3 has its own USB peripheral, so the board appears as a serial port with nothing to install. Set USB CDC On Boot to Enabled in the Arduino IDE, or the sketch runs and prints nothing.

The ESP32-C3 OLED handbook

17 articles · about 100 minutes

This page is the reference: what the part is, what it is made of, and the questions people arrive already asking. The handbook is the walk — the same part in the order somebody actually meets it.

The board in your hand

2 articles

What the chip is, and which of the sixteen holes are already answering to something. Everything here is true whichever base the board sits on.

Getting your computer to see it

2 articles

No driver, one port, and one menu row that decides whether the board can talk back. Then the button sequence for the day it will not.

The screen

2 articles

It is already wired, it is already on the bus, and it is 72 pixels wide. Two sketches: one that proves it is there, one that writes on it.

The three bases

3 articles

Pins, push-in terminals or screw terminals: which to pick, which way round the board seats, and the battery, charger and switch that all three carry.

The expansion base

2 articles

Two strips of pins and two of sockets down each edge, for jumper wires and a breadboard.

The pluggable terminal base

2 articles

Push-in terminals: bare wire held without a screwdriver, and released with a press.

The screw terminal base

2 articles

Screw terminals: the wire that has to survive being carried.

Off the bench

2 articles

A battery you can read the level of, and a radio that has to be turned down before the board will stay on a network.

Edit this page — content/modules/c3oled.mdx

Community

Questions about this product

See what other owners have asked, and read their solutions.

This page covers several products. Choose yours to see the right discussions.

Discuss this article

Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.

Browse Modules and blocks on the forum →