Temperature & Humidity
Temperature & Humidity Sensor
- Overview
- Driver
- Daisylink
- Standalone
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...
These Daisylink samples assume the driver is installed, see the Driver Tab.
- Python
- JavaScript
Python Sample
loading...
JavaScript Sample
loading...
These samples show how to run DUELink Standalone.
- Script
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
Standalone Script Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Temperature & Humidity | GDL-SETEMPHMD-B | $9.95 |