Topics/Fundamentals/ESP32 Expansion Bases: 2.54 mm, PinPulse, Pluggable Terminal and Screw Terminal
DIGITALI2CSPIbeginner

ESP32 Expansion Bases: 2.54 mm, PinPulse, Pluggable Terminal and Screw Terminal

Four bases for the 38-pin Lonely Binary ESP32. Which pins each one brings out, which way round the board goes, the fifteen-way display port they all share, and the twenty-four LEDs on the PinPulse.

ESP32 PinPulse Base, 24 GPIO LEDs
3-Pack ESP32 Gold Edition with 3 Expansion Bases

Specifications

In the rangeFour bases for one board: expansion (2.54 mm pins and sockets), PinPulse (the same, with 24 LEDs), pluggable terminal (push-in) and screw terminal
FitsThe 38-pin Lonely Binary ESP32 — 19 pins a side, 25.4 mm between the rows. A 30-pin or 36-pin board from elsewhere does not seat
GPIOs at the edge24 on the expansion and PinPulse bases, 20 on the pluggable terminal base, 19 on the screw terminal base
Edge rowsExpansion and PinPulse: 2 rows of 15 on each side at 2.54 mm, one of pins and one of sockets, so either end of a jumper fits
TerminalsPluggable and screw bases: 2 blocks of 12 on each board at 3.5 mm, push-in on one and screw on the other
Display connector15-way FPC at 1.0 mm pitch, on all four bases: 13 GPIOs plus 3V3 and GND, contacts facing down, pin table printed on the back
Power at the edge3V3 and GND on both sides of every base. 5V on the expansion, PinPulse and screw bases; the pluggable terminal base has none
LEDsPinPulse only: 24, one per GPIO, driven from the 5 V rail by 4 × SN74HC04 inverters through 5.1 kΩ, so a lit pin is loaded by a CMOS input and nothing else
Never brought outGPIO 1 and 3, the USB serial link, and GPIO 6 to 11, the module's flash bus — on all four bases
Mounting4 corner holes on every base, sized to take major brand construction bricks
Size48 × 56 mm for the expansion base, 60 × 56 mm for PinPulse, 64 × 56 mm for the two terminal bases, measured across the connectors

What a base is

An ESP32 arrives with thirty-eight pins soldered on and nowhere to put them. A base is the board it drops into: two nineteen-way sockets in the middle, every usable pin brought back out at the edges, four mounting holes, and a fifteen-way ribbon socket for a display.

Four of them share this page, because the question anybody holding one asks is the same — which way round, and where did my pin go — and the second half of that is a comparison.

The four ESP32 bases side by side and to scale, seen from above: the expansion base with two connector strips down each edge, the PinPulse base with four SOIC-14 chips down the middle and a column of LEDs outside each edge, the pluggable terminal base with a white twelve-way push-in block each side, and the screw terminal base with a green twelve-way screw block each side. All four have a white fifteen-way ribbon socket at the top.
To scale. Left to right: expansion, PinPulse, pluggable terminal, screw terminal. The board that sits on all four is the same one.

Which one

ExpansionPinPulsePluggableScrew
A wire lands inpins and socketspins and socketsa push-in terminala screw terminal
GPIOs at the edge24242019
5 V at the edgeyesyesnoleft block
An LED per GPIOyes
Display connectoryesyesyesyes
Best forjumpers, breadboardsdebugging, teachingwiring that changeswiring that travels

The two terminal bases are the ones to check against your sketch. They drop GPIO 36 and 39 — input-only pins — and GPIO 0 and 2, which the chip reads while it boots; the screw base drops GPIO 12 as well, and spends the terminal on 5 V.

Wiring, in four lines

  1. Seat the ESP32 with its USB-C socket over the line reading ESP32'S USB IS ORIENTED THIS WAY. Press straight down, a thumb at each end.
  2. Plug the USB cable in after the board is seated, never before.
  3. Take 3.3 volts and a ground from the nearest edge row or terminal; both sides of every base have their own.
  4. For a display, lift the flap on the fifteen-way socket, slide the ribbon in with its contacts facing the board, and press the flap down.

The boards

