Shop OBEX P1 Docs P2 Docs Learn Events
XBEE — Parallax Forums

XBEE

B.ASHISHB.ASHISH Posts: 28
edited 2012-09-19 16:53 in General Discussion
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.

Comments

  • sylvie369sylvie369 Posts: 1,622
    edited 2012-09-12 04:59
    Here you go: https://www.parallax.com/portals/0/downloads/docs/prod/book/122-32450-XBeeTutorial-v1.0.1.pdf

    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.
  • B.ASHISHB.ASHISH Posts: 28
    edited 2012-09-19 09:08
    I want to transmit a message from one xbee to another.Please tell me how to transmit from an XBEE and make the other one receive.(both are working at the same Baud Rate).
    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.
  • B.ASHISHB.ASHISH Posts: 28
    edited 2012-09-19 09:36
    I atleast want how to transmit and make the other one receive ,interpret and execute the message
  • PliersPliers Posts: 280
    edited 2012-09-19 09:50
    I have played around a little with the Xbees, it can be confusing.
    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.
  • B.ASHISHB.ASHISH Posts: 28
    edited 2012-09-19 13:37
    It's running well from the Parallax Serial Terminal.I just want to transmit and make the other 2 receive wirelessly.Say suppose,I want to transmit an integer value and I want the other one to receive it and do some action (say, an LED gets ON.) to indicate that it has received the message.
  • PliersPliers Posts: 280
    edited 2012-09-19 16:53
    I'm not an Xbee expert.
    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?
Sign In or Register to comment.