Shop OBEX P1 Docs P2 Docs Learn Events
Propeller - XBee — Parallax Forums

Propeller - XBee

BenClarkBenClark Posts: 20
edited 2011-04-09 04:58 in Propeller 1
I am new to the Propeller chip.
I want to combine an XBee chip with the Propeller.
I have been a software engineer for over 30 years, so from a software perspective, I don't have any trouble.
However, from a hardware perspective, that's another thing altogether.
What I am looking for is, I hope really simple.
How do I connect an XBee chip to the Propeller?
Which XBee pin goes to which Propeller pin? etc...

I am looking at the Gadget Gangster Propeller SD module or USB module.
Is there a document out there anywhere that will give me directions for connecting the two?

Thanks
Ben

Comments

  • sylvie369sylvie369 Posts: 1,622
    edited 2010-07-24 17:09
    Very simple.

    3.3V supply to XBee's Vcc pin (Pin 1 on the XBees I use, and I believe on all of them). This can be a separate supply, or the same supply powering your Prop. Be sure to check that it can deliver enough current to run everything. The XBee's current requirements in transmit, receive, and standby are all listed in the manual.

    Supply ground to XBee's GND pin (Pin 10 on the XBees I use, and I believe on all of them). This must be the same ground that your Prop chip is using.

    Whichever Prop pin you're using to send data to the XBee connects to the XBee's DIN pin (Pin 3)

    Whichever Prop pin you're using to receive data from the XBee connects to the XBee's DOUT pin (Pin 2).

    I'm using the regular XBee Series 1 2.4 GHz modules. Be sure to verify pinouts with the module you're using.

    You can also go over to the new wireless forum (below), and read the draft documentation they're putting together. It should help a lot. Excellent teachers there.
  • BenClarkBenClark Posts: 20
    edited 2010-07-24 17:18
    So, out of all those pins on the XBee, I am only going to use 4 of them?
    Vcc
    Gnd
    Send (DIN)
    Out (DOUT)

    What are all the other pins for?
  • kf4ixmkf4ixm Posts: 529
    edited 2010-07-24 18:58
    BenClark said...
    What are all the other pins for?
    Structual Integrity! lol.gif


    eyes.gif

    No, seriously, the other pins are for other functions depending on the mode you are running the module in, analog and digital·i/o mirroring or line passing, pwm i/o, as·described in the documentation on the digi website, the datasheet can be found here...

    http://ftp1.digi.com/support/documentation/90000982_B.pdf
    (see page 7 of the pdf for the exact pinouts)

    Also, Parallax is working on some great documentation geared specifically toward basic stamp and propeller implementation. You can find a draft of this documentation here...
    http://forums.parallax.com/showthread.php?p=924932

    Hope this helps!
    ·

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm just 7*1027 atoms floating through time and space in close formation. -KF4IXM


    Visit my blog of Projects and Random Rants


    Post Edited (kf4ixm) : 7/24/2010 7:04:11 PM GMT
  • sylvie369sylvie369 Posts: 1,622
    edited 2010-07-24 19:06
    BenClark said...
    So, out of all those pins on the XBee, I am only going to use 4 of them?
    Vcc
    Gnd
    Send (DIN)
    Out (DOUT)

    What are all the other pins for?
    Like kf said, they're for all sorts of other things. I'm sure somewhere in there you'll find the "song and dance routine" pin. XBees do everything. But if you just want to send serial data from one to another, yup, you're going to just use four pins.
  • Cats92Cats92 Posts: 149
    edited 2010-07-24 20:46
    Hello,

    To begin wlth Xbee (version 1: 802.15 .4) this 4 pins are all you need. You connect these 4 pins with simple wires and it works.

    You have to use the initial values (9600 bauds ) . You begin with something like :

    fullD.start(pinRx, PinTx, 0,9600); (using Fullduplexserial for connection)
    fulld.getstring(@message); (to read a message)

    If you want to change these values (Bauds? ...) other connections are necessary.

    Cats92
  • whiteoxewhiteoxe Posts: 794
    edited 2010-11-21 17:30
    sylvie369 wrote: »
    Very simple.

    3.3V supply to XBee's Vcc pin (Pin 1 on the XBees I use, and I believe on all of them). This can be a separate supply, or the same supply powering your Prop. Be sure to check that it can deliver enough current to run everything. The XBee's current requirements in transmit, receive, and standby are all listed in the manual.

    Supply ground to XBee's GND pin (Pin 10 on the XBees I use, and I believe on all of them). This must be the same ground that your Prop chip is using.

    Whichever Prop pin you're using to send data to the XBee connects to the XBee's DIN pin (Pin 3)

    Whichever Prop pin you're using to receive data from the XBee connects to the XBee's DOUT pin (Pin 2).

    I'm using the regular XBee Series 1 2.4 GHz modules. Be sure to verify pinouts with the module you're using.

    You can also go over to the new wireless forum (below), and read the draft documentation they're putting together. It should help a lot. Excellent teachers there.

    Structural integrity,hee hee :-)

    Thansks for this info. I amusing Picaxe and Arduino sites last couple of days. THE PROP is given a thumbs up by Picaxe posters. Both these sites have expensive boards or shields they recommend $30 ! and I was not yet sure how or if the datasheets minimum wiring would work.
  • ^Mr.Rat^^Mr.Rat^ Posts: 2
    edited 2011-04-09 02:09
    Hello everyone ,Im using the 2 x 900mhz xbee modules do I have to connect the same pins of the module to propeller or they are different for the 900mhz version ?
  • edited 2011-04-09 04:58
    Hi Ben, I'm working in this, still work in progress but may be of help to you.
    Cheers
    Tony
Sign In or Register to comment.