Idea
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
- Development Boards
- Semiconductors
- PassivesResistor 10 kΩ × 4
- Sensors
- Prototyping
How to build it
- Draw the shifter for one line
- Build it twice for SDA and SCL
- Power each side from its own rail
- Scan the bus
- Read the sensor
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.
