Hello,
I am trying to get an Arduino to talk to a smart phone. For now I am just trying to receive data with netcat on a laptop.
I am trying to use this library
and this example
to talk to the XBee S6B.
The command
xbee.init(XBEE_SELECT, XBEE_ATN, XBEE_RESET, XBEE_DOUT)
fails so I am checking the pins.
Shield manual: http://www.arduino.cc/en/uploads/Main/arduino_WirelessShield_Proto_v3-schematic.pdf
XBee manual: http://ftp1.digi.com/support/documentation/90002180_K.pdf
Initially they were set to
#define XBEE_RESET 20
#define XBEE_ATN 2
#define XBEE_SELECT SS
#define XBEE_DOUT 23
And I looked on the xbee pin signal page for similar acronyms...
It looks like I want pins 5, 19, 17, and 2 on the xbee, which seem to be mapped to pins
#define XBEE_RESET 5
#define XBEE_ATN 9
#define XBEE_SELECT 7
#define XBEE_DOUT 2
but xbee.init return false (I print an error in the serial monitor).
I am trying to monitor the signal like this.
$ nc -luv 9750
Thank you for any help.