Skip to content

Homekit Compatible Temperature and Humidity Sensor - ESP32 - Arduino

License

Notifications You must be signed in to change notification settings

SnowballsChance/Homekit-Environmental-Sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Homekit Compatible Temperature and Humidity Sensor - ESP32 - Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published