Description: The RHT03 (also known by DHT-22) is a low cost humidity and temperature sensor with a single wire digital interface. The sensor is calibrated and doesn’t require extra components so you can get right to measuring relative humidity and temperature.
Based on 27 ratings:
1 of 1 found this helpful:
Have been using one of these for some months now, measuring humidity and temp in a environment with great fluctuations. Works perfect.
4 of 4 found this helpful:
I’ve purchased 40-50 of these over a couple years and don’t remember any failures. Some have been outside through the summer, some not. I’ll post an update if I notice any.
1 of 1 found this helpful:
The Temperature readings seem fine, but the Humidity values are always 98-100% after 6 month of use.
2 of 3 found this helpful:
This is a great part and will yield a high quality temperature and humidity reading with none of the typical problems associated with analog readings, because you don’t read analog. It communicates over a single wire interface to the CPU. Unless you want to write a driver for the communications and data parsing, you need to get one to use this part. Sadly, as I’ve found with a lot of the stuff sold by Sparkfun, their software is often incomplete and the support is tough to work with. I have some notable “Shelfware”, such as the WiFly shield which I spend lots of time with and never got working correctly because Sparkfun did not release or support a working library for it, and when pressed, told me they would not support the library on GitHub that they refer you to. Coding a whole WiFi solutions was more than I bargained for when purchasing the part. Beware, just cause they show you a video of a working example does not mean that you will be able to download working code!
In the case of this RHT03, Arduino to the rescue. As I’ve found on other occasions, the quality of software available on the Arduino website is superior. There is a driver and application note for this part. Copy and paste the code, follow the instructions, wire it up and you’ll be getting nice readings.
Seriously Sparkfun, I’ve been down this road before. As founder of Measurement Computing (sold to NI in 2005), I understand electronics and support. It is just suicide to offer a product and represent that you support it, and that means having working software, then not do so. I suspect you are losing a lot of follow-on business from customers who can’t solve their problem with your buggy software, or move on and solve it with someone else, like I have with the WiFi. The folks at Spark Labs solved the arduino/wifi problem with a 100% supported and working solution, and that’s where I buy them.
Sparkufn, I like your variety and the quality of the hardware is always great, but the software… You need to do a better job, especially after the sale.
Thanks for the feedback. We are working to release more example code and hookup guides for our products. There are some products with holes in the code base. This can be caused by a number of factors. We do try to correct this when possible. Thanks and happy hacking.
I have used the HIH4030 which is slightly more expensive, but it seems to be pretty sensitive as far as damage. It got wet and never really came back. It has analog output that can be used with a 1-Wire DS2438, which is nice. The RHT03 requires a pin, so you have that going on for limitations, but as far a accuracy and durability in a grow-tent environment, its pretty good. I recommend the PIETTETECH_DHT library.
I wanted to use the RHT03 with an Arduino Uno, so I looked for published libraries. I first tried a library I found on an Arduino Playgound web page: https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib. I could not get it to work. Then I tried a alternative mentioned in the above web page: https://github.com/ringerc/Arduino-DHT22. This worked well.
Ran fine at 3.3v with a pro mini. Internal update rate is ~2 sec so don’t expect a quick response…
The DHT library made it a snap to begin acquiring readings. I had a working temperature and humidity monitor in less than an hour, and most of that time was related to piping the output onto a 16x2 serial display.
Easy to wire and has library pre-written. Was up and reading temp, humidiity and heat index in a room in my house in a few minutes. Ended up setting up a small fan array in my window wired to the l293d motor driver that pushes or pulls air at various rates based on temperature and humidity ranges. Was very fun to create! Will be purchasing a few more for some other projects I have in mind. Thanks!
0 of 1 found this helpful:
Well I didn’t get the driver to read a single input/output scheme yet.
Very easy to setup and use. I used the DHT library.
these have not failed me to this day
The data string, coming out of this sensor, has not the typical one-wire format and needs to be decoded. Each pulse (40 total, 16 for Humidity, 16 for Temperature, 8 for Checksum) needs to be converted from pulse-width to digital high/low. It’s not terrible difficult, but requires some programing. I’m using a dedicated PIC12F1840 loaded with a “serial converter”, which makes it easier to integrate the sensor with other serial port communication projects.
Easy to use. Code is already posted online. Just modify as needed.
I really liked it because it was easy to add to my project, and it was simple to retrieve its data via my Arduino code. This is a great sensor.
I hooked the sensor to cable and placed it in a shaded area. Using several of the example programs for the Arduino I still got the same poor results. The temperature readings were off by as much as 14 degrees F and the humidity readings are consistently off by 10%. The temperature readings are not linear so I can’t use a constant to correct it. Waste of time and money.
Sorry to hear you had issues. Please contact us to setup a return for the part - https://www.sparkfun.com/technical_assistance
I’m using it to measure temperature in my living room. Works great.
Work great no problems, and good documentation.
I’m using this as part of a Raspberry pi based weather station. Using the Adafruit library, it worked perfectly the first time.
I ordered two of these and they seem to be performing reasonably well. I am seeing temperature spikes every 4-5 hours for some unknown reason. I’m using a Particle Photon and the library provided by Particle. Has anyone seen this type of anomaly when using these?
We have a great tech team that can help you out, please contact them here - https://www.sparkfun.com/technical_assistance
Nice little sensor, readings seem consistent. Only downside is that it does take a solid few seconds to update reading values.
It’s a nice little module, but it has some drawbacks. I’m using it for a home built chiller and it works well enough. The cons are that the temp accuracy isn’t great and that it isn’t Dallas 1-wire, which I didn’t notice when I bought it. Software support is available, but complicated. Overall, convenient, but not a perfect solution.
Simple to install, sample code works well. Flexible, no problems.
Interface is a little tricky, but seems to be reliable once you figure it out. Temperature calibration seems to be good - within a half degree F at 78 compared to several different standards. My complaint is with the humidity calibration. I have two units, and they are reading within two percentage points of each other: 28.2 and 29.9%, which is good. Unfortunately, this is about 10 percentage points low compared to a dew point reading and three other trusted RH sensors: 37, 37.4, 38, and 40%. One of these readings, the 37.4, is from a Sparkfun SHT15 breakout. Granted it is 4 times the cost, but it seems to meet its advertised spec. Based on my evaluation, the DHT22 is a long way off from the +/- 2% it claims. And yes, I have already tried the recommended “reconditioning” process. So if you are looking for accuracy, pay the price. If a ballpark reading is ok, the price of the RHT03 is pretty attractive.
Now that I am set up to make comparisons with the SHT15, I’ll see if there is some way to compensate the errors of the SHT15 in software so as to get a more accurate reading across a range of conditions. If so, I’ll let you know.
Simple device. Does what it says. No problems. :D
This sensor was easy to integrate with my particle photon with support libraries created by piettetech (https://github.com/piettetech/PietteTech_DHT). No calibration was required and the readings seemed accurate.
Works well and seems accurate. I will be ordering a few more soon