eshk12
Posts: 15
Joined: Thu Nov 28, 2019 10:19 am

Multiple i2c usages

Wed Mar 04, 2020 10:21 pm

Hey guys,
For home growing plants project I would like to monitor temperature and humidity, So I’ve decided to use SHT31 sensor for the job.

I would like to attach 10 or more sensors to the raspberry.
Is this possible for this amount?
I’ve seen that I’ll need to do some tricks and change i2c addresses.

I’ve seen this hat, but it’s seem it’s take 2 i2c inputs and make them into “4”.

https://www.smart-prototyping.com/Zio-Q ... spberry-Pi

Thanks for the help!

PhatFil
Posts: 1665
Joined: Thu Apr 13, 2017 3:55 pm
Location: Oxford UK

Re: Multiple i2c usages

Thu Mar 05, 2020 12:39 am

may i suggest you check out this great little project that uses off the shelf plant pot sensors that collect data and advertise it via bluetooth ble and can consequently run for ages off a small coin cell..

https://github.com/ThomDietrich/miflora-mqtt-daemon
the circa $10 per sensor cost isnt that expensive at all when you consider NO wiring ;)

I use them as room climate monitors they sit unobtrusively in a plant pot ;)

And if you use node red there is a contrib node that only requires the device mac addy to query the sensor for data

while i2c devices can share the bus when using different addresses in my limited experience devices that offer this feature have a set of 2x or 3x optional addresses Not 10x,, to achieve that many concurrent sensor connections i think you will need to look at slave/daughter i2c modules to handle 2x or 3x sensors each

Return to “Beginners”