Projects / Ideas / Two-voltage I2C level shifter

Two-voltage I2C level shifter

IntermediateCommunicationIdeaReviewed
In short

How do you build a two-voltage I2C level shifter?

Build the classic MOSFET level shifter so a 5 V board can talk to a 3.3 V sensor over I2C without damage. You need Arduino Nano, BSS138 N-channel MOSFET × 2, Resistor 10 kΩ × 4, BME280 Environmental Sensor and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 150 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Join 3.3 V and 5 V I2C safely.

Parts list

How to build it

  1. Draw the shifter for one line
  2. Build it twice for SDA and SCL
  3. Power each side from its own rail
  4. Scan the bus
  5. Read the sensor

Related projects

Common questions

What parts do I need for the two-voltage I2C level shifter?

Arduino Nano, BSS138 N-channel MOSFET × 2, Resistor 10 kΩ × 4, BME280 Environmental Sensor and Breadboard 830 Tie Points.

How long does the two-voltage I2C level shifter take to build?

About 150 minutes for a intermediate maker.