Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Read Xbee analog data

Status
Not open for further replies.

icemetal

Member level 2
Joined
Sep 2, 2009
Messages
51
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,615
I have to xbee modules, and I want to be able to read a 10K potentiometer wireless, I had connected the pot to ADC0 of one of the xbee modules and I adjusted the pot but on the other side I dont see any information but when I send serial data I can see it, is any other configuration I should do?
 

Are the XBees Series 1 or Series 2?

Have you set the sample rate?

Code:
ATIR16  = sample rate 22 milliseconds (hex 16)

BigDog
 

I have 2 Xbee pro, it does not said what series they are, and when I type this
+++OK
ATIR16
ERROR
that's what I get
 

We first need to identify the type and series of your XBee Modules.

Do you have X-CTU installed?

If so, once connected to one of the XBee Modules using X-CTU, navigate to the "Modem Configuration" Tab and then press "Read" button.

Record the firmware type which appears under "Function Set" and the "Version" drop down menus.

Reply back with this information for both the XBee Modules.

Once we know the firmware type and version we can proceed.

BigDog
 

it says 1084
 

Attachments

  • Clipboard01.jpg
    Clipboard01.jpg
    25.6 KB · Views: 53
Last edited:

You have two XBEE PRO Series 1 modules.

You may want to upgrade to a more recent firmware level, you current version 1084 is several revisions back.

Meanwhile, I'll see if I can put together a step by step example of how to properly configure your units for "Direct I/O" mode.

BigDog
 

OK I know what you mean I updated the firmware to "10EC" and that commands work
+++OK
ATIR16
OK
ATWR
OK

One Xbee is connected to X-CTU and the other it has a 10K pot to ADC0
I put that at command on both but nothing happens yet,

---------- Post added at 07:10 ---------- Previous post was at 06:51 ----------

THANKS BIGDOG, I figure out

**broken link removed**
 
Last edited by a moderator:

THANKS BIGDOG, I figure out

I'm glad you've got it figured out.

I was just typing in a step-by-step procedure.

I would recommend keeping the output impedance of you analog signal source in the 2kΩ - 3kΩ range rather than the 10kΩ pot you are currently using.

A fairly good text on the XBee modules is the following:

Building Wireless Sensor Networks: with ZigBee, XBee, Arduino, and Processing

The text utilizes Series 2 modules in its examples and covers various ZigBee Mesh Network configurations as well as "Direct I/O".

You may also find the following group I maintain of interest:

Embedded Wireless Networks - WiFi, ZigBee, MiWi, 802.15.4, Bluetooth & RF

Good Luck with your project,

BigDog
 
Last edited by a moderator:
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top