Processing math: 100%

User Tools

Site Tools


amc2020:group_n:dht22

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
amc2020:group_n:dht22 [2020/07/28 20:44] – [3.1 Pullup Resistors] jonas001amc2020:group_n:dht22 [2023/01/05 14:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<html>
 +  <left>
 +    <a href="https://wiki.eolab.de/doku.php?id=amc2020:group_n:start"; onmouseover="style.color='green'";>
 +      <span style="color:#2E71B8"; onmouseover="style.color='green'"; onmouseout="style.color='#2E71B8'";>
 +        &#8617 Back to the main page
 +      </span>
 +    </a>
 +  </left>
 +</html>
 +
 ====== DHT-22 Air Temperature and Humidity Sensor ====== ====== DHT-22 Air Temperature and Humidity Sensor ======
  
Line 95: Line 105:
 | Repeatability             | ± 1 % RH                       | ± 0.2 °C       | | Repeatability             | ± 1 % RH                       | ± 0.2 °C       |
 The specifications are also available in the {{https://cdn-shop.adafruit.com/datasheets/Digital+humidity+and+temperature+sensor+AM2302.pdf| AM2302 Datasheet}}. The specifications are also available in the {{https://cdn-shop.adafruit.com/datasheets/Digital+humidity+and+temperature+sensor+AM2302.pdf| AM2302 Datasheet}}.
 +
 +^{{:amc2020:group_n:esp32_dht22.png?direct&300|Figure 3}}^
 +|**//Figure 3//** Connection of ESP32 and DHT-22.|
  
 ==== 3.1 Pullup Resistors ==== ==== 3.1 Pullup Resistors ====
Line 129: Line 142:
 === 3.2.3 Upload-issues using the ESP32 DevkitC VB === === 3.2.3 Upload-issues using the ESP32 DevkitC VB ===
  
-When using the ESP32 instead of an Arduino, the Arduino IDE can give a time out error (figure 4) during the upload if the DHT-22 is already connected to the ESP32:+When using the ESP32 instead of an Arduino, the Arduino IDE can give a time out error (figure 5) during the upload if the DHT-22 is already connected to the ESP32:
  
-^{{:amc2020:group_n:upload_error_message.png?direct&800| Figure 4}}^ +^{{:amc2020:group_n:upload_error_message.png?direct&800| Figure 5}}^ 
-|**//Figure 4//** Time out error during upload of code to the ESP32 DevkitC VB with the DHT-22 connected to it.|+|**//Figure 5//** Time out error during upload of code to the ESP32 DevkitC VB with the DHT-22 connected to it.|
  
 This seems to be an issue caused by the power supply to the DHT-22 during the upload process. Other users reported to have fixed the problem by This seems to be an issue caused by the power supply to the DHT-22 during the upload process. Other users reported to have fixed the problem by
Line 283: Line 296:
  
 Between the printing of the results (line 3, 4, 5) and the start of the next measurement process (line 6) a time difference of 2.04 seconds could be observed. 2 seconds are due to the delay in the main loop (code section 10), the rest is due to the print() functions which consume comparably much time.  Between the printing of the results (line 3, 4, 5) and the start of the next measurement process (line 6) a time difference of 2.04 seconds could be observed. 2 seconds are due to the delay in the main loop (code section 10), the rest is due to the print() functions which consume comparably much time. 
 +
 +<html>
 +  <center>
 +    <span>
 +    <a href="javascript:self.scrollTo(0,0)"; onmouseover="style.color='green'";>
 +      <span style="color:#2E71B8"; onmouseover="style.color='green'"; onmouseout="style.color='#2E71B8'";>
 +        Back to the top &#10548
 +      </span>
 +    </a>
 +    </span>
 +  </center>
 +</html>
amc2020/group_n/dht22.1595961896.txt.gz · Last modified: 2023/01/05 14:38 (external edit)