# Xbee DIO Adapter

**URL:** <https://forums.digi.com/t/xbee-dio-adapter/3325>\
**Category:** Python\
**Created:** [March 17, 2011, 10:04pm UTC](https://forums.digi.com/t/xbee-dio-adapter/3325 "2011-03-17T22:04:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mroussillon](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mroussillon](https://forums.digi.com/u/mroussillon)\
**Post date:** [March 17, 2011, 10:04pm UTC](https://forums.digi.com/t/xbee-dio-adapter/3325/1 "2011-03-17T22:04:11Z")

</div>

Hi People,

I have a question regarding how to add the pull up resistor to use ports 3 and 4 of DIO adapter as input, I even tried to use the terminals 1 and 2 as input and output 3 and 4 as they do not work, the only case that work is when I use as input port 1 and 2 as output or vice versa.

Could you please help me, what need to do to use ports 3 and 4 as either output or input.

From already thank you very much.

Marcos Roussillón

---

<div class="post-metadata">

**Author:** ![lynnl](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lynnl](https://forums.digi.com/u/lynnl)\
**Post date:** [March 23, 2011, 4:55am UTC](https://forums.digi.com/t/xbee-dio-adapter/3325/2 "2011-03-23T04:55:53Z")

</div>

If you turn the pin #6 power on, you’ll have a 12vdc source. Then you add an external pull-up resister (say 10K or 20K ohm) to any of the 4 signals.

---

<div class="post-metadata">

**Author:** ![mroussillon](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mroussillon](https://forums.digi.com/u/mroussillon)\
**Post date:** [March 23, 2011, 6:31pm UTC](https://forums.digi.com/t/xbee-dio-adapter/3325/3 "2011-03-23T18:31:55Z")

</div>

Hi Lynn,

Thanks four your help, I have the DIO adapter with 3,7 - 6V input range, but I’m confuce about what is the purpose of the 2do. battery slot, I provide voltage to the bigger battery slot (aprox. 4,5V) and the adapter works.  
The cuestion is that the second battery slot of the DIO is for the pin 6 output?, what voltage I can use to provide energy to that slot?.  
I search in the digi web page, forums, but I don’t found the battery detail description for the adapter.

Thanks again for your help.

Marcos

---

<div class="post-metadata">

**Author:** ![pmcdaid](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@pmcdaid](https://forums.digi.com/u/pmcdaid)\
**Post date:** [June 5, 2012, 7:01am UTC](https://forums.digi.com/t/xbee-dio-adapter/3325/4 "2012-06-05T07:01:34Z")

</div>

Lynn,

Given there are only 4 dip switches on the DIO, I think you mean “If you turn the DIP switch 2 on, you’ll have a 12vdc power source on pin #6.”

Correct?

In doing so, I am not getting 12V output on DIOs and AIOs with this configuration. (No internal batteries, by the way.) I’m using PIN 5 as ground. I also tried the device’s power input ground, still no 12V. Just 0V. Suggestions?

---

<div class="post-metadata">

**Author:** ![kjensen8](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kjensen8](https://forums.digi.com/u/kjensen8)\
**Post date:** [March 24, 2011, 11:25pm UTC](https://forums.digi.com/t/xbee-dio-adapter/3325/5 "2011-03-24T23:25:51Z")

</div>

Marcos,  
I think this is what you’re looking for (page 41):  
[http://ftp1.digi.com/support/documentation/90000891\_E.pdf](http://ftp1.digi.com/support/documentation/90000891_E.pdf)

Knight

---

<div class="post-metadata">

**Author:** ![bitelxux](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bitelxux](https://forums.digi.com/u/bitelxux)\
**Post date:** [May 17, 2013, 6:48am UTC](https://forums.digi.com/t/xbee-dio-adapter/3325/6 "2013-05-17T06:48:05Z")

</div>

Hi, did you solve this ??

I have DIO Adapters and set D4, D6, D7, P2 to 5 ( HIGH ) doesn’t produce any change on terminals X(
