简体   繁体   English

XBEE双工通信

[英]XBEE Duplex Communication

I want to configure my Xbees in such a way that both of them can receive and also transmit data ? 我想以这样的方式配置Xbees:它们都可以接收和传输数据吗?

I have two Xbee S1 modules. 我有两个Xbee S1模块。 One is currently configured as receiver and the other as transmitter. 当前一个配置为接收器,另一个配置为发送器。 At certain times, I want the receiver module to transmit data as well. 在某些时候,我希望接收器模块也发送数据。

Could anyone give a link to a tutorial which shows how this can be done ? 任何人都可以链接到显示该操作方法的教程吗?

Thanks in advance. 提前致谢。

Yes, it's possible to do that. 是的,有可能这样做。 If you have them configured with "AT mode" software, you just need to set the DH and DL parameters on XBee A to the SH and SL values from XBee B, and vice-versa (B.DH = A.SH, B.DL = A.SL). 如果使用“ AT模式”软件配置它们,则只需将XBee A上的DH和DL参数设置为XBee B的SH和SL值,反之亦然(B.DH = A.SH,B。 DL = A.SL)。

Now any characters going in the serial port on A will come out the serial port on B, and any that come in on B will go out on A. 现在,在A上的串行端口中输入的所有字符都将从B上的串行端口输出,而在B上输入的任何字符都将在A上输出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM