Wireless communication in Boe Bot

Hi All,

I am in the process of establishing a wireless communication between the Boe Bot and PC.I have used App bee board mounted on Boe Bot at the receiver side.Xbee chip is on the App bee board.From the transmitter side,I am directly connecting to the source Xbee through XCTU.I have configured the soruce and destination address of source and destination xbee properly.When I send data from XCTU through the source xbee by connecting to the terminal mode and sending data.I am using the following BASIC stamp program that reads the data received at the destination xbee.

’ Example to receive decimal value and display in DEBUG Window using flow control
RX PIN 0 ’ Receive Pin
TX PIN 2 ’ Transmit Pin
RTS PIN 6 ’ RTS flow control pin
X VAR Byte
HIGH TX ’ Idle transmit pin
DEBUG CLS, “Configuring XBee for flow control”, CR
PAUSE 2000 ’ 2 second guard time
SEROUT TX, 84,"+++"] ’ Enter command mode
PAUSE 2000 ’ 2 second guard time
SEROUT TX, 84,“ATD6 1”,CR] ’ Enable flow control
SEROUT TX, 84,“ATCN”,CR] ’ Exit command mode
DO
DEBUG CR,“Press a key to retrieve data in buffer”, CR
DEBUGIN X ’ Wait for key press
GetData:
SERIN RX\RTS, 84,100,Timeout,[DEC x] ’ Receive data with 100mS timeout/flow control
DEBUG CR,DEC X ’ Display data
GOTO GetData ’ Loop back for more data
Timeout: ’ No data, repeat
LOOP

However I am not able to see the data in the DEBUG window of the BASIC editor.I am a novice in this area and hence can anybody help me in alleviating this problem?If the procedure that I follow is incorrect,please provide me the correct procedure.

Thanks in advance,
Lokesh

ibhoobal,

Have you read page 397 of the Basic Stamp Syntax and Reference Manual?

The BS2 is hard pressed to receive at 9600 baud.

Just a thought.

Regards,
TCIII