# \#gpio

**URL:** https://forums.balena.io/tag/gpio/121.md

[Latest](https://forums.balena.io/latest.md) · [Categories](https://forums.balena.io/categories.md) · [Tags](https://forums.balena.io/tags.md)

---

## [GPIO Access Lost After Flashing balenaOS on Seeed reComputer J4012 Industrial](https://forums.balena.io/t/gpio-access-lost-after-flashing-balenaos-on-seeed-recomputer-j4012-industrial/374463)

<div class="topic-metadata">

**Author:** [@DiB](https://forums.balena.io/u/DiB)\
**Replies:** 10\
**Last updated:** [January 29, 2026, 1:20pm UTC](https://forums.balena.io/t/gpio-access-lost-after-flashing-balenaos-on-seeed-recomputer-j4012-industrial/374463 "2026-01-29T13:20:53Z")

</div>

With the default Seeed image for the reComputer J4012 Industrial, I can easily access and control the GPIO ports on the front of the device. However, after flashing balenaOS, I can no longer control them. I can see bot…

---

## [balenaOS 6.x support for 32GB AGX Orin device tree (dtb)](https://forums.balena.io/t/balenaos-6-x-support-for-32gb-agx-orin-device-tree-dtb/374068)

<div class="topic-metadata">

**Author:** [@crtama](https://forums.balena.io/u/crtama)\
**Replies:** 1\
**Last updated:** [April 18, 2025, 8:55am UTC](https://forums.balena.io/t/balenaos-6-x-support-for-32gb-agx-orin-device-tree-dtb/374068 "2025-04-18T08:55:06Z")

</div>

Greetings. I just want to confirm the following statement from a 29-Aug-2024 Balena blog: Balena has supported the 32 GB version of the AGX Orin Developer Kit since it was introduced almost two years ago. The AGX Orin …

---

## [gpiod in BalenaOS using rpi4 cm with IO Board](https://forums.balena.io/t/gpiod-in-balenaos-using-rpi4-cm-with-io-board/370925)

<div class="topic-metadata">

**Author:** [@embedded](https://forums.balena.io/u/embedded)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 3:42pm UTC](https://forums.balena.io/t/gpiod-in-balenaos-using-rpi4-cm-with-io-board/370925 "2024-07-22T15:42:55Z")

</div>

Hi I have a correctly working python program on my rpi4 cm. The program controls and reads multiple gpios. Since I don’t know in the future whether the computing module will be different, I tried to use Linux-based comm…

---

## [Issue with GPIO Setup on Raspberry Pi 5 running BalenaOS 5.1.37+rev5](https://forums.balena.io/t/issue-with-gpio-setup-on-raspberry-pi-5-running-balenaos-5-1-37-rev5/370595)

<div class="topic-metadata">

**Author:** [@valerian](https://forums.balena.io/u/valerian)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 7:49am UTC](https://forums.balena.io/t/issue-with-gpio-setup-on-raspberry-pi-5-running-balenaos-5-1-37-rev5/370595 "2024-05-30T07:49:59Z")

</div>

Hello everyone, I am currently working on a project using BalenaOS 5.1.37+rev5 on a Raspberry Pi 5. I’m using the sample repository from GitHub: balena-rpi-gpio-sample-with-python. However, I am encountering an issue w…

---

## [How can I pull-up on GPIO pins?](https://forums.balena.io/t/how-can-i-pull-up-on-gpio-pins/367530)

<div class="topic-metadata">

**Author:** [@chester](https://forums.balena.io/u/chester)\
**Replies:** 3\
**Last updated:** [December 28, 2023, 12:40pm UTC](https://forums.balena.io/t/how-can-i-pull-up-on-gpio-pins/367530 "2023-12-28T12:40:20Z")

</div>

Hello, I’m using balena os, but I’m having trouble setting up internal pull-up on the GPIO pins. I can’t seem to find a solution on GPIO Interface - Balena Documentation. What should I do? For Raspberry Pi, I know that …

---

## [BalenaOS options to blinking LED connected to GPIO (On startup and runtime)](https://forums.balena.io/t/balenaos-options-to-blinking-led-connected-to-gpio-on-startup-and-runtime/369126)

<div class="topic-metadata">

**Author:** [@Shpatz](https://forums.balena.io/u/Shpatz)\
**Replies:** 9\
**Last updated:** [November 23, 2023, 8:58am UTC](https://forums.balena.io/t/balenaos-options-to-blinking-led-connected-to-gpio-on-startup-and-runtime/369126 "2023-11-23T08:58:54Z")

</div>

Hi all, We’re looking for a way to blink/auto toggle GPIOs directly from the kernel without using software loops/routines Do you provide a way to control the GPIOs or the Device Tree to turn the GPIO to LED so I could …

---

## [Activating and setting GPIO pins on Jetson AGX ORIN Developer Kit](https://forums.balena.io/t/activating-and-setting-gpio-pins-on-jetson-agx-orin-developer-kit/368853)

<div class="topic-metadata">

**Author:** [@crtama](https://forums.balena.io/u/crtama)\
**Replies:** 7\
**Last updated:** [September 7, 2023, 5:01pm UTC](https://forums.balena.io/t/activating-and-setting-gpio-pins-on-jetson-agx-orin-developer-kit/368853 "2023-09-07T17:01:33Z")

</div>

Greetings. Are there Device Configuration settings, equivalent to Raspberry PI’s RESIN\_HOST\_CONFIG\_dtparam and RESIN\_HOST\_CONFIG\_gpio, for the Orin? If not, suggestions on how to accomplish activating and setting the GPI…

---

## [Getting GPIO to work in container](https://forums.balena.io/t/getting-gpio-to-work-in-container/367928)

<div class="topic-metadata">

**Author:** [@watertube](https://forums.balena.io/u/watertube)\
**Replies:** 3\
**Last updated:** [May 18, 2023, 6:24am UTC](https://forums.balena.io/t/getting-gpio-to-work-in-container/367928 "2023-05-18T06:24:16Z")

</div>

Question I am trying to access the GPIO pins using the Python module gpiozero, from within a container. gpiozero can work with several low level libraries - or pin factories. I tried several, and the all give problems …

---

## [Using GPIO add\_event\_detect() in non-priviledged mode](https://forums.balena.io/t/using-gpio-add-event-detect-in-non-priviledged-mode/118284)

<div class="topic-metadata">

**Author:** [@mhazley](https://forums.balena.io/u/mhazley)\
**Replies:** 9\
**Last updated:** [February 27, 2023, 2:27pm UTC](https://forums.balena.io/t/using-gpio-add-event-detect-in-non-priviledged-mode/118284 "2023-02-27T14:27:19Z")

</div>

Hi - has anyone been able to use the RPi.GPIO edge detect when not running in privileged mode? I was able to use the GPIO fine with the following settings: devices: - "/dev/gpiomem:/dev/gpiomem" cap\_add: …

---

## [BBGW GPIO not found](https://forums.balena.io/t/bbgw-gpio-not-found/272449)

<div class="topic-metadata">

**Author:** [@fencer](https://forums.balena.io/u/fencer)\
**Replies:** 18\
**Last updated:** [May 18, 2021, 9:15pm UTC](https://forums.balena.io/t/bbgw-gpio-not-found/272449 "2021-05-18T21:15:14Z")

</div>

I’m compiling my own balenaOS however when I try to access the GPIO pins on my BB Green Wireless using johnny-five in nodejs I am getting errors that that the GPIO pin does not exist. ERROR \>\> Error: ENOENT: no such fil…

---

## [Device seems to reboot when using gpio-shutdown?](https://forums.balena.io/t/device-seems-to-reboot-when-using-gpio-shutdown/230432)

<div class="topic-metadata">

**Author:** [@Ryanteck](https://forums.balena.io/u/Ryanteck)\
**Replies:** 4\
**Last updated:** [January 8, 2021, 11:45am UTC](https://forums.balena.io/t/device-seems-to-reboot-when-using-gpio-shutdown/230432 "2021-01-08T11:45:15Z")

</div>

Hi, I’ve found another issue when trying to potentially use Balena for our product. For some reason, the gpio-shutdown dtoverlay isn’t working as expected. I have the following dtoverlay configured as the device confi…

---

## [Trigger port in BalenaOS](https://forums.balena.io/t/trigger-port-in-balenaos/197101)

<div class="topic-metadata">

**Author:** [@wikene](https://forums.balena.io/u/wikene)\
**Replies:** 2\
**Last updated:** [October 20, 2020, 3:23am UTC](https://forums.balena.io/t/trigger-port-in-balenaos/197101 "2020-10-20T03:23:17Z")

</div>

Hi We have a Jetson Xavier AGX that has a DIO port and is running Balena OS We would like to trigger port (ISO\_DO0\_CN) (pin 8) via a docker container do you have any guide on how to interact with this types of por…

---

## [Cannot create an application for an UP squared board](https://forums.balena.io/t/cannot-create-an-application-for-an-up-squared-board/23958)

<div class="topic-metadata">

**Author:** [@tobyhijzen](https://forums.balena.io/u/tobyhijzen)\
**Replies:** 23\
**Last updated:** [October 8, 2020, 10:37pm UTC](https://forums.balena.io/t/cannot-create-an-application-for-an-up-squared-board/23958 "2020-10-08T22:37:52Z")

</div>

When creating a new application I do not see an option to select ‘UP Squared’ even though it is listed as supported here: https://www.balena.io/docs/reference/hardware/devices/ I was able to upload an ‘UP board’ image t…

---

## [When using DT Overlay gpio-shutdown to do gpio pin based shutdown - containers don't receive SIGTERM](https://forums.balena.io/t/when-using-dt-overlay-gpio-shutdown-to-do-gpio-pin-based-shutdown-containers-dont-receive-sigterm/139129)

<div class="topic-metadata">

**Author:** [@cc\_nick](https://forums.balena.io/u/cc_nick)\
**Replies:** 26\
**Last updated:** [July 28, 2020, 11:15am UTC](https://forums.balena.io/t/when-using-dt-overlay-gpio-shutdown-to-do-gpio-pin-based-shutdown-containers-dont-receive-sigterm/139129 "2020-07-28T11:15:33Z")

</div>

I have a multi container project that has a physical power-off button that takes advantage of the dt-overlay = gpio-shutdown allowing the default GPIO3 pin to signal power-on / power-off to the raspberrypi. This config…

---

## [Merging several balena-cloud projects](https://forums.balena.io/t/merging-several-balena-cloud-projects/43629)

<div class="topic-metadata">

**Author:** [@raztou3d](https://forums.balena.io/u/raztou3d)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 10:46pm UTC](https://forums.balena.io/t/merging-several-balena-cloud-projects/43629 "2019-11-12T22:46:29Z")

</div>

Hi, I am beginning to play around with balenaCloud and I successfully deployed the balenaDash project on my Raspberry Pi 3. I also was able to run, some month ago, the balena-rpi-python-picamera project. And today I wan…

---

## [Write software that use GPIO - advice](https://forums.balena.io/t/write-software-that-use-gpio-advice/30266)

<div class="topic-metadata">

**Author:** [@Cesare](https://forums.balena.io/u/Cesare)\
**Replies:** 1\
**Last updated:** [September 4, 2019, 3:27pm UTC](https://forums.balena.io/t/write-software-that-use-gpio-advice/30266 "2019-09-04T15:27:01Z")

</div>

Hi, I need to write a software that will use GPIO to control some led, button and things like that. Moreover I’m gonna implement a REST server to read data. I will use a touch monitor. I was thinking to use python3, gu…

---

## [Unable to install pi-pins package for GPIO on RPi3 on balenalib/raspberrypi3-node:10 image](https://forums.balena.io/t/unable-to-install-pi-pins-package-for-gpio-on-rpi3-on-balenalib-raspberrypi3-node-10-image/25560)

<div class="topic-metadata">

**Author:** [@Craigson](https://forums.balena.io/u/Craigson)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 3:34pm UTC](https://forums.balena.io/t/unable-to-install-pi-pins-package-for-gpio-on-rpi3-on-balenalib-raspberrypi3-node-10-image/25560 "2019-08-22T15:34:39Z")

</div>

I’m trying to use a relay with my RPi3, but for some reason I can’t seem to install the pi-pins package. I’m using the Balenalib/raspberrypi3-node:10-run image. Here’s my docker-compose.yml: FROM balenalib/raspberrypi…

---

## [Blinking an LED on a raspberry pi using rust\_gpiozero](https://forums.balena.io/t/blinking-an-led-on-a-raspberry-pi-using-rust-gpiozero/15225)

<div class="topic-metadata">

**Author:** [@rahul](https://forums.balena.io/u/rahul)\
**Replies:** 5\
**Last updated:** [June 13, 2019, 3:44pm UTC](https://forums.balena.io/t/blinking-an-led-on-a-raspberry-pi-using-rust-gpiozero/15225 "2019-06-13T15:44:04Z")

</div>

Hi all, I am the author of the rust\_gpiozero crate. It is a port of the python GPIOZero library from the Raspberry Pi foundation using the rust programming language. It provides a simple interface to GPIO devices. I cr…

---

## [Access Artik020 GPIO from Raspbian](https://forums.balena.io/t/access-artik020-gpio-from-raspbian/5947)

<div class="topic-metadata">

**Author:** [@LoStevo](https://forums.balena.io/u/LoStevo)\
**Replies:** 4\
**Last updated:** [May 24, 2019, 3:47pm UTC](https://forums.balena.io/t/access-artik020-gpio-from-raspbian/5947 "2019-05-24T15:47:37Z")

</div>

Good morning, how to access the GPIO on Artik020 on Raspbian Balenafin 1.1? I need to set two pins as analog-in to read some sensors. Thanx, Stefano

---

## [GPIO pin out for the co-processor 20pin header](https://forums.balena.io/t/gpio-pin-out-for-the-co-processor-20pin-header/5660)

<div class="topic-metadata">

**Author:** [@alinnz](https://forums.balena.io/u/alinnz)\
**Replies:** 8\
**Last updated:** [April 3, 2019, 8:36am UTC](https://forums.balena.io/t/gpio-pin-out-for-the-co-processor-20pin-header/5660 "2019-04-03T08:36:17Z")

</div>

Hi do you have some documentation on the pinouts for the 20pin header for the co-processor?
