473,838 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xbee pro

11 New Member
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 5839
Stang02GT
1,208 Recognized Expert Top Contributor
moved to networking..... .
Jul 8 '08 #2
Nepomuk
3,112 Recognized Expert Specialist
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 New Member
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 Recognized Expert Specialist
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 New Member
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 Recognized Expert Specialist
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 New Member
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 Recognized Expert Expert
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 New Member
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

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

Similar topics

2
4832
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 lacking). The problem is, I have not been able to understand the conversation flow for the XBEE API and was wondering if anyone was familiar with it? My scenario is this: I have multiple probes with the XBEE products, each with their 16bit MY...
0
3081
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 it is not tranmitting anything unlike series one when i open ADC and sample rate it starts trasmites data stright away.. (using xctu) i have also tested with connecting the port with a analog voltage again series 1 works but series 2 does not. Does...
1
3878
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) development kits ( USB and RS 232) The was a small software came with them in a CD. Its called as X-CTU. It only has a range test. We couldn't programm motes as we wish through that development kit.Is there any IDE to do that? Any software? We are confused...
0
2431
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 configured the codewarrior development environment in my PC (Windows XP) and also I have configured the TOSSIM environment with Cygwin (on the same platform). So I need to know, how I should start to program the Xbee motes using nesC programming language....
4
4138
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 documentation is available here. The documents don't match the product exactly, the links from the product page ended up to the documents page I supplied. The difference between the models are just the effective range (I think), and the models are...
1
3457
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 writing a program that will send a string to the xbee module and have the xbee broadcast it. Eventually, this would have to connect to a mysql database. Could somebody point me in the right directions. I am clueless as how to start this off. I am...
16
17180
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 they would like to go to room A, B, or C. (keep in mind all the rooms are in a striagh hallway with no turns). We have decided to put Xbee modules at each room and an additional xbee module on the robot. In front of each room, we would like to...
13
5157
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 software. And i have another doubt.Is C or Matlab programming is possible in Xbee's. If so how can we do it. Please answer to my doubts. Thanks
3
5781
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 into xbee by acessing serial port using matlab. thank you
21
12753
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 it. Can anyone please explain it detail? Thanks
0
9854
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9696
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10584
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10290
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9425
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7827
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5681
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4482
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3131
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.