Show pageOld revisionsBacklinksFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== AM2302 DHT22 Sensor ====== Small 3-wire **temperature and humidity** sensor {{composants:am2302-dht22.jpg?300}} ===== Specifications ===== //(Source : [[https://learn.adafruit.com/dht/overview|Adafruit]])// *Low cost *3 to 5V power and I/O *2.5mA max current use during conversion (while requesting data) *Good for 0-100% humidity readings with 2-5% accuracy *Good for -40 to 80°C temperature readings ±0.5°C accuracy *No more than 0.5 Hz sampling rate (once every 2 seconds) *Body size 15.1mm x 25mm x 7.7mm *4 pins with 0.1" spacing ===== Usage ===== You can use the Adafruit DHT library. {{composants:dht22wiring.jpg}} <WRAP info>DHT22 and AM2302 often have a pullup already inside, but it doesn't hurt to add another one ! </WRAP> ===== Demo ===== Use the basic example from Adafruit library ===== Ressources ===== *[[https://learn.adafruit.com/dht/overview|Adafruit]] composants/am2302dht22.txt Last modified: 2020/06/01 16:35by 127.0.0.1