Hi. I have only 2 XBee`s in my network, 1 Cordinator API and 1 end device AT. My cordinator is hook up to a ARDUINO UNO, my end device is driven by batteries.
My end device is reading a analog temperature signal and my cordinator is reciving this and I can read the value with serial monitor.
My poroblem is this: I want to read the analog signal with my ARDUINO program, check if this signal is greater then 28 C, if the temperatur is greater then 28 I want to set a digital output high on the end device.
I have some experience with the AT command request I have tried to solve my problem with the code
"If (temp > 28)
send a command request with serial.write"
The XBee is able to send the command request, but after this the end device stop reading the analog signal.
Any suggestions to have I should solve this? Any help would be appreciated.
With kind regard