AHT10 RH/TEMP Sensor

The AHT10 is a high precision, fully calibrated, temperature and humidity sensor chip package.
Use the AHT10 module (About Modules) for it.
You can wire this up as follows:
| Device Pin | Espruino |
|---|---|
| 1 (GND) | GND |
| 2 (VCC) | 3.3 |
| 3 (SCL) | Any I2C software compatible pin |
| 4 (SDA) | Any I2C software compatible pin |
How to use the module:
const sensor = require("AHT10").connect(SCL,SDA, bitrate); // Bitrate is optional, defaults to 300000
sensor.getTemperature();
sensor.getHumidity();
sensor.getDewPoint();
This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.