# I have connected adxl 335 with xbee2 but after connecting ADC output is coming vcc , can anybody help

**URL:** <https://forums.digi.com/t/i-have-connected-adxl-335-with-xbee2-but-after-connecting-adc-output-is-coming-vcc-can-anybody-help/16495>\
**Category:** Other RF Products\
**Tags:** s2, adxl335, xbee\
**Created:** [March 27, 2016, 10:35am UTC](https://forums.digi.com/t/i-have-connected-adxl-335-with-xbee2-but-after-connecting-adc-output-is-coming-vcc-can-anybody-help/16495 "2016-03-27T10:35:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadow123](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@shadow123](https://forums.digi.com/u/shadow123)\
**Post date:** [March 27, 2016, 10:35am UTC](https://forums.digi.com/t/i-have-connected-adxl-335-with-xbee2-but-after-connecting-adc-output-is-coming-vcc-can-anybody-help/16495/1 "2016-03-27T10:35:13Z")

</div>

I have directly connecting adxl 335 pins to xbee pin 0,1 and 2. Xbee pins are configured to analog pins. Without any input to analog pins ADC output shows 3.3v at all pins, please suggest the problem

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [March 28, 2016, 8:45am UTC](https://forums.digi.com/t/i-have-connected-adxl-335-with-xbee2-but-after-connecting-adc-output-is-coming-vcc-can-anybody-help/16495/2 "2016-03-28T08:45:53Z")

</div>

The XBee S2 only accepts from 0 - 1.2V max on the ADC pins.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [March 28, 2016, 9:26am UTC](https://forums.digi.com/t/i-have-connected-adxl-335-with-xbee2-but-after-connecting-adc-output-is-coming-vcc-can-anybody-help/16495/3 "2016-03-28T09:26:21Z")

</div>

Did you enable the pins via the radios firmware? That would be commands D0, D1 and D2.

---

<div class="post-metadata">

**Author:** ![shadow123](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@shadow123](https://forums.digi.com/u/shadow123)\
**Post date:** [March 30, 2016, 12:56am UTC](https://forums.digi.com/t/i-have-connected-adxl-335-with-xbee2-but-after-connecting-adc-output-is-coming-vcc-can-anybody-help/16495/4 "2016-03-30T00:56:15Z")

</div>

thanks a lot, I have brought down the adxl output voltage to 0 to 1.2v and it is working fine.
