Everything for Electronics
Nuts & Volts Magazine (March 2016)

More Hot & Sticky — Temperature And Humidity Measurement With The DHT11 Sensor

By Jon McPhalen    View In Digital Edition  

Last time, we wrote some code for the SHT11 humidity/temperature sensor. It’s a nice sensor, but expensive. On the other end of the price/performance scale is the DHT11. It doesn't have the range or accuracy of its cousin, but it comes with a user-friendly price-tag: about $5 from US vendors. The DHT11 (and slightly more accurate DHT22) use a one-wire protocol, so we'll write a driver for that and have another tool in the box for humidity and temperature measurement.


Read This Article!
If you’re a subscriber and your subscription includes this issue of Nuts & Volts, you can read this article in our digital edition by clicking the blue icon in the upper right corner. Use the email address associated with your subscriber services account to login.

If you're a member of our Preferred Subscriber Network, not only will the magic blue icon let you read this article, but EVERY article in EVERY issue is yours to enjoy! Over a decades worth of content is stored in our digital archive!

If you’re not a subscriber, you can still view a few sample pages of our digital edition or subscribe here for full digital access and/or print delivery. Also, as you browse around our site, you will find selected articles have been posted in their entirety for you to enjoy.



What’s in the ZIP?
Associated code files for The Spin Zone.