Closed PhysicsUofRAUI closed 5 years ago
It seems that the sensor has to be connected to specific input pins, so I do not think it will be possible.
Here is a thread I started on adafruit https://forums.adafruit.com/viewtopic.php?f=8&t=141864
here is a link to information about an i2c multiplexer https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/overview
https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/featured_products
So I think that using multiple sensors is doable after all
It has been decided that the DHT 22 Sensor(https://learn.adafruit.com/dht/overview) will be used as the sensor. This is mostly because it is cheap, measures both humidity and temperature, and a non-contact method is not needed.
The current code just retrieves sensors from a sensor, but no particular one. This is problematic since we have three sensors that each Arduino is responsible for.
Because of this, we need some way to determine which sensor we should be collecting information from.
The following is a link to the library currently being used (https://github.com/adafruit/Adafruit-MLX90614-Library)