I was wondering, can the xbee be used alone without a micro-controller if I am using an RTD or digital temperature sensor to send data to another xbee.
If the device you have connected sends and/or receieves data serially then you can connect it without a microcontroller. If it is an I2C, SPI, 1-Wire, etc. interface then you would need a microcontroller to convert the data to asynchronous serial.
im using the usb board from parallax and I am using the x-ctu program to do the testing. I have the getting started with xbee modules book and I'm trying to do the tests. I have the done the previous test/query response, and now i was trying to do the terminal test, but it is not working the way it should be.
When u type in "hello world", it supposed to come out "hheelllloo wwoorrlldd" blue and red., but it does not.
Actually I don't believe either one of those links is related to your issue. The first link refers to a different module than you have (one we don't sell). In the second link I had confirmed the modules work as expected. For the loopback test do you have a remote module powered at 3.3V with the DIN/DOUT lines tied together? Are the two modules associated?
Actually I don't believe either one of those links is related to your issue. The first link refers to a different module than you have (one we don't sell). In the second link I had confirmed the modules work as expected. For the loopback test do you have a remote module powered at 3.3V with the DIN/DOUT lines tied together? Are the two modules associated?
I have the xbee usb adabter powering the xbee,
ok, i double checked and I put the wire on the wrong side.
even though I tried again with the right pins connected, it did not work.
Am I supposed to use both xbees for this test? if thats what u meant by two modules I did end up trying with two with no success. the blue lights turn on but, no red leters in the X-ctu screen.
They seem to be communicating, but the remote xbee is not sending back the data.
I solved the problem this time, I switched laptops.
Anyways now I am having issues with an example from "getting started with xbee modules" on p33-34.
After I type the Hello and +++, itry to enter ATCH. Im supposed to get a C, but I get an error. Is the programming in the x-ctu different from the series 1 xbee?
K, Ill try to be more precise, do u have any examples programming examples for the xtcu software or basic stamp for temperature sensors or to send serial data with the xbee pro 900 hp.
Because its my first time using the xbee and I havnt really found any examples that would help me learn.
do u have any examples programming examples for the xtcu software or basic stamp for temperature sensors or to send serial data with the xbee pro 900 hp.
It does not look like there is any examples specific to the 900HP. The X-CTU software is a Digi product and looking there or asking on their forums would be best.
Sending data serially across any XBee module is done the same way. Once they're linked it's basically a wireless serial link. So any communication example using an XBee should provide an example. It sounds like you want an example specific to your application done using the exact same hardware and that isn't necessarily likely. The different series have different features and ranges, but in the end serial communication is just that. With that, you can use the examples found here:
ok, I just came back from digi chat support, you can say they were as helpful as they could since the xbee pro 900 hp is a fairly new product and aren't really any examples.
But when I do try the xbee example (simple debug to remote terminal.) on on p 46. My xbees do communicate through the terminals, but it seems I couldn't get the serial data to the xbee to be sent to the second xbee (the Blue LED did not turn on which indicates communication)
This is the example code on p 46
' Simple_Debug.bs2' Sends data to Remote terminal for monitoring
' ********************************************************
' {$STAMP BS2sx}
' {$PBASIC 2.5}
' *************** Constants & PIN Declarations ***********
#SELECT $STAMP
#CASE BS2, BS2E, BS2PE
T9600 CON 84
#CASE BS2SX, BS2P
T9600 CON 240
#CASE BS2PX
T9600 CON 396
#ENDSELECT
Baud CON T9600
Rx PIN 15 ' XBee DOUT - Not used in this example
Tx PIN 14 ' XBee DIN
RTS PIN 11 ' XBee RTS - Not used in this example
' ************** Variable Declarations ******************
Counter VAR Byte
' ************** Main LOOP ******************************
PAUSE 500 ' 1/2 second pause to stabilize comms
SEROUT Tx, Baud, [CLS,"Program Running...",CR]
PAUSE 2000 ' Pause before counting
FOR Counter = 1 TO 20 ' Count and display remotely
SEROUT Tx, Baud, ["Counter = ", DEC Counter, CR]
PAUSE 100
NEXT
SEROUT Tx, Baud, ["Loop complete.",CR]
END
I think the question is whether or not your 900HP is connecting to the one on the other side. When I posted my comments about compatibility in another thread I also connected a 900HP to two Boards of Education and had code that transmitted serialized packets with summative checksums and tell me how many were received and lost. But in order to connect the XBee module must have the same settings. Assuming nothing was changed they should have been able to connect by default.
I followed up in one of the threads you linked above after doing my own tests.
and ur conclusion is?
im switching to the sries 1 xbee because I am having too many problem trying to understand the 900 hp and the api commands because I do not have enough experience with xbee. At least there are a lot of examples for the series 1 so it would make it easier for a beginner like me.
For just sending/receiving serial data there is no real difference in how you would use the S1 VS the 900HP modules. I didn't offer any example code because the code you had was not working. I was thinking it was that the two devices weren't connected and if we could just get that far you'd be set. Did you change any settings on either module in X-CTU?
Well if I need to use the digital IOs, wouldn't I need to use the API stuff. From that I want to send serial data from a remote module to a local module.
K so right now I trying to use a push button to turn on an led right now, but I am unsure how I am supposed to do this.
I know line passing can not be done with this module.
Right now when I press the button there is communication, but no output on the other IO pin. I did set up the setting for the push button and output of the modules.
Okay, I have an XBee application in progress and I will look into the line passing at that time. I only tested serial data transfer using our demo/test code that I test all radio transceivers with.
I think there may be an issue with my parallax usb boards because I am not able to do a loop back test anymore. the Din and Dout are always high. But I am able to power my xbees and communicate between them
Comments
any idea why it may not work?
When u type in "hello world", it supposed to come out "hheelllloo wwoorrlldd" blue and red., but it does not.
http://www.digi.com/support/kbase/kbaseresultdetl?id=3325
also from this thread,.
http://forums.parallax.com/showthread.php/147882-Xbee-Pro-S3B-Parallax-32400-and-X-CTU-no-communication
I have the xbee usb adabter powering the xbee,
ok, i double checked and I put the wire on the wrong side.
even though I tried again with the right pins connected, it did not work.
Am I supposed to use both xbees for this test? if thats what u meant by two modules I did end up trying with two with no success. the blue lights turn on but, no red leters in the X-ctu screen.
They seem to be communicating, but the remote xbee is not sending back the data.
"Enable to display received signal strength indicator" in the range test tab.
Anyways now I am having issues with an example from "getting started with xbee modules" on p33-34.
After I type the Hello and +++, itry to enter ATCH. Im supposed to get a C, but I get an error. Is the programming in the x-ctu different from the series 1 xbee?
Do you have any examples because I am having difficulty understanding it in the manual on the DIGI website.
Because its my first time using the xbee and I havnt really found any examples that would help me learn.
Is it too much to ask for?
http://learn.parallax.com/search/node/XBee
or here:
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/XBee/List/0/SortField/4/ProductID/718/Default.aspx
But when I do try the xbee example (simple debug to remote terminal.) on on p 46. My xbees do communicate through the terminals, but it seems I couldn't get the serial data to the xbee to be sent to the second xbee (the Blue LED did not turn on which indicates communication)
This is the example code on p 46
and ur conclusion is?
im switching to the sries 1 xbee because I am having too many problem trying to understand the 900 hp and the api commands because I do not have enough experience with xbee. At least there are a lot of examples for the series 1 so it would make it easier for a beginner like me.
K so right now I trying to use a push button to turn on an led right now, but I am unsure how I am supposed to do this.
I know line passing can not be done with this module.
Right now when I press the button there is communication, but no output on the other IO pin. I did set up the setting for the push button and output of the modules.
http://forums.parallax.com/showthread.php/148381-Xbee-900HP-Digital-Input-Output-Line-Passing-digi-answer-!
Just a reminder.