使用 Arduino XBee Shield 和 XBee Explorer 进行无线编程
我正在尝试通过 XBee Shield 和 XBee Explorer 启用 Arduino 的无线编程。我在网上看过两个教程,XBee 无线电 和ATmega168/ATmega328 无线引导加载 向您展示如何做到这一点。
不过,这两个教程都讨论了使用组件将接收器 XBee 连接到 Arduino。 XBee Shield 负责处理接收器 XBee 和 Arduino 之间的通信,因此不需要(或者确实是)额外的组件。他们谈论使用电容器或晶体管来无线重置 Arduino。 XBee Shield 是否已经可以实现这一点,或者我可以对其进行一些修改以使其成为可能吗?
如何使用现有的 Arduino IDE 对 Arduino 进行无线编程?
I am trying to enable wireless programming of an Arduino via the XBee Shield and an XBee Explorer. I've seen two tutorials online, XBee radios and Wireless Bootloading for ATmega168/ATmega328 that show you how do it.
However, both tutorials talk about using components to connect the receiver XBee to the Arduino. Well the XBee Shield handles the communication between the receiver XBee and the Arduino, so the extra components aren't necessary (or are they). They talk about using a capacitor or transistor to be able to wirelessly reset the Arduino. Is this already possible with the XBee Shield, or is there some modification I can make to it to make it possible?
How can I use the existing Arduino IDE to program my Arduino wirelessly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是对的,因为需要额外的组件来无线重置 Arduino,即使您使用 Xbee 扩展板,您也确实需要它们。我假设您正在阅读的教程之一是这个 。您要做的就是阅读教程并将晶体管/电容器/电阻器电路构建成一个小球(类似于this) 或在一块带有三根信号线的原型板上。您需要将“来自 XBee 的重置信号”焊接到屏蔽层上应贴有标签的 D3 引脚(或者可以在 数据表)。然后你必须找到一种方法将复位连接到 Arduino 上的复位引脚,并将接地连接到任一设备(因为它们应该通过屏蔽连接)。这就像将电线插入 Arduino 上的插座一样简单。完成此操作并按照前面提到的教程设置环境后,您应该可以开始了!
如果您有任何疑问,请随时提问,我应该能够提供帮助。
You are correct in the fact that the extra components are needed to reset the Arduino wirelessly and you do need them even if you are using the Xbee shield. I'll assume that one of the tutorials that you were reading was this one. What you are going to want to do is read over the tutorial and build the transistor/capacitor/resistor circuit into a little ball (similar to this) or on a piece of prototyping board with the three signal wires coming out. You need to solder the "Reset signal from XBee" to the D3 pin on the shield which should be labeled (or it can be found on the Datasheet). Then you will have to figure out a way to connect the reset to the reset pin on your Arduino, and the ground to either device (because they should be connected by the shield). This can be as simple as sticking the wire into the sockets on the Arduino. After you do this and setup the environment as per the previously mentioned tutorial, you should be good to go!
If you do have any questions, feel free to ask, I should be able to help.