使用 XC-TU 配置 Xbee S2 [英] Configuring Xbee S2 with XC-TU
问题描述
我正在尝试使用 2 个 Xbee 模块建立一个非常基本的网络.一个作为协调器,另一个作为路由器.
I'm trying to set up a very basic network using 2 Xbee modules. One as Coordinator and the other as Router.
问题
我只能将数据从 Arduino(路由器)发送到 XCTU(协调器).这是一种单向通信.为了建立双向通信,这些模块的正确配置是什么?
I am only able to send data from Arduino (Router) to XCTU (Coordinator). It's a mono directional communication. What's the correct configuration for these modules in order to establish a bidirectional communication?
我遵循了这些教程,但没有一个奏效.
I have followed these tutorials and none of them worked.
- http://www.seeedstudio.com/wiki/Zigbee_Networking_with_XBee_Series_2_and_Products/li>
- http://www.digi.com/support/forum/40215/how-to-send-data-from-router-to-coordinator-in-api-mode-xbee-s2
- http://xbee.wikispaces.com/Mesh+with+Xbee
调制解调器版本为 XB24-ZB.协调器有20A7固件和以下序列号:
The Modem version is XB24-ZB. The coordinator has 20A7 firmware and the following serial number:
高:13A200 和低:407B69E6
high:13A200 and low: 407B69E6
带有固件 22A7 的路由器:
The Router with firmware 22A7:
高:13A200 和低:40813BFC
high:13A200 and low: 40813BFC
这是协调器配置:ZIGBEE COORDINATOR AT
Here is the Coordinator configuration: ZIGBEE COORDINATOR AT
- PAN ID:1111
- DH:13A200
- DL:40813BFC(Rooter 序列号低)
- 波特率:57600
- PAN ID: 1111
- DH: 13A200
- DL: 40813BFC (Rooter serial number low)
- Baud Rate: 57600
这是路由器配置:ZIGBEE ROUTER AT
Here is the Router Configuration: ZIGBEE ROUTER AT
- PAN ID:1111
- DH:13A200
- DL:407B69E6(协调器序列号低)
- 波特率:57600
推荐答案
如果更换 XBee 模块,问题是出自模块还是设备 (Arduino/XCTU)?您想确定这是 XBee 还是 Arduino 的问题.另一件要尝试的事情是将两个 XBee 模块连接到带有 XCTU 的 PC 上的串行端口.如果数据是双向的,则是 Arduino 上的代码或接线问题.
If you swap the XBee modules, does the problem follow the module or the device (Arduino/XCTU)? You want to determine whether it's an issue with the XBee, or the Arduino. Another thing to try would be connecting both XBee modules to serial ports on a PC with XCTU. If data is bi-directional, then it's an issue with the code or wiring on the Arduino.
这篇关于使用 XC-TU 配置 Xbee S2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!