Forum >Read multiple i2c sensor
Read multiple i2c sensor

Hello,
I have 4 sensors to be exact, H2S, NH3, SO2, NO2.
All 4 are connected to an arduino through an i2c bus, and they have different addresses, how do I read all 4 at the same time?
2023-05-10 08:43:39
Yeez_B
We assumed you are using the SEN0467(H2S), SEN0469(NH3),SEN0470(SO2) and SEN0471(NO2) at the same time.
And the SEN0467 at 0x74, SEN0469 at 0x75 , SEN0470 at 0X76, SEN0471 at 0X77.
Here is the sample code for you to reference:
https://github.com/YeezB/Multiple_IIC_Gas_Sensor
I upload the code onto the Github, because there is a character limit for Forum replies.

gurguvalentin
wrote:
2023-05-13 05:59:52 1 Replies
Thank you very much!