My goal is to establish communication between Xbee module connected to my PC and another Xbee module connected to an arduino. I 'll put program on the arduino in order to send data (Hello world) to the PC.
The first step consists in trying to establish comm using X-CTU. I met problem at this stage.
I 'm using Xbee S2. I try establish communication (characters exchange) between two Xbee S2 Module. But when I type characters in the terminal 1, I get nothing in the terminal 2.
Please see the attached file to see the configurations.
Thanks for your help
You have programmed the modules in API mode, so better to use API frames. But as a general rule of thumb, API firmware is recommended when a device:
•sends RF data to multiple destinations
•sends remote configuration commands to manage devices in the network
•receives IO samples from remote devices
•receives RF data packets from multiple devices, and the application needs to know which device sent
which packet
•must support multiple ZigBee endpoints, cluster IDs, and/or profile IDs
•uses the ZigBee Device Profile services.
If the above conditions do not apply (e.g. a sensor node, router, or a simple application), then AT firmware might be suitable.
In AT mode you can just follow the below steps
open the Terminal tab and issue the following in order,
+++ (OK response is returned)
atdh=sh of receiver
atdl=sl of receiver
wait…
(send the data you want)
Hello World …
…
In both the case, check the sleep settings of end devices.