source code for DHT22 Digital temperature and humi
2017-11-21
1 0 0
no vote
Other
Earn points
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.
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
Golang AOA Android Open Accessory HID Control
0
0
no vote
PClite
0
0
no vote
GMSK Linear Receiver
0
0
no vote
The golden version of AFT that has been passed dow
0
0
no vote
No comment