ESP32 bases/The four bases/06. The screw terminal base
The four bases · 06 of 10

The screw terminal base

Two twelve-way screw blocks, for wiring that has to survive being carried. Nineteen GPIOs, because the twelfth way on the left block is a 5 volt output instead of GPIO 12 — the only 5 volt terminal on any of the four bases.

Wiring that stays put

Same two blocks as the pluggable base, same 3.5 mm spacing, same twelve ways a side — with a screw over each one instead of a spring. A screw terminal is what you want when the thing you are building is going to be picked up, driven somewhere, or left alone for a year.

The top of the ESP32 screw terminal base: a black board with a green twelve-way screw terminal block down each side, each way a slotted screw above a square wire entry, labelled 3V3, GND, 34, 35, 32, 33, 25, 26, 27, 14, 13 and 5V on the left and 15, 4, 16, 17, 5, 18, 19, 21, 22, 23, GND and 3V3 on the right, with a fifteen-way ribbon socket at the top.
Twelve ways a side. Note the bottom of the left block: 5V, where the pluggable base has GPIO 12.

Strip about 7 mm, back the screw out until you can see the clamp plate lift, put the bare copper under it, and tighten until the wire will not come out by hand. The commonest failure is a screw tightened onto insulation: it feels tight, it tests dead, and it looks perfect.

The twelfth way, and a block printed upside down

The two terminal bases differ by exactly two positions on the left block — and on the right, this board prints the same twelve signals the other way up.

Twelve ways, spent two different ways
2 of 12 differ
Which block
Ways
12
Pitch
3.5 mm
Positions that differ
2
The last two ways are where the two boards part. The pluggable base ends GPIO 12, GPIO 13. The screw base ends GPIO 13, 5V — so it is the only base that will feed a 5 V sensor straight out of a terminal, and the only one with no way to reach GPIO 12. GPIO 12 is a strapping pin the chip reads while it boots, so losing it costs less than it sounds.

Look at the picture above again: 3V3 and GND are at the top of the left block and at the bottom of the right one. On the pluggable base they are at the top of both. It is the one thing about this board worth checking twice, and the fix is to read the label rather than counting terminals down from a corner.

The left block is the other difference. The pluggable base ends GPIO 12, GPIO 13. This one ends GPIO 13, 5V. So this is the only base of the four that will feed a 5 volt sensor straight out of a terminal, and the only one with no way to reach GPIO 12.

That is a good trade for most builds. GPIO 12 is a strapping pin — the ESP32 reads it while it boots, and a load on it can change what the chip decides to do — so it is the GPIO with the most conditions attached, and 5 volts at a terminal is the thing people actually ask for.

What is on the twelve

Left block, top to bottom: 3V3, GND, then GPIO 34, 35, 32, 33, 25, 26, 27, 14, 13, then 5V. Right block, top to bottom: GPIO 15, 4, 16, 17, 5, 18, 19, 21, 22, 23, then GND and 3V3.

Nineteen GPIOs in total, which is the fewest of the four bases. Which nineteen is the next page.

When it does not work

The wire pulls out even though the screw is tight

The clamp has closed on insulation rather than copper, or beside the wire rather than on it. Back the screw right out, look into the terminal to see the clamp plate lift, then insert about 7 mm of bare wire so the plate lands on copper. Tighten until firm, then tug.

There is no terminal for GPIO 12

The left block spends its last way on 5V instead. GPIO 12 is a strapping pin the chip reads at boot, so it is the one of the twenty-four with the most conditions attached; if your sketch needs it, the expansion or PinPulse base has it. The pluggable terminal base has GPIO 12 and no 5 V.

GPIO 36, 39, 0 and 2 are missing too

The same twelve-way arithmetic as the pluggable base. GPIO 36 and 39 are input-only and can never drive anything, and GPIO 0 and 2 are strapping pins. That leaves nineteen GPIOs across the two blocks.

I moved my wiring over from the pluggable base and nothing works

Check the right-hand block. On this board it is printed the other way up from its own left block — 15 at the top and 3V3 at the bottom — so a wire copied across by position lands eleven ways out. The signals and their order along the connector are the same; only the labelling is reversed. Read the label, not the position.

The screws feel like they will strip

They are small and they do not need much. Tighten until the wire will not pull out by hand and stop there. If a terminal has been over-tightened onto insulation and the thread is damaged, move that signal to a spare way rather than fighting it.

Where this goes next

All thirty-eight pins, and which of them each base can reach.

The pins that come out

Edit this page — content/books/esp32-base/the-screw-terminal-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