Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.47 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.47 KB

license-badge version stars hit-count github-issues

HTU21D

This is an AVR library for SHT21, HTU21D & Si70xx Digital Humidity and Temperature Sensor

This fork has been created to support AVR devices with USI interface.

Supports all sensors features:

  • read humidity for SHT21, HTU21D or compensated humidity for Si70xx**
  • calculate compensated humidity for SHT21, HTU21D**
  • read temperature for SHT21, HTU21D, Si70xx or retrive temperature value after RH measurement for Si70xx**
  • soft reset
  • check battery status
  • turn ON/OFF build-in Heater
  • read FW version**
  • read sensor ID**

To use this library one additional library have to be included: USIWire library: https://github.com/puuu/USIWire

Tested on:

  • ATtiny85

**Library returns 255, if there is a CRC8 mismatch or a communication error has occurred