Propeller - XBee
BenClark
Posts: 20
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
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
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.
Vcc
Gnd
Send (DIN)
Out (DOUT)
What are all the other pins for?
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
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
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.
Cheers
Tony