Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Sensirion Software
Created March 20, 2025

Two separate I2C buses on ESP32

You have two sensors, having the same I2C address, which you want to connect to your ESP32 by using a separate I2C bus for each sensor.

8
Two separate I2C buses on ESP32

Things used in this project

Hardware components

Sensirion SEK-SCD41
×2
Espressif ESP32-DEVKITC-32E
×1

Software apps and online services

Arduino IDE
Arduino IDE
Sensirion Arduino I2C SCD4x Driver

Story

Read more

Schematics

Wiring 2 SCD4x Sensors to ESP32 Board

Fritzing File

Wiring 2 SCD4x Sensors to ESP32 Board

Code

Sensirion Arduino I2C Different Buses Example

Full example of how to set up multiple I2C buses as shown in this article. Look out for the sketch specific to ESP32 named "exampleESP32DevKitCV4"

Credits

Sensirion Software
7 projects • 6 followers
We are Sensirion's team of software engineers taking care of you developers and customers. We are looking forward to hear from you.
Contact

Comments

Please log in or sign up to comment.