Shop OBEX P1 Docs P2 Docs Learn Events
Xbee Manual Configuration — Parallax Forums

Xbee Manual Configuration

yaskyyasky Posts: 5
edited 2011-08-31 11:15 in Accessories
Is it possible to manually reconfigure an Xbee pro RF module with BASIC code? What I would like to do is have one module as the transmitter and up to 6 modules as receivers. I need to communicate with the 6 receivers indepentently. I will be using them in the field without a PC and X-tcu software. My thought is to use the I/O pins of the transmitter module to trigger a GOSUB routine and have code change the channel or PAN number stored in the transmitter to match the receiver. Any ideas? Thx

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-08-30 22:01
    This should be doable with a Stamp (I'm assuming that's what you want to use).

    The XBee datasheet lists the AT commands. You send "+++" to the XBee to put it in command mode (I don't remember what the mode is called) and then you send your AT commands.

    I've done this with the Prop several times.

    One thing to remember. While you end most AT commands with a carriage return, make sure you don't use one after "+++" or the XBee wont enter command mode.

    Duane
  • sylvie369sylvie369 Posts: 1,622
    edited 2011-08-31 03:30
    The answer is a definite "yes". This document from Martin Hebel will tell you everything you need to know:

    http://www.selmaware.com/appbee/index.htm

    Go to the document at the bottom labelled "AppBee Documentation with BASIC Stamp / StampDAQ / StampPlot Examples".
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2011-08-31 08:36
    And the "Getting Started with the XBee" text is great source of information as well for code-configuration.

    http://www.parallax.com/go/xbee

    -Martin
  • yaskyyasky Posts: 5
    edited 2011-08-31 11:15
    Thanks for the info. I'll start the project and let you know how it ends.
Sign In or Register to comment.