Problem using xbee pro digimesh 900

hi guys…i’m kind of new to the use of xbee and i was wondering if someone has an idea how i can read data coming from a coordinator which has a temperature sensor using xctu as my data reading software. I’ve been reading the manuals and i can’t seem to get it right yet. thx in advance :smiley:

You probably know that XCTU is intended for use to configure rather than use these radios.

Let’s discuss your objective.

Yes, xctu is used to configure xbee but isn’t that the terminal program is able to read data from the serial port? Our problem is that we want to read a temperaure reading connected to a usb dev board from an end device. This end device is located some distance away from the coordinator. The coordinator is connected directly to a pc. We want to read this temperature reading but our main problem is how.

Still not enough information for any of us to really help.

Basics:

Set the DL & DH of the sending unit to the SL & SH of the coordinator.

Is the Coordinator in AP or API command mode?

The remote device can be set up to send its pin data periodically.

Or if the coordinator is running API mode a command can be send into the coordinator to request data from the remote device.

There are so many ways to set this up and we can’t guess as to what you have done and what is or is not working.

What part in the manuals don’t you understand?

Are you getting any data from the remote unit?

What commands have you tried on the coordinator?

We already have the modules transmitting. We are receiving HEX data at xctu’s terminal program. The problem now is we think that we are transmitting 3.3 volts. The reading in the pc doesn’t change. The positive terminal of the sensor is connected to PIN 20 and the ground is connected in PIN 10. We set the remote to END DEVICE and the coordinator to ROUTER. We set PIN 20 of the remote to ADC. We set the modules to sample data every 500 milliseconds.

The problem now is we think that we are transmitting 3.3 volts. The reading in the pc doesn’t change.

Does this mean you are connecting the XBee’s serial lines directly to the PC???

That will not work. You need an RS232 level translator between the XBee and the PC’s com port.

No, we have usb dev boards for the zigbee. The data received by the transceivers is received by the PC through those usb dev boards which has serial interface. We seem to be transmitting 3.3 volts and not the (3.3 - Reading of the temp sensor) reading which is the intended reading.

gigsaw:
We already have the modules transmitting. We are receiving HEX data at xctu’s terminal program. The problem now is we think that we are transmitting 3.3 volts. The reading in the pc doesn’t change. The positive terminal of the sensor is connected to PIN 20 and the ground is connected in PIN 10. We set the remote to END DEVICE and the coordinator to ROUTER. We set PIN 20 of the remote to ADC. We set the modules to sample data every 500 milliseconds.

Do you have a reference voltage on pin 14? You’ll need that.

If I were you, I’d temporarily remove the sensor, and replace it with a potentiometer for testing, so that you have direct control over the voltage that’s going into the input ADC pin.

Yep, what sylvie369 said.

Also check that the internal pull-up is not enabled on your ADC input.

The output of our temperature sensor is around 0.41 V we connected its output to PIN 20 and the GROUND to PIN 10. Were using two different supply one for the sensor and one for the xbee module. Our received data doesn’t change. (Note: Taken from Byte 16-n).

01 01 00 00 01 03 FF

01 01 00 00 01 03 FF

01 01 00 00 01 03 FF

01 01 00 00 01 03 FF

01 01 00 00 01 03 FF

01 01 00 00 01 03 FF…

Where will we get the reference voltage needed for PIN 14 from temp sensor circuit?

And how are going to interpret the hex data above?

Just connect your 3.3V supply voltage to the reference pin (14). Then come back and tell us what happens to the data.

The Pro 900 probably has some slightly different settings than this, but here is where I got the info I needed to make the ADC work properly for a regular XBee (2.4 GHz):

http://www.faludi.com/2006/12/03/xbee-d … -with-adc/

Are your settings similiar?