# \#gpio

**URL:** https://forums.digi.com/tag/gpio/19.md

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

---

## [Xbee S2C direct GPIO control issue](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242)

<div class="topic-metadata">

**Author:** [@IOTON](https://forums.digi.com/u/IOTON)\
**Replies:** 3\
**Last updated:** [October 3, 2022, 8:41am UTC](https://forums.digi.com/t/xbee-s2c-direct-gpio-control-issue/23242 "2022-10-03T08:41:51Z")

</div>

I have a problem with direct control GPIO. I have a coordinator(TX) and router(RX). Both modules Xbee S2C (firmware version 4061) After click button on TX side I got the next frames on RX side- 7E 00 12 92 00 13 A2 00…

---

## [Xbee digital output stage](https://forums.digi.com/t/xbee-digital-output-stage/23230)

<div class="topic-metadata">

**Author:** [@guiferra](https://forums.digi.com/u/guiferra)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 7:08am UTC](https://forums.digi.com/t/xbee-digital-output-stage/23230 "2022-09-20T07:08:30Z")

</div>

Good morning, I would like to know how is the output stage of the output pins of modules Xbee PRO S2C and Xbee-3. Particularly, I’d like to know if a pin configured as a GPIO digital output is driving the load on that …

---

## [Connectcore MCA GPIO wakeup](https://forums.digi.com/t/connectcore-mca-gpio-wakeup/22656)

<div class="topic-metadata">

**Author:** [@cstanton](https://forums.digi.com/u/cstanton)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 2:50pm UTC](https://forums.digi.com/t/connectcore-mca-gpio-wakeup/22656 "2021-09-13T14:50:13Z")

</div>

Hi, Im trying to use an interrupt on MCA-gpio 1 (configured as active high) to wake up my Connectcore 6UL SBC pro from standby. The interrupt pulls the line low. I run: gpiomon --num-events=1 --falling-edge mca-gpio 1…

---

## [ConnectCore IMx6 Plus Kit GPIO](https://forums.digi.com/t/connectcore-imx6-plus-kit-gpio/22618)

<div class="topic-metadata">

**Author:** [@simonongsk](https://forums.digi.com/u/simonongsk)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 9:12am UTC](https://forums.digi.com/t/connectcore-imx6-plus-kit-gpio/22618 "2021-08-23T09:12:49Z")

</div>

Hi: I need to use 2 GPIO as Input and 2 GPIO as Output. Based on ConnectCore IMX6 Hardware Reference Manual: The ConnectCore 6 SBC provides a 14-pin, 1.25mm pitch expansion connector with eight digital GPIO signals of…

---

## [Failed to run sample program apix-gpio-sample on CC6 SBC.](https://forums.digi.com/t/failed-to-run-sample-program-apix-gpio-sample-on-cc6-sbc/22564)

<div class="topic-metadata">

**Author:** [@Toshiaki\_Kojima](https://forums.digi.com/u/Toshiaki_Kojima)\
**Replies:** 0\
**Last updated:** [July 26, 2021, 9:23am UTC](https://forums.digi.com/t/failed-to-run-sample-program-apix-gpio-sample-on-cc6-sbc/22564 "2021-07-26T09:23:55Z")

</div>

I tried to build and run the apix-gpio-sample on CC6 SBC (CC-SB-WMX-J97C-1). But I failed with the following error messages from the Eclipse remote terminal window: libsoc-warn: Invalid number: gpio2,5 libsoc-warn: In…

---

## [digOutBank not working](https://forums.digi.com/t/digoutbank-not-working/22281)

<div class="topic-metadata">

**Author:** [@STR](https://forums.digi.com/u/STR)\
**Replies:** 5\
**Last updated:** [March 22, 2021, 7:39am UTC](https://forums.digi.com/t/digoutbank-not-working/22281 "2021-03-22T07:39:11Z")

</div>

Hello, I tested the DIGOUT\_BANK.C sample and it works fine (BL4S200). The demo begins by configuring the first 8 channels as outputs, and then uses digOutBank() to set or clear the selected output. If I configure chan…

---

## [Xpee3's GPIO max rate](https://forums.digi.com/t/xpee3s-gpio-max-rate/22267)

<div class="topic-metadata">

**Author:** [@cmare](https://forums.digi.com/u/cmare)\
**Replies:** 2\
**Last updated:** [March 10, 2021, 3:11pm UTC](https://forums.digi.com/t/xpee3s-gpio-max-rate/22267 "2021-03-10T15:11:32Z")

</div>

Hi all, I want to communicate between Xbee3 RF (XK3-Z8S-WZM) and Load Cell Amplifier - HX711. The first idea is to write a MicroPython driver, but I noticed when HX711’s PD\_SCK pin (Xbee out) changes from low to high an…

---

## [DIN and DOUT as DIO](https://forums.digi.com/t/din-and-dout-as-dio/22050)

<div class="topic-metadata">

**Author:** [@elfalaaa](https://forums.digi.com/u/elfalaaa)\
**Replies:** 5\
**Last updated:** [December 30, 2020, 1:28pm UTC](https://forums.digi.com/t/din-and-dout-as-dio/22050 "2020-12-30T13:28:35Z")

</div>

Hi, Im using XBEE S2C (XB24CAPIT-001) to control some imputs and relays. The module has 12 DIO, but i need 14 for my purpose. I dont need to use UART on those modules, so my question is if it is posible to use the DIN a…

---

## [ConnectCore 6UL SBC Pro DEY 3.0 r2 gpiomon not working](https://forums.digi.com/t/connectcore-6ul-sbc-pro-dey-3-0-r2-gpiomon-not-working/21968)

<div class="topic-metadata">

**Author:** [@uwel](https://forums.digi.com/u/uwel)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 8:38am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-dey-3-0-r2-gpiomon-not-working/21968 "2020-11-06T08:38:04Z")

</div>

Hello A console image was generated with DEY 3.0 r2 on Nov. 3rd. 2020. While gpiodetect, gpioinfo, gpioset, gpioread were working properly gpiomon was not working. These were my attempts: root@btc:~# gpiomon 6 4 gp…

---

## [Using parallel LCD interface pins as GPIO](https://forums.digi.com/t/using-parallel-lcd-interface-pins-as-gpio/21959)

<div class="topic-metadata">

**Author:** [@dallas.noregon](https://forums.digi.com/u/dallas.noregon)\
**Replies:** 2\
**Last updated:** [November 5, 2020, 1:30pm UTC](https://forums.digi.com/t/using-parallel-lcd-interface-pins-as-gpio/21959 "2020-11-05T13:30:33Z")

</div>

We have a board designed by the Digi custom dev group based on the imx6UL SOM. They started with the SBC Pro as a reference design looks like, and have 3 of the GPIOs we requested be connected to our custom peripheral ro…

---

## [Is there an easy reference for XBee 3 servo control Python?](https://forums.digi.com/t/is-there-an-easy-reference-for-xbee-3-servo-control-python/21902)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [October 21, 2020, 10:39am UTC](https://forums.digi.com/t/is-there-an-easy-reference-for-xbee-3-servo-control-python/21902 "2020-10-21T10:39:37Z")

</div>

i just want to hook up a servo to rotate from 0 degrees to 30 degrees back to 0 degrees uppon startup (micropython firmware PS=1) Python preferred. thanks!

---

## [Can I get some help with XBee Pro GPIO?](https://forums.digi.com/t/can-i-get-some-help-with-xbee-pro-gpio/21715)

<div class="topic-metadata">

**Author:** [@XOMR](https://forums.digi.com/u/XOMR)\
**Replies:** 6\
**Last updated:** [September 4, 2020, 4:53am UTC](https://forums.digi.com/t/can-i-get-some-help-with-xbee-pro-gpio/21715 "2020-09-04T04:53:14Z")

</div>

Hello, I need some help with an Xbee GPIO project. I’m using the Grove Development boards and am trying to make a simple circuit: have one xbee read a digital input (button press) and have another xbee write a digital o…

---

## [xbee3: PR and PD, pull-up/pull-down enabling/setting](https://forums.digi.com/t/xbee3-pr-and-pd-pull-up-pull-down-enabling-setting/21711)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 5\
**Last updated:** [August 27, 2020, 10:23am UTC](https://forums.digi.com/t/xbee3-pr-and-pd-pull-up-pull-down-enabling-setting/21711 "2020-08-27T10:23:09Z")

</div>

Hello, I’m wondering about the PR and PD settings for my XBee3. Im using XCTU to configure. So whats the point of pull-up vs pull-down resistor enabling? my DIO6(PIN16) and DIO8 (pin9) on my XBee3 THT device outputs ~3v…

---

## [GPIO Wake-up on ConnectCore](https://forums.digi.com/t/gpio-wake-up-on-connectcore/21662)

<div class="topic-metadata">

**Author:** [@matli](https://forums.digi.com/u/matli)\
**Replies:** 3\
**Last updated:** [August 17, 2020, 9:37am UTC](https://forums.digi.com/t/gpio-wake-up-on-connectcore/21662 "2020-08-17T09:37:18Z")

</div>

I am trying to wake up my system (ConnectCore 6UL SBC Pro, with dey 3.0) from suspend by using edge interrupts on a GPIO pin, with no success so far. I have the latest MCA firmware. I have tried with the method in the …

---

## [So, you can run firmware(MicroPython Project) and software(Python Project) concurrently(same time).](https://forums.digi.com/t/so-you-can-run-firmware-micropython-project-and-software-python-project-concurrently-same-time/21605)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 27\
**Last updated:** [August 7, 2020, 4:26pm UTC](https://forums.digi.com/t/so-you-can-run-firmware-micropython-project-and-software-python-project-concurrently-same-time/21605 "2020-08-07T16:26:52Z")

</div>

So, you can run firmware(MicroPython Project) and software(Python Project) concurrently(same time) on an XBee3 network? Like if I turn on an xbee that has micropython uploaded to the device (firmware) that runs automatic…

---

## [XBee3: When i press the restart button on dev board, the LED attached pin 16 dimly illuminated](https://forums.digi.com/t/xbee3-when-i-press-the-restart-button-on-dev-board-the-led-attached-pin-16-dimly-illuminated/21630)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 9\
**Last updated:** [August 6, 2020, 8:45am UTC](https://forums.digi.com/t/xbee3-when-i-press-the-restart-button-on-dev-board-the-led-attached-pin-16-dimly-illuminated/21630 "2020-08-06T08:45:32Z")

</div>

XBee3: When i press the restart button on dev board, the LED attached to pin 16 dimly illuminated. Why is this. I don’t want that little voltage to go to that pin when I press restart lol

---

## [Do you think it is possible / how might make XBee(s) self-configure based on what they see in the system?](https://forums.digi.com/t/do-you-think-it-is-possible-how-might-make-xbee-s-self-configure-based-on-what-they-see-in-the-system/21531)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 3\
**Last updated:** [July 29, 2020, 3:06pm UTC](https://forums.digi.com/t/do-you-think-it-is-possible-how-might-make-xbee-s-self-configure-based-on-what-they-see-in-the-system/21531 "2020-07-29T15:06:15Z")

</div>

So I have a home project I am working on. I will describe my project and then get to the question. I have a network of 10 XBee’s successfully communicating and performing the same basic functions but in a position depen…

---

## [XBee 3 and MCP23017 I2C IO Expander... setup not working.](https://forums.digi.com/t/xbee-3-and-mcp23017-i2c-io-expander-setup-not-working/21576)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 7\
**Last updated:** [July 28, 2020, 12:19pm UTC](https://forums.digi.com/t/xbee-3-and-mcp23017-i2c-io-expander-setup-not-working/21576 "2020-07-28T12:19:46Z")

</div>

So I am trying to run a simple I2C scan program in Micropython that scans for the I2C device I have connected to my XBee3 and then simply prints out that it saw the I2C device during the scan. I’m using the MCP23017 DIP…

---

## [I don't understand the purpose of micropython.. my xbee project needs it though.](https://forums.digi.com/t/i-dont-understand-the-purpose-of-micropython-my-xbee-project-needs-it-though/21586)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [July 28, 2020, 11:17am UTC](https://forums.digi.com/t/i-dont-understand-the-purpose-of-micropython-my-xbee-project-needs-it-though/21586 "2020-07-28T11:17:00Z")

</div>

My xbee3 project is going to need some I/O expanders. The way I’m thinking to do this is by using I2C protocol. The only way to interface with I2C protocol on the xbee3 is using MircoPython, which the xbee3 supports. So…

---

## [Can a Python script import micropython libraries as well as tkinter libraries?](https://forums.digi.com/t/can-a-python-script-import-micropython-libraries-as-well-as-tkinter-libraries/21593)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [July 27, 2020, 1:41pm UTC](https://forums.digi.com/t/can-a-python-script-import-micropython-libraries-as-well-as-tkinter-libraries/21593 "2020-07-27T13:41:37Z")

</div>

Hello, I have a router XBee3 with an I2C bus setup that has an i2c mcp23017 I/o expander as a slave on the bus. My question is can you have a python file that imports the micropython library machine functionalities. Fu…

---

## [Can you use I/O pins to power other microcontroller? why would you or why shouldnt you?](https://forums.digi.com/t/can-you-use-i-o-pins-to-power-other-microcontroller-why-would-you-or-why-shouldnt-you/21571)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 12:20pm UTC](https://forums.digi.com/t/can-you-use-i-o-pins-to-power-other-microcontroller-why-would-you-or-why-shouldnt-you/21571 "2020-07-22T12:20:31Z")

</div>

Can you use I/O pins to power other microcontroller? why would you or why shouldnt you? If I used the I/O pin of my XBee to power an atmega328pu microchip… is this normal or whats your reaction? thanks :slight\_smile:

---

## [Event Logging: How to have get\_dio\_value return 1 or 0 instead of IOValue.HIGH / LOW](https://forums.digi.com/t/event-logging-how-to-have-get-dio-value-return-1-or-0-instead-of-iovalue-high-low/21569)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 8:34am UTC](https://forums.digi.com/t/event-logging-how-to-have-get-dio-value-return-1-or-0-instead-of-iovalue-high-low/21569 "2020-07-22T08:34:28Z")

</div>

I am logging events in python… simple IO change of state events. When I say value = module.get\_io\_value and log/print the content of value of course you get either IOValue.HIGH or IOValue.LOW. I want to log a 1 for IOV…

---

## [XBee 900HP programmable - pull down & drive strength settings](https://forums.digi.com/t/xbee-900hp-programmable-pull-down-drive-strength-settings/21556)

<div class="topic-metadata">

**Author:** [@D2K](https://forums.digi.com/u/D2K)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 8:33am UTC](https://forums.digi.com/t/xbee-900hp-programmable-pull-down-drive-strength-settings/21556 "2020-07-22T08:33:00Z")

</div>

I am using the 900HP(programmable). How do I configure an input as a pull-down resistor in CodeWarrior/SDK? I seem to only be getting the choice of pull-up when I select my pin as an input under GPIO Type in the Smart Ed…

---

## [How to use MC2301-E/SP I2C I/O expander with Digi XBee 3 (Python)](https://forums.digi.com/t/how-to-use-mc2301-e-sp-i2c-i-o-expander-with-digi-xbee-3-python/21563)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 2\
**Last updated:** [July 20, 2020, 5:33am UTC](https://forums.digi.com/t/how-to-use-mc2301-e-sp-i2c-i-o-expander-with-digi-xbee-3-python/21563 "2020-07-20T05:33:46Z")

</div>

Just got some MC23017-E/SP I2C I/O expanders. Hoping to use them with my XBee 3 RF router modules. Am I write to think that I would use Micropython to interface with the I2C I/O expander chips? How would I communicate wi…

---

## [XBee 3: I/O expander MCP23017 using Micropython I2C interface - importing libraries?](https://forums.digi.com/t/xbee-3-i-o-expander-mcp23017-using-micropython-i2c-interface-importing-libraries/21564)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [July 20, 2020, 4:33am UTC](https://forums.digi.com/t/xbee-3-i-o-expander-mcp23017-using-micropython-i2c-interface-importing-libraries/21564 "2020-07-20T04:33:47Z")

</div>

does Python XBee support have libraries for utiziling the MCP23017 I2C I/O port expander. I’m assuming one would use Micropython I2C to setup the I/O port expander onto the I2C bus and then have I2C sensors plugged into …

---

## [What do my printed ADC values from my moisture sensor really mean?](https://forums.digi.com/t/what-do-my-printed-adc-values-from-my-moisture-sensor-really-mean/21558)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 4\
**Last updated:** [July 15, 2020, 1:27pm UTC](https://forums.digi.com/t/what-do-my-printed-adc-values-from-my-moisture-sensor-really-mean/21558 "2020-07-15T13:27:29Z")

</div>

Ok so here are my brief setup details: xbee coordinator communicating with xbee remote router module both in API mode. I have a YL-69 moisture sensor connected to the YL-38 meter. On the YL-38 meter I have pin “D0” conn…

---

## [XBee(s): Do you have to use Micropython to utilize I2C?](https://forums.digi.com/t/xbee-s-do-you-have-to-use-micropython-to-utilize-i2c/21554)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 6\
**Last updated:** [July 15, 2020, 1:21pm UTC](https://forums.digi.com/t/xbee-s-do-you-have-to-use-micropython-to-utilize-i2c/21554 "2020-07-15T13:21:29Z")

</div>

I am kind of confused about the purpose for Micropython. At first I thought I would use it in my project… now I am not so sure. But I might have to use it?.. I can configure, set and get all the IO pin values just using…

---

## [Failing to establish network communication with my XBee 3(s).](https://forums.digi.com/t/failing-to-establish-network-communication-with-my-xbee-3-s/21536)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [July 8, 2020, 12:30pm UTC](https://forums.digi.com/t/failing-to-establish-network-communication-with-my-xbee-3-s/21536 "2020-07-08T12:30:33Z")

</div>

EDIT\*\* UGH. nvm lol… I just plugged in the antennas that came in the box.. poof works. But I thought they had a built in on-chip antenna as well as the connector antenna?.. this was literally like a multiple day issue an…

---

## [can you have i2c bus and use microcontroller's dio pins same time?](https://forums.digi.com/t/can-you-have-i2c-bus-and-use-microcontrollers-dio-pins-same-time/21525)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 2\
**Last updated:** [July 7, 2020, 1:48pm UTC](https://forums.digi.com/t/can-you-have-i2c-bus-and-use-microcontrollers-dio-pins-same-time/21525 "2020-07-07T13:48:52Z")

</div>

can you have i2c bus and use microcontroller’s dio pins same time for different purposes? thanks

---

## [Explain: Difference between set.io.configure and set.dio.value?](https://forums.digi.com/t/explain-difference-between-set-io-configure-and-set-dio-value/21509)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 1:11pm UTC](https://forums.digi.com/t/explain-difference-between-set-io-configure-and-set-dio-value/21509 "2020-06-29T13:11:39Z")

</div>

When dealing with manipulating pins often in a program I was told that “I shouldn’t use the configuration method frequently… only to configure an IO port initially. I should use a set method to change the IO port often.”…

[Next page](https://forums.digi.com/tag/gpio/19.md?match_all_tags=true&page=1&tags%5B%5D=gpio)
