Sensirion Software
Published © MIT

Two separate I2C buses on Nucleo 64

You have two sensors, having the same I2C address, which you want to connect to your Nucleo board using separate I2C buses for each sensor.

IntermediateProtip1 hour276
Two separate I2C buses on Nucleo 64

Things used in this project

Hardware components

Sensirion SEK-SCD41
Sensirion SEK-SCD41
×2
STM32 Nucleo-64 Board
STMicroelectronics STM32 Nucleo-64 Board
×1
Through Hole Resistor, 8.25 kohm
Through Hole Resistor, 8.25 kohm
×4
Jumper wires (generic)
Jumper wires (generic)
×1
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1

Software apps and online services

Sensirion Arduino I2C SCD4x Driver
Arduino IDE
Arduino IDE

Story

Read more

Schematics

Wiring Diagram

Code

https://github.com/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 Nucleo 64 named "exampleSTM32Nucleo64".

Credits

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

Comments