Good Sensor, strange protocol.

Good Sensor, strange protocol.

DHT22 / AM2302 digital sensor for measuring humidity and temperature - temperature sensor for Raspberry and Arduino (Electronics)

Customer Review

The DHT22 explicitly advertised with its suitability for the Raspberry Pi, but this turns out that he is not so great together playing with Pi. This is due to the signaling protocol on the data line, which is compatible with anything that the Pi brings from home. Even after a long search on the net I have found only one device driver for these did not try because of some obvious defects and bugs. But as I just wanted to take into operation the sensor without starting before a large software project for me so I have operated one of the many user-mode polling variants. I am an experienced embedded software developers that do for a living for a long time. Therefore, I can only say: a grisly solution!

The Pi needs before two - three attempts, until he finds out a proper measurement of the sensor. However, he gets through the checksum mitschickt the sensor fortunately, mostly with whether the metrics are broken.

The sensor itself has been proven so far, however. The measured temperatures are consistent with those of a Vergleichstermometers, the moisture values ​​are plausible in any case. Also, the sensor with the 3.3V operating voltage of Pi is still cope, which is also indicated in the data sheet minimum voltage. With 5V you should not operate it at Pi rather, since the voltage on the signal line is then a bit too high.

In most wirings one sees the sensor with a 4,7kOhm pull-up on the data line. This can save with appropriate software actually because the GPIO ports of Pi can be configured to pull-up internally.

Conclusion: Good sensor adjusts very well to microcontrollers (Arduino), but rather a compromise solution for Raspberry Pi value is excellent.!

Related Reviews


Good sensorsContour sensors for measuring blood sugar Well, not so good sensorsRevolt Automatic light switch with motion & Sound Sensor Lamp good batteries strange.LiteXpress LX404071 Pen Power 101 aluminum flashlight, 1 Nichia high power LEDs, light output to 33 lumens, wattage by ANSI standard, black (household goods) Good sensors, weak housing and dubious manualTech4o clock Traileader 1, black / steel (equipment) Good article, strange package4er Pack Herren Retro Boxer Shorts Remixx multicolored (Textiles) Good sensor Works with TellStick NetOregon Scientific sensor, white, 17.8 x 7.6 x 20.3 (garden products) Good tripod, strange MarketingManfrotto MKBFRA4 bra Befree Travel Tripod (Electronics) Good result, strange shapeLeifheit 45057 Allround brush XtraClean Collect Plus 30 with telescopic handle (household goods) Good ball, strange detailsTOGU gymnastics ball My Ball Soft (equipment) Good but strangeShiazo 100gr. Strawberry - stone granules - Nicotine-free tobacco substitutes 100gr. (Household goods) good sensor outdoor light.Ranex wall outdoor lamp with motion detector, E27 [20 Watts], 115 ° x 9 m, coverage RX1010-S (Garden & Outdoors) good album, strangely bonusNight Flight (2012 Remastered + Bonus CD) (Audio CD) warms good but strange formLafuma Mens Fleece Jacket Light Green F-Zip Jacket (Sports Apparel) Ordinary light output, good sensor[Himanjie] cold white 20W / 30W / 50W / 80W LED Floodlight SMD Lamp + Motion Wandstrahler Spots cool white cold light aluminum. Housing spotlight Spotlight LED floodlight Exterior projector waterproof IP65 garden lamp (30 watts) Good price, strange tastePeak Protein 85 bags, chocolate, 1000g, 25953 (Health and Beauty) A good sensorDHT22 / AM2302 digital sensor for measuring humidity and temperature - temperature sensor for Raspberry and Arduino (Electronics) Good but strange at the endThe Woman in the Fifth (Paperback) good and very flat scalesSanitas SBF 48 USB diagnostic scale, glass-silver (Personal Care) Good pictures, but some good settings for improvement features.PX100BE Camcorder JVC GC-1080 pixels Optical Zoom 10 x 12.8 Mpix (Electronics)