473,320 Members | 2,104 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 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 9446
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: 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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.