# Node-red freezes running only a few nodes

**URL:** <https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007>\
**Category:** General\
**Created:** [22 June 2018 19:32 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007 "2018-06-22T19:32:39Z")\
**Posts on this page:** 6\
**Page:** 3

<div class="post-metadata">

**Author:** ![leafboy](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@leafboy](https://discourse.nodered.org/u/leafboy)\
**Post date:** [2 July 2018 16:52 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007/41 "2018-07-02T16:52:19Z")

</div>

Yes - I don’t think so as well. Could it be a problem regarding the DHT lib. Maybe an older one does not cause that problem. What do you think?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 July 2018 16:59 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007/42 "2018-07-02T16:59:29Z")

</div>

Are you really really sure the dht22 data line is connect to pin 4 of the pi? It should not share the same line as the ds18b20’s.

I have a dht22 connected to pin 12 and if I adjust the node to point to pin 12 it works fine. IF I change the node to point at pin 4 (with the dht22 data line still on pin 12) it hangs as soon as I hit deploy.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 July 2018 17:02 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007/43 "2018-07-02T17:02:16Z")

</div>

wait a minute - you have the dht22 node looking at physical pin 4 which is a ground pin if you want GPIO 4 that is physical pin 7

---

<div class="post-metadata">

**Author:** ![leafboy](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@leafboy](https://discourse.nodered.org/u/leafboy)\
**Post date:** [2 July 2018 17:21 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007/44 "2018-07-02T17:21:48Z")

</div>

No - my DS18B20 sensors are connected to GPIO4(Pin7) and DHT22 is connected to GPIO17(Pin11).

---

<div class="post-metadata">

**Author:** ![leafboy](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@leafboy](https://discourse.nodered.org/u/leafboy)\
**Post date:** [2 July 2018 17:32 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007/45 "2018-07-02T17:32:41Z")

</div>

You are the best!!! Silly me - I got mixed up regarding BCM/GPIO etc. Now eveything is working find. Thanks a lot guys for all your help. I learned a lot.

Your help is much appreciated.  
Leafboy

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 July 2018 18:25 UTC](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007/46 "2018-07-02T18:25:14Z")

</div>

I have rasied an issue in git for node-red-contrib-dht-sensor abot this issue.

[Previous page](https://discourse.nodered.org/t/node-red-freezes-running-only-a-few-nodes/1007.md?page=2)
