XBEE
B.ASHISH
Posts: 28
I want to configur a xbee in transmit mode and two other xbee modules i.e. in Receiving mode. i.e, I want to Broadcast.
Please tell me how to configure the 3 xbee modules using XCTU software to achieve this.Thank You in advance.
Please tell me how to configure the 3 xbee modules using XCTU software to achieve this.Thank You in advance.
Comments
The material on starting on page 5 will introduce you nicely to the XBee, and the material starting on page 25 will explain configuration.
If your XBees haven't already been messed with, you only need to worry about the MY and DL settings.
For configuring the 3 xbees in the Broadcast mode,I configured in the following way for the 3 xbees.(basically,I want to make a communicating group of 3 XBEEs on 3 Stingray Robots.)
Channel :C
PANID : 3332
DH:0
DL:FFFF
MY:FFFF
Is this correct?
Now,basically,I want to transmit a decimal value from a XBee module on a robot to another XBee which is placed on another robot.I want to implement the task of stopping 2 robots by sending a message from the first robot.Iused XB.Dec(1) and transmitted from the first stingray.The other one is receiving but it's not stopping.When I sent the same value from the Parallax Serial Terminal,it's stopping.In the receiving robot,I wrote
a := (XB.rxDec)
if(a == 1)
pwm.stop
I'm not exactly understanding how to receive,decode and execute based on the received data.
Finally,I want to transmit the Left wheel encoder reading,right wheel encoder reading,and the angle of the stingray to the other 2 stingray robots.Please help me how to transmit and receive these values.
Please help me in this endeavour.
Your project sounds complicated.
Have you done any simple stuff with your xbees?
The Xbee is just a wireless serial connection.
You could work on your programming and ignore the Xbees by using a direct (wired connection) between your robots.
Use a full duplex serial object from the obex to communicate between robots.
When that is working, remove the wires and add the Xbees.
I hope this was somewhat helpful.
I did use a set of Xbees for a very simple remote control application. I did not even use a micro computer on the receiver end. The transmitter side was ran from visual basic.
If you got time, I'll look at doing some propeller to propeller communications and I'll let you know how I do.
I did buy the xbee start kit from parallax. It has a nice book on this type of project.
Did you buy the starter kit, or just a couple xbees?