{"id":596,"date":"2020-08-30T22:13:04","date_gmt":"2020-08-30T22:13:04","guid":{"rendered":"https:\/\/www.root42.de\/blog\/?p=596"},"modified":"2020-08-30T22:13:04","modified_gmt":"2020-08-30T22:13:04","slug":"lets-code-esp8266-the-si7021-temperature-and-humidity-sensor","status":"publish","type":"post","link":"https:\/\/www.root42.de\/blog\/?p=596","title":{"rendered":"Let&#8217;s Code ESP8266: The SI7021 Temperature and Humidity Sensor"},"content":{"rendered":"\n<p>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\u2019t implement all the commands. However temperature and humidity can be used on all those chips. Today I\u2019ll walk you through a tutorial of accessing the SI7021 via the Arduino Wire library.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Let&#039;s Code ESP8266: The SI7021 Temperature and Humidity Sensor\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/vAnq3vQT7Tk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/www.root42.de\/blog\/?p=596\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Let&#8217;s Code ESP8266: The SI7021 Temperature and Humidity Sensor&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[158,147],"_links":{"self":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/596"}],"collection":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=596"}],"version-history":[{"count":1,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/596\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/596\/revisions\/597"}],"wp:attachment":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}