The boards in your box · 04 of 11

Power before signals

LV, HV and GND go in before any signal wire, and each of the three fails in its own way when it is missing. On the TXB and TXS boards there is a fourth pin, and the right thing to do with it is nothing.

Three wires, in this order

  1. LV (VA on the TXB and TXS) to the 3.3 V board's 3V3 pin.
  2. HV (VB) to the 5 V part's supply.
  3. GND to the ground of both boards.

Only then the signal wires. Try leaving each power wire out:

Three power wires, and what each one missing does
all three wired
Wiring
LV
3.3 V
HV
5 V
GND
shared
Three wires, then signals. LV from the 3.3 V board’s 3V3 pin, HV from the 5 V part’s supply, and GND joining both. The converter needs to know both voltages to translate between them, and both boards need the same idea of zero.

No LV: the converter has no idea what 3.3 V is, and nothing useful crosses. No HV: there is nothing to lift a HIGH up to. No GND: the worst, because it half works. Voltage is always measured against ground, and two boards with separate grounds disagree about where zero is.

LV must be the lower one

The A side is the low side on every board. Swap LV and HV and the A pins — the ones connected to your 3.3 V board — sit at 5 V, which is exactly what the converter was meant to prevent.

The MOSFET boards

The 4-channel converter from above: four transistors in a column with a resistor either side of each, and A4, A3, GND, LV, A2, A1 printed down the left edge with B4, B3, GND, HV, B2, B1 down the right.
LV, HV and the two GND pins sit in the middle of the rows, with channels either side. The two GND pins are connected to each other on the board.

GND appears on both sides and is one connection. So the converter also joins the grounds of your two boards, as long as both are wired to it.

The TXB and TXS boards

These have one GND pin, bottom right on the B side. The pin opposite it, bottom left, is OE: an on/off switch for all eight channels. It is easy to wire as a second ground, and that switches the whole chip off.

The back of the TXB0108 board: a gold band reading lonely binary, the words DISABLE: OE->GND beneath it, TXB0108 8-CHANNEL LOGIC LEVEL CONVERTER in the middle, and SPI PUSH PULL APPLICATION along the bottom.
The back of the board says it outright: OE to GND means disabled.
OE: the pin that looks like a second GND and is not
8 channels on
What is on OE
OE voltage
3.3 V
Channels passing
8
Leave it alone and it is on. The board pulls OE up to VA through a 10 kΩ resistor, so an unconnected OE means all eight channels work. Almost every project wires nothing here.

The board already connects OE to VA through a 10 kΩ resistor, so an unconnected OE means on. Leave it alone unless you want a GPIO to switch the converter on and off.

When it does not work

Everything is wired and nothing crosses

Measure before you rewire. Black probe on GND, red on LV: it should read 3.3 V. Red on HV: 5 V. A zero means that wire is not really connected — a breadboard hole that missed, or a jumper in the wrong row. Check it with a meter walks through all six readings.

It works until I unplug the USB from one of the two boards

Both sides need their supply, and both boards need a shared ground. If each board was powered from its own USB cable, the GND wire through the converter is the only thing joining them — check that it is really there, not just two boards that happen to share a computer.

I wired OE to GND by mistake

Nothing is damaged. OE low is an ordinary off state, not a fault. Take the wire off and the board's own pull-up resistor switches the chip back on.

Where do I get 5 V on an ESP32 board?

Most development boards have a pin labelled 5V or VIN that carries the USB's 5 V when the board is powered over USB. Check your board's pinout to be sure. The 3V3 pin is the one for LV.

Where this goes next

What is inside each channel of the MOSFET boards, and the trick that makes it work in both directions.

One transistor, two resistors

Edit this page — content/books/llc/power-before-signals.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