Go Down

Topic: Using the XBee pin's with AT command Arduino Supplied (Read 854 times) previous topic - next topic

NI$HANT

I have two Arduino's connected with XBee's and with a logical level converters at each XBee end now i want to supply an AT command from one arduino to another arduino with an XBee talking and want to make that receiving XBee's PIN high low, what would be the possible AT command for it, i just need one pin to be able to be toggled on and off to fetch the interrupt pin#2 on the Receiving arduino?
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

NI$HANT

I'm just looking to turn on/off a XBEE i/o pin on the receiving XBee.
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

faludi

You have two choices. You can use Remote AT commands (see "Remote Command Response" in the Product Manual or check "Remote AT Command Request" on page 135 of my book*). Otherwise you could use pin pairing which I call "XBee Direct" so that bringing one pin HIGH on a local XBee causes the matching ping to follow it on a remote XBee: http://www.faludi.com/xbee-direct-io-with-adc/


*Documentation:
http://ftp1.digi.com/support/documentation/90000982_G.pdf
http://faludi.com/bwsn

NI$HANT

I was able to connect to the Remote xbee and able to toggle remote xbee pins from the Base xbee pins here>> http://arduino.cc/forum/index.php/topic,111040.0.html
but the problem has been that i can do the same using the X-CTU  terminal commands like:

+++ok
ATD2=5(enter)
ATWR(enter)

and it works with X-CTU terminal

BUT if i do the same in other terminal the pins do not toggle ,BASICALLY I WANT TO DO IN THE ARDUINO IDE I MEAN IN THE CODE so that i have to put it in the code the same AT commands and toggle PIN's.
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Go Up