Tuesday, July 2, 2013

AMT1001 humidity and temperature sensor library for AVR Atmega

The AMT1001 is a Resistive-type humidity and temperature sensor/module.

It can detect humidity from 20 to 90 %RH with and accurancy of +-5%RH.
Temperature sensing is built using an NTC thermistor.

This library here implements a way to get humidity and temperature data from this sensor.
Setup parameters are stored in file amt1001.h

Humidity conversion formula is based upon graph 1 of the datasheet (see below).

Temperature conversion it is based upon the Beta Model Equation, given the know beta printed above the amt1001 sensor.
Also two Open Office helpers are provided to built the lookup table used for ADC to temperature conversion and for beta estimation from points.

This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 1MHz.


  • read risk disclaimer
  • excuse my bad english