Hi all, I’m stuck and I’ve looked everywhere with no luck!
So, I’m trying to get change detect to work on two series 2 Xbees and am yet to get it working.
I’ve read the manual, searched extensively on the net and also left a message on the Digi forum which has remained unanswered. I’m thinking I’m missing something very obvious or hardly anyone knows how to get it working!
Here is my set-up:
On the detecting xbee (Zigbee Router AT) I have set IR50 and IC18 and have a button on DI03 (D3=3).
The detecting circuit is:
Side one of switch: jumper to xbee pin3. 10k resister to +3.3V
Side two of switch: jumper to ground.
On the receiving Xbee (Zigbee Coordinator API) I have set to D3 = 4 to which I have attached a LED.
The receiving circuit is:
jumper from pin3 to 330 ohm resister to led to ground. led is correct polarity.
When using the XCTU terminal I can see that the button press on the remote xbee is having an effect on the xbee hooked up to my computer. However, when I put the receiving xbee back in the circuit the button press has no effect. The change I’m seeing in XCTU is:
when button is pressed:
IO Data Sample RX Indicator (API 1)
7E 00 12 92 00 13 A2 00 40 A2 3B 3D 87 74 01 01 00 08 00 00 00 59
-
Start delimiter: 7E
-
Length: 00 12 (18)
-
Frame type: 92 (IO Data Sample RX Indicator)
-
64-bit source address: 00 13 A2 00 40 A2 3B 3D
-
16-bit source address: 87 74
-
Receive options: 01
-
Number of samples: 01
-
Digital channel mask: 00 08
-
Analog channel mask: 00
-
Digital samples: 00 00
-
Checksum: 59
When button is let go:
IO Data Sample RX Indicator (API 1)
7E 00 12 92 00 13 A2 00 40 A2 3B 3D 87 74 01 01 00 08 00 00 08 51
-
Start delimiter: 7E
-
Length: 00 12 (18)
-
Frame type: 92 (IO Data Sample RX Indicator)
-
64-bit source address: 00 13 A2 00 40 A2 3B 3D
-
16-bit source address: 87 74
-
Receive options: 01
-
Number of samples: 01
-
Digital channel mask: 00 08
-
Analog channel mask: 00
-
Digital samples: 00 08
-
Checksum: 51
So the last byte of “digital samples” changes from 00 to 08, which I interpret as a sample being sent. However, when the receiving xbee is returned to the led circuit, the led does not light and there is no change in voltage at the pin.
Does anyone have any idea what might be going on here? It feels like I have tried everything so am completely stuck!
Many thanks