Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
Auxiliary Files
By: 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
Package icon DHT21Object.zip9.67 KB
Package icon DHT_CPP_Example.zip2.2 KB