Using Xbee to transit multiple sensor readings

I initially thought I would need some help decoding the pay load but I found some functions in the Java API for XBee that does the decoding part. I testing the Java program today and it works just as it should. It grabs the XBee packets from the remote station and separates the sensor readings.

I am having a bit of a problem with the sampling rate though. I initially set IR = 3E8 which corresponds to 1000ms = 1s . Using this sampling rate the XBee works fine. However, this sampling rate is higher than I need. I really need to sample every 1 minute or maybe 30 seconds. When I set IR on the remote radio to 1 min or 30 seconds nothing happens. I wait about 5 mins and I don’t see any packets. The RSSI light does not turn on either. I also tried to set IR to 10 seconds and I got the same result. However, once I switched back to 1 second it started working properly. Any idea on what could be causing this problem?

Sleep Mode disabled (ATSM)?

I made sure that Sleep Mode (SM) is disabled. Sleep Options (SO) is set to 0. Time Before Sleep is set to FFFF. I couldn’t find the ATSM setting in the list of settings. For some reason, the sampling was working fine 2 weeks ago but today it is not working. 1 second sampling works but 10 sec, 20 sec sampling is not working.

Hello! I want to make the same things like you, IRFANK. I have 2 xbee cards, I want to connect a sensor to one of them and receive to the computer.

Can you explain me, please, how can I connect the sensor and what are the X-Ctu settings for the xbees? All what I want is to receive a frame to a PC from the xbee where is connected the sensor.

Any help is appreciated.

Thanks a lot!

RTFM

stevech:
RTFM

Uncle Steve, would you read to us please. Please please please with a cherry on top?

:stuck_out_tongue: