EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
28days 02hrs 11min 22sec
Learn More →
SparkFun Bi-Directional Logic Level Converter

SparkFun Bi-Directional Logic Level Converter

MPN: 12009
SparkFun Electronics
BSS138 - Logic-Level Translator Interface Evaluation Board
Active3,887 in stock

Overview

The SparkFun 12009 is a compact breakout board based on the BSS138 N-channel MOSFET, designed to safely interface devices operating at different voltage levels. It features four independent channels capable of bi-directional level shifting between a high-side voltage of up to 5V and a low-side voltage down to 3.3V. This board is specifically engineered to handle the open-drain requirements of I2C while also supporting high-speed SPI and UART communications.

Why Choose This Part

The use of BSS138 MOSFETs with 10k Ohm pull-up resistors allows for true bi-directional translation without a direction control pin. Its four-channel design is optimized for breadboard use, providing enough lines for a full SPI bus or two separate I2C buses in a minimal footprint.

Applications

I2C Bus Interfacing
Connecting 3.3V sensors or peripherals to a 5V microcontroller bus while maintaining the required pull-up architecture.
Mixed-Voltage SPI Communication
Translating MOSI, MISO, SCK, and CS lines between legacy 5V systems and modern 3.3V low-power ICs.
Legacy UART Integration
Bridging 5V TTL serial ports on industrial equipment or older dev boards with 3.3V logic microcontrollers.

Key Specifications

Type Interface
Contents Board(s)
Embedded No
Function Logic-Level Translator
Primary Attributes 4-Channel (Quad)
Utilized IC / Part BSS138

Getting Started

To use the converter, connect your low-voltage source to the LV pin and your high-voltage source to the HV pin, ensuring both share a common ground. Connect your logic signals to the corresponding numbered pins on the LV and HV sides; the bi-directional nature means no software configuration is required for signal direction. For high-speed applications above 2MHz, verify that the 10k Ohm pull-up resistors provide sufficient rise times for your specific bus capacitance.

Also Consider

TXB0104 TITexas Instruments - A dedicated IC-based 4-bit translator with automatic direction sensing, better suited for high-speed push-pull CMOS logic without the static power draw of pull-up resistors.