Connecting Tech Pros Worldwide Forums | Help | Site Map

xbee programming

Newbie
 
Join Date: Nov 2007
Posts: 1
#1: Nov 19 '07
I have one xbee module used as cordinator (host side). This side is connected to PC.

And this cordinator needs to communicate to other end-devices. These end-devices are battery powered and not connected to any PC.

Now, I want the end-devices to send their Identity (may be any text or MY address) on power up wirelessly to the host. This host should receive this information from end-devices and send back an ACK signal to end-devices. And this ACK signal when received by the end-devices should turn-on/turn-off LED on end-device board.

I am not using any mcu on end-devices. Can I do this task without the micro-controller unit(mcu)?

Thanks in advance,
Fahad

Newbie
 
Join Date: Dec 2007
Posts: 1
#2: Dec 28 '07

re: xbee programming


Hai, your problem is same with me.
But i just a little bit found the solver, that is using "ActiveX Control for ZigBee or XBee".
If you have ActiveX ZigBee or ActiveX XBee, so you can easily create a program like you described.
And now the problem is, I can't found the activeX ZigBee or ActiveX XBee. Can you find it for us?
Please reply me by email on Email@NotAllowedOn.ThisSite

Thanks
Newbie
 
Join Date: Aug 2008
Location: Colombo - Sri Lanka
Posts: 2
#3: Aug 22 '08

re: xbee programming


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. Codewarrior supports C/C++ languages only. I have already tried some sample nesC codes on TOSSIM simulator.
It is better if anyone of you can guide me along this suggested path or else can you suggest a procedure to start programming for the Xbee platform.

Thanks.
Kushan
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#4: Aug 22 '08

re: xbee programming


The XBee really isn't a "platform" in the sense that you don't write code to run ON it.
Write your code to communicate with the Serial Port it creates when connected, follow the XBee's manual for unerstanding what commands to send it to communicate and you should be fine.
Newbie
 
Join Date: Sep 2008
Posts: 2
#5: Sep 19 '08

re: xbee programming


Xbee module when properly configured automatically send acknowledgement for packets received. If an end device is powered on it immediately sends its ID to the co-ordinator. You can check this thro' X CTU or any terminal software with the XBee modules connected t5hro RS232 port.

You can't program Xbee and you need a MC connected thro the USART to do any other work based on the command received. But Xbee has IOs 9end points) with which you can do simple tasks without a MC
Reply


Similar Mobile Development bytes