Arduino library for interfacing SHT21 temperature and humidity sensor over I2C to Arduino. Simple to use, it enables reading temperature and humidity from the chip. Additionally, it uses checksum to check if data arrived from SHT21 is correctly transmitted.
This repo contains Arduino library for SHT21 sensor. It also includes two examples:
- Demo example: reads temperature and humidity from SHT21 sensors and prints it to the Serial monitor
- Get Serial Number example: prints SHT21 hardcored Serial Number to Serial monitor
Install as any Arduino library. Go to File -> Examples -> eRadionica_SHT21 -> choose your example and use!
You can use it for the Arduino IoT Cloud too, just go to Libraries -> Import -> and upload the library in .zip format without extract.
Always up-to-date download of the library here: https://github.com/SolderedElectronics/SHT21-Arduino-Library/archive/refs/heads/master.zip
This product is open-source. Yay! For any tech questions, contact us at [email protected] If you find an Issue, please open one at GitHub. If you can improve our product, fork us.
e-r.io Team.