Shop OBEX P1 Docs P2 Docs Learn Events
xBee with Propeller and Linux ? — Parallax Forums

xBee with Propeller and Linux ?

BigFredBigFred Posts: 9
edited 2011-02-09 21:49 in Propeller 1
Hi,

I'm using Linux Fedora v12 and I'm new to MCU programming.

I've got 2 xBee S1's, one is on my propeller demo board and the other is
connected to my PC using the Parallax xBee USB adapter board.

QUESTION:

What software should I use to setup and manage the xBee thats connected to
my PC ? X-CTU seems to be only for Windows. What's the best/simple to use
software for Linux ? Should I just use any DCE/DTE term software or what ?

Thanks,
Fred

Comments

  • BigFredBigFred Posts: 9
    edited 2010-11-28 10:37
    I've searched in the forums.

    Is there no good way to use the xBee with Linux and the Propeller ?
  • sylvie369sylvie369 Posts: 1,622
    edited 2010-11-28 10:47
    The XBee can be setup using a normal terminal program and AT commands. XCTU makes it possible to see all of the settings at once, and to make numerous changes from one screen, but there is no reason why you cannot make the changes one at a time with AT commands as described in the XBee documentation, and write them to the XBee's nonvolatile memory using ATWR.

    You can also change the settings "on the fly" through your Prop code, so that the XBee that's attached to a Prop is set up by that Prop when it runs its program.
  • BigFredBigFred Posts: 9
    edited 2010-11-28 13:18
    Thanks for that, I'll try it.
  • sylvie369sylvie369 Posts: 1,622
    edited 2010-11-28 15:08
    Be careful of course if you change the interface rate (ATBD), of course, because if you don't know what rate you're set to, you won't be able to contact the XBee. I'd read through the AT commands in the configuration part of the XBee docs before trying things. You'll learn a few things about what an XBee is capable of as you read it.
  • cac7xycac7xy Posts: 3
    edited 2011-02-09 21:34
    I've been trying to configure the XBee using the propeller chip without any success. I'm using the XBee object found on the object exchange but can't seem to figure out why it doesn't work. I'll attach my code, perhaps someone can tell me how silly mistake I'm making.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-02-09 21:38
    Make sure you have the xBee device connected properly. Post a schematic or at least a wiring list (pin x of xBee connected to pin y of Propeller) ...
  • cac7xycac7xy Posts: 3
    edited 2011-02-09 21:49
    Thanks for the quick reply.
    I only have four connections to the XBee. Vss to ground, Vcc to 3.3 Volts, Dout to pin 6 in the propeller, and Din to pin 7 in the propeller.
    Also, I know that my connection work since I've gotten two XBees transmitting properly.
Sign In or Register to comment.