Arduino:avrdude:stk500_recv():程序员没有回复

时间:2017-11-16 16:02:36

标签: android bluetooth arduino-uno

我目前正试图通过使用Arduino和蓝牙模块的Android智能手机来控制RGB LED。如下面的链接教程。

  

http://www.instructables.com/id/Controlling-an-RGB-LED-With-an-Android-Smartphone-/

我正在使用Arduino Uno。 我在教程和代码中制作并上传到Arduino然后它显示如下错误消息,无法上传到Arduino。

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
     Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "/Applications/Arduino.app/
     Contents/Java/hardware/tools/avr/etc/avrdude.conf"

     User configuration file is "/Users/kyawzinwai/.avrduderc"
     User configuration file does not exist or is not a regular file, 
     skipping

     Using Port                    : /dev/cu.usbmodem1421
     Using Programmer              : arduino
     Overriding Baud Rate          : 115200

     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 1 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 2 of 10: not in sync:                   
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 3 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 4 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 5 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 6 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 7 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 8 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 9 of 10: not in sync: 
     resp=0x00
     avrdude: stk500_recv(): programmer is not responding
     avrdude: stk500_getsync() attempt 10 of 10: not in sync: 
     resp=0x00

     avrdude done.  Thank you.

     Problem uploading to board.  See 
     http://www.arduino.cc/en/Guide/Troubleshooting#upload for 
     suggestions.

6 个答案:

答案 0 :(得分:3)

最后我可以解决问题。从Arduino开发板上移除所有电线,只需将草图上传到开发板并完成上传。再次重新连接所有电线并完成。

答案 1 :(得分:2)

答案 2 :(得分:1)

希望这会对某人有所帮助...... 我得到了同样的错误“avrdude:stk500_recv():程序员没有响应”因为我的COM端口没有正确连接,即使它显示为我的板与COM1端口连接。我的详细信息是Arduino:1.8.5(Windows 8.1),主板:“Arduino / Genuino Uno”

我必须在Windows 8.1中禁用驱动程序签名强制之后我从设备管理器安装驱动程序。一旦我重新启动我的PC,那么只有COM4显示在Arduino IDE的端口列表中。 enter image description here

答案 3 :(得分:0)

当我尝试刷新attiny85时,我发现“程序员没有响应”错误。当我切换到Arduino IDE 1.6.4并选择Arduino Genuino / Uno作为开发板时,我摆脱了烦人的错误。这是重要的部分,也是一个常见的错误:上传名为“ ArduinoISP”的示例草图时,请不要切换到“ Arduino as ISP”模式。 要记住的另一件事是使用正确的电容器。我最初使用1000mF的电容,并认为它可以工作,但我错了。使用10mf-100mF范围内的东西。

感谢您的关注,祝您好运

答案 4 :(得分:0)

在我的情况下,我将Arduino(UNO)的pin0和pin1连接到了七段显示器。 引脚0和1用于上传通信。在上载之前,请删除引脚0和1,并在上载之后将其复位。为我工作。

答案 5 :(得分:0)

确保Arduino的RESET和GND引脚不是