The top of the ESP32 PinPulse base: a black board with four SOIC-14 chips down the middle, a column of small LEDs and resistors outside each edge connector, pin names GND, 3V3, 36, 39, 34, 35, 32, 33, 25, 26, 27, 14, 12, 13 and 5V down the left and GND, 3V3, 23, 22, 21, 19, 18, 5, 17, 16, 4, 0, 2, 15 and 5V down the right, and a fifteen-way ribbon socket at the top.
The PinPulse base. Four inverter chips drive twenty-four LEDs from the 5 V rail, so the lights cost your signals a microamp.
The ESP32 screw terminal base at an angle: a black board with four large corner mounting holes, two tall sockets down the middle for the ESP32, a green twelve-way screw terminal block along each long edge with the pin names printed on the PCB beside them, and a white fifteen-way ribbon socket at the far end.
The screw terminal base. Note that its right-hand block is printed the other way up from its left — read the label rather than counting down from a corner.

Where to start

The handbook below starts with the one mistake that ends a session — the board going in backwards — and then takes each of the four boards in turn. If you already know which one you are holding, jump straight to its chapter.

When it doesn’t work

Which way round does the ESP32 go?
USB-C socket over the line printed across the top face of the base, which reads ESP32'S USB IS ORIENTED THIS WAY. The board fits mechanically both ways round, and the wrong way puts its 5 V pin into the socket wired to ground — a short across the USB supply — while the base's 3.3 V rail lands on GPIO 6, a flash pin. Seat the board first, plug the cable in second.
Which base should I buy?
Jumper wires and breadboards: the expansion base. Debugging, or teaching somebody what a pin is: the PinPulse, which is the expansion base with an LED on every GPIO. Bare wire you will rewire often: the pluggable terminal base. Bare wire that has to survive being carried: the screw terminal base. The two terminal bases bring out fewer pins — 20 and 19 against 24 — so check your sketch's pin list first.
Why do the terminal bases have fewer pins?
Twelve terminals a side is twenty-four terminals, and each block spends two on 3.3 volts and a ground. That leaves twenty places for twenty-four GPIOs. The four both terminal bases drop are GPIO 36 and 39, which are input-only, and GPIO 0 and 2, which are strapping pins the chip reads while it boots. The screw terminal base drops GPIO 12 as well and spends that terminal on a 5 V output.
Do the LEDs on the PinPulse base interfere with I²C or SPI?
No, and that is what the four chips are for. Each GPIO drives the input of an SN74HC04 inverter — a CMOS gate that draws at most a microamp — and the LED hangs off the inverter's output, taking its current from the 5 V rail. Your signal is not loaded, so a bus still works with the lights on.
An LED flickers when I wave my hand near it.
That pin is floating, and the base says so in silkscreen on its back. A GPIO your sketch has not configured is undriven, not LOW, and the inverter input picks up whatever is in the air. Call pinMode(n, OUTPUT) and write it HIGH or LOW.
What is the fifteen-way socket for?
A display on a flat-flex ribbon instead of eight jumper wires. It carries 13 GPIOs plus 3V3 and GND, and the whole pin table is printed on the back of every base. The contacts on the ribbon must face down, towards the board — upside down nothing connects, and nothing is damaged. Which pin carries chip select or backlight is decided by the display module, not by the base.
There is nothing on the 5V row.
That row is the dev board's 5V pin, which is USB power one Schottky diode down. With no USB cable there is nothing on it, including when you are powering the board through its 3V3 pin. The pluggable terminal base has no 5 V terminal at all.
Can I still use a breadboard?
Yes — jumper from the base's edge to the breadboard. What you no longer have to do is push the ESP32 itself into one, which is the arrangement that leaves a single spare column of holes on one side and none on the other.

The ESP32 bases handbook

10 articles · about 45 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.

Before you plug it in

2 articles

A base is a socket, four mounting holes and a display port. The board drops into it one way round, and the other way round is the end of the board.

The four bases

4 articles

The same socket and the same display port on all four. What differs is what a wire lands in at the edge — and, on two of them, how many pins there are to land on.

Pins and power

2 articles

Twenty-four of the ESP32's thirty-two GPIOs reach the edge, and two of the bases stop short of even that. Here is which ones, and where the 3.3 and 5 volts come from.

The display port, and a first build

2 articles

The fifteen-way ribbon socket on the back of every base, and a sketch that proves the board, the base and your wiring are all doing what you think.

Edit this page — content/modules/esp32-base.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