User Tools

Site Tools


mmbasic:aht10_i2c_humidity_and_temperature_sensor

AHT10 I2C Humidity And Temperature Sensor

The AHT10 I2C Humidity and Temperature Sensor provides greater accuracy than the DHT sensors and does not require a special driver. Regular MMBasic I2C commands and a little arithmetic produce the data.

Further information and code on The Back Shed at:- https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=16276

A little off-topic but on the subject of temperature measurement. MMBasic has a built in function for the DS18B20 sensor but the DS1820 and DS18S20 sensors are not compatible with it. There is a Function that can read them here. https://www.thebackshed.com/forum/ViewTopic.php?TID=18879&P=3#255396

mmbasic/aht10_i2c_humidity_and_temperature_sensor.txt · Last modified: by Gerry