Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
source code for DHT22 Digital temperature and humi
no vote
This code is belong to DHT22 digital Humidity and Temperature Sensor. it work with one wire interface. library was writen for stm32 but can used for any microcontroller. for working with this Sensor we used 1 GPIO pins and 1 16 bit timer.  first step is: Configuring GPIO and Timer, in DhtConfig and DhtADir functions. then using function DhtReading , can Readout 16 bit serial temperature and 16 bit serial humidity and 8 bit checksum.  with TemperatureCalculate function , readout data cand convert to floating value of temperature and humidity.
masood113
2017-11-21
1
1
No more~