xbee shield v7用 leonardo板连不上xctu
2014-04-031.2万
AI 快速预览详细
本文讨论了使用 Leonardo 板和 Xbee Shield V7 通过 USB 连接电脑时无法连接到 XCTU 的问题。尽管 Xbee 本身通过 USB 适配器测试正常,但通过 Leonardo 板连接时出现问题。文章提供了具体的故障排查方法,包括检查 Leonardo 板的 USB 串口配置和确保 Xbee Shield V7 的连接方式正确。这些步骤可以帮助用户解决连接问题,避免自行排查的时间成本。
|
我用leonardo板加v7扩展版用usb接电脑始终不能连上xctu,用usb适配器测试过xbee能用。 另外用dfrobot leonardo+xbee板也连不上xctu |





Serial.begin(9600); //初始化串口并设置波特率为9600
Serial1.begin(9600);
}
void loop(){
char val;
val = Serial1.read(); //读串口
if(val!=-1){
Serial.print(val); //将收到是数据再通过串口发送出去
}
}[/code]如果这个时候还是不行,试试重启设备,比如USB接口,调试软件,xbee适配器之类的。。。往往有时候我们认为不可能的原因就是原因。
https://www.dfrobot.com.cn/goods-501.html
参考类似的讨论https://mc.dfrobot.com.cn/thread-646-1-1.html