Temperature & Humidity
Temperature & Humidity Sensor
- Overview
- Drivers
- Samples
Measure temperature with +-0.5 degree of accuracy at 0.1 celsius resolution. The humidity sensor is +=2RH% accurate with a resolution of 0.1%RH.
Key features • DHT22 Digital Sensor | Resources PID: 0x060010 |
See Drivers page for further details.
tip
Use the Standard Library API directly to read temp and humidity.
| Function | Description |
|---|---|
Temp() | Returns temperature in celsius. |
Humid() | Returns relative humidity percentage. |
SenPin() | Returns the sensor's pin number. |
SenType() | Returns the sensor's type. |
DVer() | This driver version. |
The Code!
Temperature & Humidity Driver
loading...
Samples assume the drivers are installed, see the Drivers Tab.
- Script
- Python
- JavaScript
Script Sample
loading...
Python Sample
loading...
JavaScript Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Temperature & Humidity | GDL-SETEMPHMD-B | $9.95 |