# Calculate the rpi-gpio in value

**URL:** <https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934>\
**Category:** General\
**Created:** [12 October 2022 14:27 UTC](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934 "2022-10-12T14:27:25Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 October 2022 20:28 UTC](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934/21 "2022-10-18T20:28:39Z")

</div>

As a test, connect the gpio pin to 0v with a piece of wire and see whether the debug output stays at 0.

---

<div class="post-metadata">

**Author:** ![pierrot](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@pierrot](https://discourse.nodered.org/u/pierrot)\
**Post date:** [19 October 2022 16:23 UTC](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934/22 "2022-10-19T16:23:08Z")

</div>

in the test the debug stays stable . then, i shifted the optocoupler from 5v to 3v and all is stable till now .  
Will keep it monitored to see if it will happen again

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 December 2022 16:23 UTC](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934/23 "2022-12-18T16:23:40Z")

</div>

Closed on 18 December 2022 16:23 UTC

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

[Previous page](https://discourse.nodered.org/t/calculate-the-rpi-gpio-in-value/68934.md?page=1)
