looking at the HDC2021 datasheet the ADDR pin enables you to select between two I2C addresses
therefore you can connect a maximum of two HDC2021 device to an I2C channel
you can extend this by using an I2C multiplexor such as the Adafruit TCA9548A
do not think you can use the TMUX1108
you need a I2C compatible mux such as the TCA9548, see the datasheet
The TCA9548A device has eight bidirectional
translating switches that can be controlled through
the I2C bus.
hello i need to connect 16 sensors and read the temperature and for the same.and addressees of 16 sensors are same, and using I2C protocol how can i do this ?,
please suggest me the best option and configuration code for the same .
A common way is to use the address pin as a chip select pin.
Then you can set the chip you talk to to one (active) address, and all the others to the other (unused) address.
A 74HC4067 breakout board could be used for that.
Note that this is a 3.3volt chip, and the Uno has 5volt I2C logic.
Not sure why 16 humidity sensors.
If you are thinking of having sensors in different rooms, then forget about it.
With 16 sensors you can only have up to about 20cm of wire on each sensor before running into problems.
Leo..