Half of all “my sensor doesn’t work” problems are I2C problems. These guides cover bus wiring and pull-ups, address scanning and conflicts, 3.3V↔5V level shifting, and running multiple identical devices with a multiplexer — with working examples on Arduino, ESP32, and Pi. The exact converters and expanders used in the guides are below.
Shop the parts used in these tutorials
Pre-Soldered I2C Logic Level Converter 3.3V-5V Bi-Directional for Arduino, Raspberry Pi, ESP32 & Pico
$6.25
TCA9548A Pre-Soldered 1-to-8 I2C 8-Channel Multiplexer Module
$9.99
ADS1115 Pre-Soldered ADC Analog to Digital Converter Module for Arduino & Raspberry Pi
$9.75
BH1750 Pre-Soldered Digital Light Sensor for Arduino & Raspberry Pi
$6.98ESP32 BNO085: Wireless Pan-Tilt Head Tracking
Build an ESP32 BNO085 head tracker that streams yaw and pitch over ESP-NOW to control pan-tilt servos smoothly, with recentering and failsafe...
ESP32-C3 HX711: Portable Scale with Fuel Gauge
Build an ESP32-C3 portable scale using an HX711 load cell kit plus a MAX17048 fuel gauge for accurate battery percentage on an...
ESP32-C3 SHT45: Ultra Low Power ESP-NOW Sensor
Build an ESP32-C3 SHT45 sensor with timed deep sleep and an ESP-NOW display, then plan a TPL5110 extension using verified power-circuit documentation.
ESP32-C3 TSL2591: Measure Sky Brightness and Dew Alert
Build an ESP32-C3 TSL2591 night sky quality meter with an SHT45 dew alert and SSD1306 OLED to estimate mag/arcsec and protect optics...
Arduino Nano SHT45: Decode I2C in PulseView
Build an Arduino Nano and SHT45 I2C test setup, capture it with a USB logic analyzer, and decode bytes and CRCs in...
Arduino Nano AS5600: PID DC Motor Speed Control
Build Arduino Nano closed-loop DC motor speed control using a DRV8871 driver and AS5600 encoder, with silent 20 kHz PWM and stable...
Arduino Nano AS5600: Multi-Turn Positional Servo
Build an Arduino Nano AS5600 closed-loop FS90R servo that holds angles, follows a slider, and executes multi-turn moves for repeatable positioning with...
Arduino Nano MAX9814: Double-Clap Relay Switch
Build an Arduino Nano clap switch with a MAX9814 mic that toggles a relay on a double clap, using adaptive thresholds and...
Arduino Nano MPU6050: OLED Seismogram STA/LTA Alarm
Build an Arduino Nano MPU6050 seismometer with a live SSD1306 OLED seismogram, STA/LTA alarm buzzer, and PC CSV logger using ShillehTek parts.
Arduino Nano MPU6050: MAX7219 LED hourglass timer
Build an Arduino Nano hourglass timer using MAX7219 LED matrices and an MPU6050 so falling-sand grains reverse when flipped, plus tick and...
ESP32 SSD1306 OLED: Track ISS Passes with Alerts
Build an ESP32 SSD1306 OLED ISS pass tracker with countdown, rise and set directions, peak elevation, and a buzzer LED visibility alert...
ESP32-C3 OLED MPU6050: Build a reactive desk pet
Build an ESP32-C3 desk pet with SSD1306 OLED RoboEyes, MPU6050 tilt and shake reactions, and TTP223 touch input for playful moods by...