Problem of communication between XBee and BS2
Arnaud E
Posts: 5
Hello !
First of all, sorry for my approximate english.
I'm student and I learn to make communicate a XBee (series 1) and a BS2. I use the book "Getting Started with XBee RF Modules".
I arrive to make communicate two XBee without problem (loop back mode).
When I try to use a BS2 for to communicate with two XBee, data are transmitted but I see only special characters in the X-CTU terminal window.
Example :
I connected pin DOUT with pin 15 of BS2 and pin DIN with pin 14 of BS2.
Here is the program :
Thank you.
First of all, sorry for my approximate english.
I'm student and I learn to make communicate a XBee (series 1) and a BS2. I use the book "Getting Started with XBee RF Modules".
I arrive to make communicate two XBee without problem (loop back mode).
When I try to use a BS2 for to communicate with two XBee, data are transmitted but I see only special characters in the X-CTU terminal window.
Example :
The XBee modules are restored to default configuration (but channel = 17). One of two modules is connected at the PC (USB - Windows XP) and the other is connected on the breadboard.Com...Com...
Co...6
s...7
.8
w..9.w. ..w. = m..r ..{.w.ur...GW...ompv..Com...s.c...17
w.1..W.= .... = o...
I connected pin DOUT with pin 15 of BS2 and pin DIN with pin 14 of BS2.
Here is the program :
Normally, it's very simple as assembly... Can anyone help me ?' {$STAMP BS2}
' {$PBASIC 2.5}
' {$PORT COM1}
Baud CON 84
Rx PIN 15
Tx PIN 14
RTS PIN 11
Counter VAR Byte
PAUSE 500 '1/2 seconde pour stabiliser la communication
SEROUT Tx, Baud, [CLS,"Programme en cours...",CR]
PAUSE 2000
FOR Counter = 1 TO 20
SEROUT Tx, Baud, ["Compteur = ",DEC Counter,CR]
PAUSE 100
NEXT
SEROUT Tx, Baud, ["Boucle terminee.",CR]
END
Thank you.
Comments
Dave
The BS2 is connected at the serial port but one of two XBee is connected at USB port.
I thinking at a problem of parasites or a problem with USB (timing). It's possible ?
I try at home, on my PC. I'll keep you informed.
It's same worse ! The X-CTU terminal window shows only points.
I always look for a solution...