Is my XBee working on my Prop BOE?
smithdavidp
Posts: 146
Boy......when you get started with the Prop BOE it seems like money juct flows out of my pocket. Anyway I had to go to Radio Shach to buy some 3.3 1/4 watt resistors for my Ping Sensor and some 3.9 1/4 Watt resistors for my servos. While there I saw that they had the Xbee package kit, a $99.00 value and a PMB-648 SiRF GPS Module. My brain told me no but my heart said go for it. I left Radio Shack some $168.00 heavier on my credit card. I pluged the Xbee module on to my Prop BOE (above the ram memory card holder) with it faceing the same direction as the Xbee picture on the Prop BOE. I pluged the other Xbee module onto the USB card. I installed the X-CTU software and ran the test. It found the serial port (7) and identified the modem. It failed all the other test. Distance test had data time out errors only. Typing in the terminal only gave a single set of characters. It looked like there may have been some shadowing but nothing near the spacing that the manual shows. The packet test only showed 1 "Hello World" in the window and not two as the manual describes. The leds on the USB module gave every indication that data was being sent out. If I look at the Prop BOE there is a blue LED that flashes with each typed key. It seems as though the Prop BOE is receiving but refuses to transmit. None of the "AT" commands worked at all. I could not get the Prop BOE to return an "OK" or channel letter. Have I missed a step somewhere? Also the X-CTU software has been updated so it does not work the same as the software used in the Xbee installation instructions. For example. The section that tells you to type "Hello World" then push the enter button and then push the send button. Well......there is no "Enter" button to be pushed. And the Range test is not at all the same as in the Xbee instructions.
What have I missed or done wrong?
Thanks for your time
Dave (the newbee) Smith
What have I missed or done wrong?
Thanks for your time
Dave (the newbee) Smith
Comments
What program did you use for the PropBOE?
Take a look at this tread.
http://forums.parallax.com/showthread.php?138066-Going-through-XBee-Tutorial
I pulled the wires from P0 and P1 and verified, with a digital ohm meter, that there was a connection to Do and D1 at the top of the XBee chip. There was no resistance in the circuits. Sorry about taking up so much space but they say a picture is worth a thousand words.
You can do a quick loop back test by using just one wire and connect Do and Di together. This just used the PropBOE as a power supply but it should let you know if the XBees are working (I think).
The KickStart page shows how for the QuickStart board, but it's even easier with the PropBOE. Use the XBee socket on the PropBOE as the main transceiver, connected to P0 and P1 as shown, and just wire up the "remote" XBee for echoing. Use either carrier on the PropBOE's breadboard. Don't forget the jumper between its DIN and DOUT pins. That's what makes the data echo back.
https://sites.google.com/site/parallaxinretailstores/home/parallax-xbee-wireless-kit
Once you know this part is working you can load up X-CTU, change baud rates, try different channels, and all that fun stuff.
-- Gordon
http://www.youtube.com/whisk0r
I go through both just a normal feedback loop to test the basics with X-CTU, and also controlling LEDs/Buzzers. Next week I'll be showing control of a parallax RC servo as well.
Another question is the ATDB. Is the data showing each number per channel or are all the numbers for the same channel? All of these may become an issue as I may have to go to another Micro to accomplish my project which would mean that my topology would be Base is MY=1 and the DL will equal either 2 or 3 depending on which micro I am sending data to. The first Micro will be MY=2 and DL=1 and the third will be MY=3 and DL=1 just as it is shown on page 36 of the "Getting Started with XBee Modules".
Starting out: There is no need to take a resistor size wire and stick it between chip pins DO and DI to get the XBee to go into repeat loopback mode. This runs the risk of damaging the pins of the XBee chip when you try to reinstall the chip over the jumper. A jumper wire placed between DO and DI, near the on board LED(s) (J5 Header), works great.
Getting Started with XBee RF Modules. 1st page should read "Be sure to remove the loopback jumper used during initial testing. The vacated sockets will then be jumpered from PO to DO and from P1 to DI after removing the loopback jumper wire. Do not reinstall the loopback jumper unless it is for diagnostic purposes. Have fun discovering the many assetts that the XBee has to offer.
Of course pictures would be in order here.
>> I believe this is per channel. So it's like saying how good is the reception given a different frequency.
Starting out: There is no need to take a resistor size wire and stick it between chip pins DO and DI to get the XBee to go into repeat loopback mode. This runs the risk of damaging the pins of the XBee chip when you try to reinstall the chip over the jumper. A jumper wire placed between DO and DI, near the on board LED(s) (J5 Header), works great.
>> Yeah I originally did this because I didn't realize that the headers by the xbee slots were connected to the xbee pins - RoyEltham later corrected me . So while doing the feedback loop, a simple wire between D0 and D1 is adequate. But when done using the feedback loop, like you said David, hook the D0 and DI from the Xbee to the appropriate pins according to the code.
http://tymkrs.tumblr.com (on the right hand side there's an Archive link - easy to look through all of the old posts that way).
I'll see if we can do a video on the prop BOE. Whisker's been after me to use my new camera to show off some of the projects
Yay for cardiac surgery (but hopefully not having it again!). Please stay healthy
So I'm not exactly sure what you mean by updating the Propeller? If you mean reprogramming the RAM/EEPROM, then through the USB is adequate. I haven't had to connect the RTS/CTS to any pins. I have changed what the XBee or a peripheral is doing through code running on the Propeller, however, and that just requires the typical D0 and DI pins to be connected according to what pins your code says they should be connected to. And with that, I used X-CTU. See following pic:
And the youtube videos will show how I use X-CTU to control a peripheral. Hopefully somewhere I touched on the question you were asking?