Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
4-channel I2C-safe Bi-directional Logic Level Converter - Ten Pack

Choosing a Logic Level Converter: Why an I2C Shifter Is Not a Universal Adapter

Connecting a 3.3 V microcontroller to a 5 V peripheral involves more than reducing one voltage. The interface may use open-drain signals, push-pull outputs or lines that change direction. A converter that works well for one arrangement can be unreliable in another.

The logic level converter collection offers convenient boards for experiments. Choose among them by checking the signals and their timing, rather than assuming that the word bidirectional means suitable for every digital connection.

Check whether translation is required in each direction

Start with the receiving device's permitted input voltage and logic thresholds. A 5 V output may exceed a 3.3 V device's allowed input, while a 3.3 V output may or may not meet a 5 V receiver's guaranteed high-level threshold. These are separate checks.

Record the output-high and output-low specifications of the driver and the input-high and input-low requirements of the receiver under the intended conditions. Do not use a device's absolute maximum rating as its normal operating target. Also check behaviour when either device is unpowered.

A circuit that appears to work on a bench can still lack guaranteed margin across temperature, supply variation and device tolerances. The goal is a compatible interface, not merely one successful transfer.

Identify open-drain and push-pull signals

An open-drain output actively pulls a line low and otherwise releases it, allowing a pull-up resistor to establish the high level. A push-pull output actively drives both high and low. The translator must support the actual arrangement and any changes in direction.

Questions to ask for common interfaces
Interface Useful selection questions
I2C Are both lines translated appropriately, including clock stretching and all pull-ups?
UART Are the transmit and receive directions handled independently at the required baud rate?
SPI Do clock, data and select paths meet timing and direction requirements?
GPIO Is the line an input, output or genuinely bidirectional, and what happens at startup?

Texas Instruments' voltage translation resources distinguish translator families for different interfaces. Use the selected device's datasheet to confirm the details; a broad category description is not a timing specification.

Understand the common BSS138 board

The four-channel I2C-safe level converter pack is described as using BSS138 MOSFETs and 10 kΩ pull-ups. This is a familiar low-cost arrangement for open-drain bus translation.

NXP application note AN10441, hosted by Pololu, explains the underlying circuit. Each side is pulled to its own logic rail when released; a low asserted on either side is transferred through the transistor arrangement. The lower-voltage reference and higher-voltage reference must be connected as the design requires.

This board is not a DC power converter. Its low- and high-voltage reference connections do not create regulated supplies for the two systems. It also provides no galvanic isolation: the circuit requires the appropriate common ground reference.

Account for every pull-up resistor

The rising edge on a resistor-pulled line depends on resistance and capacitance. Long wiring and additional devices can slow it. Several boards with their own pull-ups can instead reduce the effective resistance and increase the current required to hold the line low.

Texas Instruments' I2C pull-up calculation guide explains both constraints. Count the resistors on the host, converter and peripherals before deciding whether to add or remove any. Lower resistance is not an unlimited cure for slow edges.

For an original bench comparison, test a short, two-device connection at a conservative supported clock rate. Then add the intended cable and other devices while observing communication and, where equipment is available, the waveform. Keep the voltage rails and software unchanged so the effect of extra loading is visible.

Do not assume SPI or UART performance

A simple MOSFET board may pass some unidirectional digital signals in a particular setup, but that does not establish compatibility at every speed or loading condition. Pull-up-dependent edges can be unsuitable for a fast clock or a tightly timed data path.

For push-pull interfaces, consider a translator designed for the required direction, voltage range and load. Check propagation delay, output drive, supported data rate and enable behaviour. A direction-controlled device can be straightforward when the signal direction is known.

SPI deserves particular care because different lines run in different directions and the clock-to-data timing relationship matters. Test the maximum intended clock speed and actual cable arrangement. A successful low-speed device-identification read does not prove that long transfers at the final rate will work.

Plan power-up and disconnected states

Determine what happens when the host starts before the peripheral, or one side loses power. Some translators support partial power-down conditions explicitly; others need particular sequencing or enable control. Follow the exact component requirements instead of assuming all bidirectional boards isolate an unpowered device.

Keep unused channels in their documented state and avoid leaving essential control inputs undefined. For a converter board with labelled LV and HV sides, verify those labels against the circuit before attaching signal wires. Reversing reference connections is not a legitimate way to reverse data direction.

Verify before relying on the interface

  1. Record both logic rails and each signal's driver type and direction.
  2. Check the translator's operating limits and pin arrangement.
  3. Inspect pull-ups and confirm the intended ground reference.
  4. Test with short wiring and one peripheral.
  5. Exercise both data directions and the final communication rate.
  6. Repeat power cycles and test the documented unpowered-side conditions.

Keep errors visible during testing rather than silently retrying forever. A reliable level-conversion choice preserves valid voltage levels and adequate timing margin under the actual operating conditions. That is a more useful result than a board that merely changes the height of a pulse.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat