Lib for HYT temp & humidity sensor

Dependents:   HYT_example Temp_&_RH_at_TFT-demo Temp_&_RH_at_TFT_with_touchscreen Temp_&_RH_at_TFT_with_touchscreen-ENG ... more

Fork of HYT by Ksenia Kondrashova

This is a simple library for the HYT-271, HYT-221 and HYT-939 humidity and temperature sensors by IST-AG company. The difference between HYT sensors is only a package.


General information:

  • High precision: +/-1.8%RH and 0.2°C
  • Temperature range: -40°C to +125°C
  • Low drift : less than 0,5% RH / year
  • Power consumption: 22 µA during operation
  • Fully calibrated and compensated humidity and temperature signal
  • Digital I2C interface (14 bit values)

Product Page:

Remember to use pull-up resisrors:


You can also find Hello Word program sending data from sensor to PC via serial interface:

Library doesn't contain command mode instructions. There are only functions for polling the HYT sensor with default i2c address

Download repository: zip gz

Files at revision 0:cb02bfe8cf44

Name Size Actions
HYT.cpp 1221 Revisions Annotate
HYT.h 2276 Revisions Annotate