composants:am2302dht22

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
composants:am2302dht22 [2019/08/13 19:07] mhcomposants:am2302dht22 [2019/08/13 20:17] mh
Line 7: Line 7:
 ===== Specifications ===== ===== Specifications =====
  
-//(1 source)//+//(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
  
-  *0 to 100% for humidity 
-  *-40°C to +125°C for temperature 
  
  
 ===== Usage ===== ===== 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 ===== ===== Demo =====
  
- +Use the basic example from Adafruit library
- +
-++++ Arduino Code |  +
- +
-<code c> +
-</code> +
- +
-+++++
  
  
 ===== Ressources ===== ===== Ressources =====
  
-  *+  *[[https://learn.adafruit.com/dht/overview|Adafruit]]
  
  • composants/am2302dht22.txt
  • Last modified: 2020/06/01 16:35
  • by 127.0.0.1