Multiple AM2302 possible?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- approachct
- Posts: 3
- Joined: Sat Mar 03, 2018 11:29 am
Multiple AM2302 possible?
Can I use multiple (probably 4) AM2302 sensors on the same Metro? Any tricks to do that or just plug them in and adjust the software as necessary (the easy part) to read the additional sensor locations?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Multiple AM2302 possible?
You'll need a separate data pin for each sensor, but you shouldn't have any trouble with that. Just create one DHT object for each sensor, and tell it which GPIO pin to use.
Please be positive and constructive with your questions and comments.