Here an Arduino code I have made to be able to read the data from three SHT21 sensors using the same arduino device. This code is based on “Ports” library from JeeLabs.

Made with

Since all SHT21 have the same i2c address, each sensor are connected on a different channel.

To get this to work, extract the JeeLib library in your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE and upload the following code.

Finally the three sensors humidity and temperature data are send to the serial terminal!