473,388 Members | 923 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,388 software developers and data experts.

Xbee pro series 2

Hi all,

I recently purchased an xbee series2 developement kit from digi. I am simple trying to turn on an LED on an end device by sending in an AT command in the form of an API packet.The situation I'm in now is:

(XBIB-U) board as the co-ordinator
(XBIB-R) board as the end device

I have a basic network setup with 1 co-ordinator and 1 end device. I am trying to send an AT command in the form of an API packet from the co-ordinator to the end device. The AT command is just a simple assertion of DIO4 to a logic low ("ATD4 4"). This will turn on LED 3 on the end device or it should anyway.
The packet I assembled which is a remote AT command request and tried to send is as follows:

7E 00 10 17 50 00 13 A2 00 40 52 C7 1A 92 F4 02 44 34 34 3C

I followed the structure of the "Remote AT command request" API frame type that is in the manual. Also I need to setup the end device to be able to receive and decode the incoming packet. Can you tell me how I can do this? I believe I need to install the API firmware of the x-ctu? I tried this but it didn't work.

"write parameters........failed" was the message I got at the bottom of the modem configuration tab.

Many Thanks,
Chris
Sep 17 '08 #1
6 9449
RedSon
5,000 Expert 4TB
Digi has a support forum that will probably help you more. We have no experts here on Xbee or digi products.
Sep 17 '08 #2
The manual of XCTU software from Digi is not very illustrative.

You need to do the follwoing

1. Both the co-ordinator & the end device should be in the same mode (AT or API).

2. To use API mode you need to write API firmware on the devices.

3. In the PC setting page uncheck enable API .

4. In modem configuration select the correct device and function set (API co ordinator or end device)

5. Write the firmware.

6. In the PC settings check enable API

7. Press Test/Query

8. If you get the correct firmware you are successful.

9.For API mode you need to exactly follow the syntax of the packet and check sum is exteremely important. If checksum is wrong packet will not be sent.

10. Refer Dgi key manual for the device which is quite explanatory.
Sep 19 '08 #3
Plater
7,872 Expert 4TB
An example from Digi about uses of the XBEE was a situation like the following:

[Remote Side]
XBEE configured as slave attached to a remote probe of some sort.
The A2D built into the XBEE takes samples
At some interval, the sample values taken are transmitted to the coordinator.

[Local Side]
XBEE conffigured as coordinator attached to a PC ( by way of an IBIB, either the USB or SERIAL are the products they make. Any custom board will do as well)
Software on the PC can be configured to receive and interpret the transmissions from the various slave XBEEs

The REMOTE SIDE is an example of a 'dumb' setup, there is no microcontroller or any user code running.
If you want to make it so the PC side REQUESTS that the REMOTE side transmit a value back to it or otherwise does anything based on the message you transmit, you will have to make the REMOTE side 'smart', as I do not believe the 'dumb' setup can achieve what you are asking.
Sep 24 '08 #4
@electronics
i have the same problem ,pliz join me [DELETED] to discuse
Feb 19 '09 #5
Plater
7,872 Expert 4TB
(Just noticed this)Maybe you have a better module then I, but the API AT commands I read about are only for the device I'm attached to.
If you have 2 xbees A and B.
If you want the RSSI of A to B, while being attached to A.
Send B a message from A using the API, then send A an API_AT command querring the RSSI. That should tell you what the RSSI was, without requiring B to send a message back.

There is also a regular AT command that roughly "scans" for other XBees on the same "network" and replies with a few values about them, one is the rssi.

I really wonder if anyone reads manuals these days
Feb 23 '09 #6
Plater
7,872 Expert 4TB
Since I cannot edit the above.
I'm an idiot.
THIS thread does in fact say series2, which are different then the series1 XBees I used.
Feb 25 '09 #7

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...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.