cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting multiple sensors to the STM32 nucleo board

KBana.1
Associate

Hello,

I want to connect multiple voltage sensors to the nucleo board. Lets say 4 voltage sensors of same kind with same address. So, I thought I could connect all the 4 sensors with the nucleo board with the help of I2C communication protocol.

Is this possible?

If possible I had a doubt that all the 4 voltage sensors will be having same addresses. But I want to call all the fours sensors at a time. How can I do this.

Please any help.

2 REPLIES 2
Uwe Bonnes
Principal III

IOf you want to access 4 I2C devices with the same address and have the result at the same time, you need a device with 4 I2C busses. If you can cope with some delay, you can use a I2C-Bus Switch like PCA9543, eventual cascaded to allow to provide different addresses. You you use a part with selectable addresses (2 pins) to differentiate.

What part number sensor and Nucleo? Let's try and narrow this down a tad..​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..