Categories
Uncategorized

Let’s Code ESP8266: The SI7021 Temperature and Humidity Sensor

The SiliconLabs SI7021 is a very popular sensor for measuring temperature and humidity. It uses the I2C bus and is easily accessed from the ESP9266 or ESP32. Some breakout boards use different variants of the chip, namely the measurement Specialties HTU21D or even the Sensirion SHT21. These chips are more or less compatible to one another, but some don’t implement all the commands. However temperature and humidity can be used on all those chips. Today I’ll walk you through a tutorial of accessing the SI7021 via the Arduino Wire library.

Leave a Reply

Your email address will not be published. Required fields are marked *