Hi All, I have purchased a new UNO R3, today i tried uploading a sketch, this is the error message i am getting, can anyone enlighten me as to what the problem is?
Regards
Ray
Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Uno"
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\arduino-1.8.7\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM15
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=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x4e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x4e
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Remove any connections to pins 0 and 1. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.
Make sure you have selected the port of your Arduino board from the Tools > Port menu.
Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino, you can find it like this:
Unplug your Arduino board from the computer.
Tools > Port
Note the ports, if any, listed in the menu.
Close the Tools menu
Plug your Arduino board into the computer.
Tools > Port - The new port listed in the menu is your Arduino board.
Have the same problem
avrdude: stk500_recv(): programmer is not responding
I have nothing connected on pins 0 or 1, and I have checked the port.
I am using Windows 8 with an Arduino Uno for my line follower robot, my code is below- could it be to do with the library? Drivers? (I believe I have them installed correctly, but how do I check?
void setup() {
//setting the speed of motors
motor1.setSpeed(200);
motor2.setSpeed(200);
//declaring pin types
pinMode(lefts,INPUT);
pinMode(rights,INPUT);
//begin serial communication
Serial.begin(9600);
}
void loop(){
//printing values of the sensors to the serial monitor
Serial.println(analogRead(lefts));
Serial.println(analogRead(rights));
//line detected by both
if(analogRead(lefts)<=400 && analogRead(rights)<=400){
//stop
motor1.run(RELEASE);
motor2.run(RELEASE);
}
//line detected by left sensor
else if(analogRead(lefts)<=400 && !analogRead(rights)<=400){
//turn left
motor1.run(BACKWARD);
motor2.run(FORWARD);
/*
motor1.run(RELEASE);
motor2.run(FORWARD); /
}
//line detected by right sensor
else if(!analogRead(lefts)<=400 && analogRead(rights)<=400){
//turn right
motor1.run(FORWARD);
motor2.run(BACKWARD);
/
motor1.run(FORWARD);
motor2.run(RELEASE); /
}
//line detected by none
else if(!analogRead(lefts)<=400 && !analogRead(rights)<=400){
//stop
motor1.run(FORWARD);
motor2.run(FORWARD);
/
motor1.run(BACKWARD);
motor2.run(BACKWARD);
*/
}
Hello
I have the same problem, with a Nano and Win 7 home basic. This is the first time I am using the Arduino IDE, latest version downloaded.
Am not posting the error file since it is the same as in the first post.
Driver checked, cable verified working.
How do I ensure that pins 1 & 0 are not being used? Nothing else is running.
Appreciate any help, thanks
Since my Nano is probably a clone, I used the suggestion there that
"For that type of Nano derivative, Tools > Processor > ATmega328P (Old Bootloader) is likely to be the correct choice. I would recommend sticking with that menu selection for now, to avoid having multiple issues compounding each other."
And it worked.
Thanks to the forum members!
But a serious suggestion, seeing the number of posts on this same problem -- please have the responder provide the above comment, or a suitably worded one - it would save a lot of heartbreak.
In my case it has saved me from negative remarks from my better half
gresleyman:
I have tried all that you recommend, the tools menu still shows Com1.
Do you mean that the Tools > Port menu only shows COM1 and no other ports? Does that port only appear when the Arduino board is connected to your computer, following the instructions in my previous reply?