473,320 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

xbee pro

11
i have the xbee pro connected to my pc and receiving a signal is it possible i can recieve the signal to the pc and write a program to send a message when ever it recieves the signal
Jul 7 '08 #1
11 5808
Stang02GT
1,208 Expert 1GB
moved to networking......
Jul 8 '08 #2
Nepomuk
3,112 Expert 2GB
i have the xbee pro connected to my pc and receiving a signal is it possible i can recieve the signal to the pc and write a program to send a message when ever it recieves the signal
First of all, welcome to bytes.com!
Please read the Posting Guidelines (if you haven't done so already) and try to always follow them.
Now, when you ask a question about some not-so-common hardware, please give some information like this link, explaining what it is and containing a datasheet or something similar.
Now, I'm sure it is possible - but there are a few questions that have to be answered:
  • Which programming language would you be using?
  • Which OS are you using? (e.g. Windows XP, Ubuntu Linux, Mac OS X Leopard, ...)
  • Do you want to send a message with the Xbee Pro or via a different route and where do you want to send this message to?
Also, I'm guessing there is some documentation on using the Xbee Pro somewhere? (Maybe it was delivered with the device, maybe you can find it online...) Have you checked? If so, is there something, that you don't understand?

Greetings,
Nepomuk
Jul 8 '08 #3
rppprez
11
i have been unable to uptain the data i'm looking for i am using windows xp trying to write some code to capture the signal coming from the xbee pro throught the xctu program that comes with it. I'm not sure if it is possible with the format i'm using.i program i want to create is almost like a port sensing type of program i would basically have it running in and infinite loop until it recieves a signal and then it wouldl execute what ever i need it to do. i'm not exactly sure what language would be best or even if its possible.

thanks for your assistance
Jul 8 '08 #4
Nepomuk
3,112 Expert 2GB
I have been unable to uptain the data I'm looking for.

I am using Windows XP, trying to write some code to capture the signal coming from the XBee Pro through the X-CTU program that comes with it. I'm not sure if it is possible with the format I'm using.

The program I want to create is almost like a port sensing type of program. I would basically have it running in an infinite loop until it receives a signal and then it would execute whatever I need it to do.

I'm not exactly sure what language would be best or even if its possible.

Thanks for your assistance
Hello again!
Please, do try to write in proper English and lay your text out in a way, that makes it pleasant to read. It's really difficult to read what you've written otherwise and you probably won't get as much help that way. I've changed your last post a little, making it much easier to read.

Now, about your question: according to the Product Manual (Page 70), the X-CTU software allows you to configure "PC serial ports for interfacing with an RF module". So, if I understand correctly, you can forward the signal from the XBee to a (virtual?) serial port, right?

OK, if that's correct, you don't need something "almost like a port sensing type of program", it would be a port sensing program!

Now, port programming is possible with many languages; C, C++ and C# for example. Do you know any programming languages so far? If so, you (we) can try to find out, if that language / one of those languages is a viable option.

Greetings,
Nepomuk
Jul 8 '08 #5
rppprez
11
thank you for the information. i am currently proficent in c and c++. i see the manual says that the board it comes with has to be connected to the serial port of the pc. but i have that board currently connected to a psoc microcontroller that i an using to send a signal to that board that would intern transmit a signal to the base board that is connected to the pc via the usb port. so i not exactly sure if i can retrieve the signal through the usb port and the use it with my program to execute what i need it to do.

thanks
Jul 8 '08 #6
Nepomuk
3,112 Expert 2GB
Thank you for the information. I am currently proficent in c and c++.

I see the manual says that the board it comes with has to be connected to the serial port of the PC. But I have that board currently connected to a psoc microcontroller that I am using to send a signal to that board that would internally transmit a signal to the base board that is connected to the pc via the USB port. So I'm not exactly sure if I can retrieve the signal through the USB port and then use it with my program to execute what I need it to do.

thanks
What does X-CTU have to say? Can you receive a signal through that? If so, no problem. Otherwise, I'd check in the C/C++ Forum or search online. Maybe the datasheet can help you, but as I understand it, basically you'd be writing a driver. I've never done that, not even close.

Good luck,
Nepomuk
Jul 8 '08 #7
rppprez
11
i don't think it is a much as a driver. x-ctu gives limited information thats why i'm having a hard time. all i want the xbee to do is to tell me when it recieves a signal. after i retrieve the signal i then want to write code c/c++ that would be running on my pc in an infinite loop until it recieves the signal or message that the signal was recieved. after that i would allow the program to do what it needs to do and then send back a message to the xbee that the signal was recieved.

thanks for the help
Jul 8 '08 #8
Plater
7,872 Expert 4TB
So you have an XBEE pro on the XBIB board (X-CTU is the software, XBIB is the board)
Is your XBIB the type that uses a serial port or uses usb to connect to the computer. (I have both and perfer the serialport version)

If you look up the XBEE manual, you will see that they provide the API for talking to XBEEs for you. It can be a little tricky at first, but the XBEE_API is much easier then regular AT modem commands(also provided for you)
When using the XBEE_API, the XBEE will output messages in an API format on it;s UARt (which would come out the XBIB as a serial port) that you can parse and use the information.

For example the RX_16 packet contains the address of the XBEE that sent a message to yours, the signal strength between the two, if it was a broaadcast or direct message, and then up to 100 bytes of data.

You should be able to use those things to your advantage.
Aug 4 '08 #9
rppprez
11
thanks I am still trying to figure out what would be the best language to use to create my program. My program should be relativly simple wait till i recieve input some type of signal from the other xbee and when that is recieved i would then do some action with my program, Could you tell what you think would be best and if so why

Thanks again
Aug 8 '08 #10
Plater
7,872 Expert 4TB
Well since it will show up as a SerialPort, almost any language would do. Any language that can use the SerialPort (which is most OOP languages I would think) Find one you know real well and try it out.
Aug 8 '08 #11
rppprez
11
Ok thanks i've been trying to figure out where to start and i have been having a very hard time so i will take your advise and see if it helps me at all

Thanks again
Aug 9 '08 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

2
Plater
by: Plater | last post by:
Here at work we've been using MaxStream's Xbee product (ZigBee implementation). Now I have to re-work the code (our head software guy banded it out in like a day as a time crunch so it's seriously...
0
by: shobhon | last post by:
Can anyone please tell how to setup xbee series 2 . i have set up one xbee with co-ordinator and ther other one with end device. Now i have i have opened one of the ADC port setup sample rate.. but...
1
by: Chakshika | last post by:
Hello, We are doing a wireless sensor network project using Xbee modules as our University Final year project. We have bought some Xbee Series 2 modules and Two XBIB-U-DEV (and XBIB-R-DEV)...
0
by: mlkushan | last post by:
hi, I have imported Xbee modules (XB24-BWIT-004) and Xbee starter pro development kit. It has XBIB-U-DEV and XBIB-R-Dev development kits with 10 Xbee motes and two Xbee pro motes. So I have...
4
by: Pancakes | last post by:
Hello all, this is my first post in these forums, so bear with me if I've broken a few rules here or there. Anyhow, I would like to ask if anyone if familiar with the XBee Pro, here, and...
1
by: boredo212 | last post by:
I have ordered the XBEE Starter kit and was able to use XCTU to get the two modules to communicate through the two dev boards (USB and RS-232). Now I would like to take it to the next step by...
16
by: KDaly | last post by:
Hey guys, I was kind of hoping that someone could help me out with a project I am working on for school... We are desigining a robot that someone will approach, and the robot will ask the user if...
13
by: ritusingh2008 | last post by:
Hello, I am recently using Xbee radios.I need to develop a relay network using 3 radios.how is it possible? I am using X-CTU software. Is it possible to develop a relay network using only X-CTU...
3
by: ritusingh2008 | last post by:
Hello, I am trying to acess the serial port using matab.I am actually trying to write and read data from the XBEE device using the commands.Can anyone please tell me how to read and write data...
21
by: ritusingh2008 | last post by:
Hello, I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.