TINKER PIEDESIGN IN INDIA

Temperature + humidity DHT22 with TinkerPie

The white, more accurate sibling of the DHT11.

TypeTiming sensors
Connect toany accessory pin
Gives°C and % RH, more precise
SimulatorUse it on the real board

How to wire it

One or two signal pins on S1-S4 or P10-P13. Studio reads them with precise timing in the board firmware.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.dhtTemperature(Pin.S1, DhtType.DHT22)

// Arduino C++
sensors::dhtTemperature(Pin::S1, DhtType::DHT22)

Try it in TinkerPie Studio

Similar modules