Bi-Directional Logic Level Converter Hookup Guide

Contributors: Jimb0

Pages

Introduction

Do you have a 3.3V I2C or SPI sensor that might go up in smoke if connected to a 5V Arduino? Or a 5V device that needs a workaround to be compatible with your 3.3V Raspberry Pi, Arduino Due or pcDuino?

To get over this obstacle you need a device that can shift 3.3V up to 5V or 5V down to 3.3V. This is called logic level shifting. Level shifting is a dilemma so common we designed a simple PCB assembly to make interfacing devices a little easier: the Bi-Directional Logic Level Converter.

Iso of Bi-Directional Logic Level Shifter

Though they’re share the same shape and size, this bi-directional logic level converter shouldn’t be confused with the more “uni-directional” version. This converter can pass data from high to low and/or low to high on all channels. It’s perfect for level-shifting between devices that are sharing a data wire, like I2C or a one-wire interface.

Covered In This Tutorial

In this tutorial we’ll take an in-depth look at the Bi-Directional Logic Level Converter. We’ll examine the schematic and board layout – explaining what each pin on the board does. At the end we’ll go over some hookup examples to show how you might hook the board up for various interfaces.

Suggested Reading


Want more information about SparkFun's classes? Interested in getting involved with teaching electronics? Just want to talk? Sign up for our newsletter, or contact our education department.

SparkFun is a company built around one core idea – sharing ingenuity. We think everyone should have the hardware and resources to learn and play with cool electronic gadgetry.

Share, give, learn, SparkFun.

Do you regularly instruct classes and workshops in a formal or informal learning environment? SparkFun offers Educator Discounts to people teaching and sharing electronics.

Find out more.