Skip to main content

Quick Start

This board needs no library and no code of its own. It sits in the signal path between a higher-voltage system and a lower-voltage one, so you keep using the code you already have for your device. The example below joins a 5 V controller and a 3.3 V I2C device.

1. Connect the breakout board​

Solder the included header pins first if you want to use the board on a breadboard. Then power each side from its own system and wire the signals:

Your boardsLogic Level Converter I2C TXS0104 Breakout
5 V controller, 5VVCCH
5 V controller, GNDGND (right header)
5 V controller, SDAB1
5 V controller, SCLB2
3.3 V device, 3V3VCCL
3.3 V device, GNDGND (left header)
3.3 V device, SDAA1
3.3 V device, SCLA2

Each A pin is paired with the B pin of the same number, so any two channels work for SDA and SCL. Leave OE unconnected: a 10 kΩ resistor on the board holds it high, which keeps the outputs on.

Top of the board: the left header reads GND, VCCL, A1, A2, A3, A4, the right header reads GND, VCCH, B1, B2, B3, B4, with the TXS0104 chip in the middle, the OE pin below it and two mounting holes at the bottom
The low-voltage side (VCCL, A1 to A4) is on the left, the high-voltage side (VCCH, B1 to B4) on the right

VCCL must never be higher than VCCH. Put the lower supply (1.65 V to 3.6 V) on VCCL and the higher one (2.3 V to 5 V) on VCCH. Equal supplies, such as 3.3 V on both sides, are fine.

2. Check the result​

Run the sketch or program you normally use for your device. The controller now talks to it through the board as if the two were wired together directly. The board adds no I2C device of its own, so an I2C scan lists only your device, at its usual address.

3. If it does not work​

Continue with Troubleshooting and retry after each change.