Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1009 Bytes

File metadata and controls

30 lines (19 loc) · 1009 Bytes

Homekit Environmental Sensor

HomeSpan Powered, Homekit Compatible Temperature and Humidity Sensor for ESP32 with the Arduino framework.

With thanks to the HomeSpan project.

This is an implementation of HomeSpan TempSensor I2C modified for HTU21D i2c sensor. (!! Shamelessly plagiarised and only slightly modified from: https://github.com/HomeSpan/TempSensorI2C)

Wrangling of the sensor thanks to SparkFun

Overview:

Based on a ESP32 DoItV2 Development board. HTU21D Humidity and Temperature sensor - i2c 2 10k resistors.

Connections:

GPIO Connection
2 Onboard LED
0 Onboard Button (also used for program upload)
21 SDA
22 SCL

Be sure to tie the SDA and SCL lines HIGH (+3.3v) with the 10k Resistors. This dramatically improved the reliability of reading my sensor which is connected via a 1.5m cable.