DHT21_Object

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
Auxiliary Files
By: Prophead100 , created: 2013-04-04 | updated: 2013-04-05

 

The object reads the temperature and humidity from an AM3201/DHT21 Sensor using a unique 1-wire serial protocol with 5 byte packets where 0s are 26uS long and 1s are 70uS. The object launches another cog and automatically returns the temperature and humidity to variables in memory every few seconds as degrees F and relative percent respectively. It also returns an error byte where true means the data received had correct parity.
 
Note: For C++ programmers, related MIT licensed C code is included in the documentation.
 
Original File Upload
AttachmentSize
Package icon DHT21Object.zip9.67 KB
Package icon DHT_CPP_Example.zip2.2 KB