我无法为我的Arduino Uno工作获取蓝牙模块。我遵循从这个网站的指示: http://www.instructables.com/id/Arduino-AND-Bluetooth-HC-05-Connecting-easily/?ALLSTEPSArduino蓝牙模块HC-06错误
所以在我的蓝牙设置它说COM7传入所以我把它放在腻子和COM8传出,所以我把它放在arduino IDE。我得到这些错误
Sketch uses 3,016 bytes (9%) of program storage space. Maximum is 32,256 bytes.
Global variables use 226 bytes (11%) of dynamic memory, leaving 1,822 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "\\.\COM8": Access is denied.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x31
感谢
它看起来就像是教程做了什么。但好的,谢谢!所以当程序上传时,我可以断开它并将其插入电池中?我也遇到了终端问题。我的蓝牙设置说COM7-incoming-hc06和COM8-outgoing-hc06'dev b'。我的终端应该使用什么设备和哪个端口? – John
因此,一旦程序正确上传,您可以再次连接rx和tx。如果你这样做了,那么连接到你的电脑就不会有问题。确保程序运行后,将串行端口更改为com8(如果您从arduino接收信息)或com7(如果您正在向arduino发送指令),则在配对计算机时可能会混淆它们。我在使用hc-06时也遇到了这些问题,这是很多试验和错误。 – jc92me