# Access GPIO on Raspberry PI

**URL:** <https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [May 3, 2018, 3:22pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913 "2018-05-03T15:22:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [May 3, 2018, 3:22pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/1 "2018-05-03T15:22:32Z")

</div>

Hi everyone,  
I have a Raspberry Pi 2 Model B running an Ignition Edge Gateway.  
Everything works smoothly.  
Is there anyway of accessing the GPIO’s on the Raspberry Pi from within the Ignition Edge Designer?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 3, 2018, 3:35pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/2 "2018-05-03T15:35:18Z")

</div>

Hmm. Sounds like a driver is needed. Doesn’t look too hard. I’ll add this to my to-do list.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 3, 2018, 4:58pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/3 "2018-05-03T16:58:02Z")

</div>

My abandoned RPi OPC UA server project can access them: [https://github.com/kevinherron/pi-server](https://github.com/kevinherron/pi-server)

Rumor has it the server might actually work again soon…

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 3, 2018, 5:54pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/4 "2018-05-03T17:54:06Z")

</div>

Another way of doing it if you cant access the GPIO is a python script to send the GPIO status to a DB and access that in ignition.

---

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [May 4, 2018, 1:36pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/6 "2018-05-04T13:36:04Z")

</div>

@pturmel - cool! Let me know when you have something.

@Kevin.Herron - I have tried yours already without success. I have the latest version of Java installed however it still crashes with an error something like this: “JVM failed to launch” and it also states that it expected another BCMxxxx than was found on the RPi. I thought it might be some hard problems due to compatibility now when the server is a bit outdated.

@craigb - yeah, that could definitely be the workaround this problem. I might just do that to get on with things.

Thanks for the inputs all of you. 👍

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [May 4, 2018, 3:14pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/7 "2018-05-04T15:14:19Z")

</div>

You should give Node-Red a try, It can allow you to interact with the GPIO and provide access via OPC-UA, MQTT Sparkplug or Modbus. I have a few Pis with various IO boards on my bench,

---

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [May 4, 2018, 5:42pm UTC](https://forum.inductiveautomation.com/t/access-gpio-on-raspberry-pi/17913/8 "2018-05-04T17:42:53Z")

</div>

@Kyle_Chase - Awesome, I will give it a try! Thanks!
