Connecting the xbee's to propeller demo board
chris jones
Posts: 391
Hello
i am trying to connect my propeller demo boards to my xbee i have seen a lot of exmamples online but i think my hookup i slihjtly wrong. but i dont want to wire the xbees wrong and fry them so i am asking for a little assistance. i have screenshots as soon as i can get them uploaded from my camera
i am trying to connect my propeller demo boards to my xbee i have seen a lot of exmamples online but i think my hookup i slihjtly wrong. but i dont want to wire the xbees wrong and fry them so i am asking for a little assistance. i have screenshots as soon as i can get them uploaded from my camera
Comments
have you seen the drafts of the Xbee tutorials on the Parallax Wireless forum?
Check it out:
http://forums.parallax.com/showthread.php?t=124213
I can't make my old eyes count the pins in those pics.
Lighting and contrast look good.
Perhaps you could post some new photos?
You only need four connections. All of them are on the left side. No resistors are needed.
3.3v goes to the second pin from the top.
DOUT is the third pin from the top (DOUT is what the Propeller receives)
DIN is the fourth pin from the top (DIN is what the Propeller transmits to)
Ground is the 11th (last pin) pin
Rich H
Rich H
Rich H
http://forums.parallax.com/showthread.php?t=124213
Rich H
' Set pins and Baud rate for XBee comms
XB_Rx = 0 ' XBee DOUT
XB_Tx = 1 ' XBee DIN
XB_Baud = 9600
Do You have the USB XBee adapter for configuring the XBees using the X-CTU software?
Rich H
Not sure why a bad solder joint on the XBee adapter would cause a "Propeller not found" error...
I have not used the "Serial pass through" method, instead I used the X-CTU program with the Xbee on the USB XBee adapter connected directly to the USB cable.
Rich H
i have some demo code i was working on can you help me i used the old school transmit and reciver. and i tried to code it the same way but ran into some issues how would i send infomation to 1 xbee to another. i see exmaples in the text but i am not sure ow to tell the other xbee i want to talk to it.my starting code is below anything will help.
http://www.parallax.com/Portals/0/Downloads/docs/books/PCMPMCh5.pdf
Rich H
No, it does talk to the other Xbee. The thing is the other XBee just mimics back whatever is sent to it so that the data appears on your computer screen.
Here's what happens;
You type something, say an "A". That "A" is sent from your computer to the Propeller via the USB cable. The Propeller, which is running SerialPassThrough.spin, sends the "A" to the DIN on the XBee which you have hooked up to the Demo Board, I'll call that the "near" XBee.
The near XBee then communicates with the far XBee and passes the "A" to it.
The far XBee, having received the "A" sends the "A" out of it's DOUT. In normal use the "A" would then go to a microcontroller and this would be the end of the trip but for testing the DOUT and DIN are connected together on the far XBee.
So the "A" that just came out of the far XBee's DOUT goes right back into the far XBee's DIN. The far XBee then communicates with the near XBee and passes the "A" back to it.
The near XBee receives the "A" and then sends the "A" out of it's DOUT to the Propeller. The Propeller, still running SerialPassThrough.spin, sends the "A" back through the USB cable and it is displayed right next to the original "A" that you typed on your computer's screen.
Rich H
http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/637/Default.aspx?txtSearch=customizing+multicore
You'll find the sample chapter 5, about Xbee.
Massimo
http://www.parallax.com/Portals/0/Do...s/PCMPMCh5.pdf
Sorry for the double post.
Did you already check also the draft chapters under the wireless forum?
I think a real time conversation would be helpful. Perhaps you should give Parallax a call. So much more information can be exchanged in a short time frame in a phone call than on a forum.
If you don't mind this leisurely pace then it would be helpful if you could go into great detail what you have done, how you have it hooked up and exactly what is happening, or isn't happening.
Rich H