# Dht 22 unexplained error

**URL:** <https://forum.xod.io/t/dht-22-unexplained-error/5509>\
**Category:** Uncategorized\
**Created:** [October 15, 2021, 5:22am UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509 "2021-10-15T05:22:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![radil](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@radil](https://forum.xod.io/u/radil)\
**Post date:** [October 15, 2021, 5:22am UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509/1 "2021-10-15T05:22:26Z")

</div>

Hello all, I am trying to create a DHT 22 And I2c LCD temperature and humidity system. However the sensor won’t work, every time I upload a sketch the LCD blinks between the correct measurement and the ERR statement.  
Note: I have tried the normal Arduino IDE and it works fine, I also checked the wiring and it’s fine.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [October 15, 2021, 3:29pm UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509/2 "2021-10-15T15:29:26Z")

</div>

Have you searched this forum for dht22? There have been quite a few threads about problems with this sensor that might help. Checking less frequently might help. If you are using ‘loop’ setting, try linking to a clock that pulses once a second (or couple seconds if you don’t need updates so quickly).

---

<div class="post-metadata">

**Author:** ![radil](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@radil](https://forum.xod.io/u/radil)\
**Post date:** [October 16, 2021, 6:37am UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509/3 "2021-10-16T06:37:27Z")

</div>

Thank you for the reply, But can you tell me about the loop setting?

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [October 16, 2021, 8:51pm UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509/4 "2021-10-16T20:51:44Z")

</div>

The UPD pin defaults to ‘loop’, which keeps updating as quickly as the Arduino is able to. If you add a ‘clock’ node, you can specify how often it updates. For example, update every 2 seconds:  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/6/6f889581d46f23a539bc6d6624032879210cdf02.png)

---

<div class="post-metadata">

**Author:** ![radil](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@radil](https://forum.xod.io/u/radil)\
**Post date:** [October 20, 2021, 6:58am UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509/5 "2021-10-20T06:58:49Z")

</div>

The DHT problem is solved now. Thank you for the help

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [November 19, 2021, 6:59am UTC](https://forum.xod.io/t/dht-22-unexplained-error/5509/6 "2021-11-19T06:59:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
