I have been trying to upload this code to my arduino for around a week now and I just cannot manage to get it to upload. I have tried 4 different computers and none of them can upload. I finally got COM1 to show up on my desktop but from there nothing. Here is the error code I get
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 4,766 bytes (14%) of program storage space. Maximum is 32,256 bytes.
Global variables use 396 bytes (19%) of dynamic memory, leaving 1,652 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Which Arduino board is it ? Is it an official Arduino board or a fake/clone/counterfeit ? Can you make a photo of it ?
Did you try different USB cables ?
When you try to connect to the Arduino board, remove everything from the Arduino board. Remove every sensor and all wires.
Have you installed the Arduino drivers ? When you install the Arduino IDE, then also the drivers are installed. When you unpack the Arduino IDE in a folder, you better install the newest drivers from the "drivers" folder.
Do you have a cheap clone with the CH340G chipset ? That is not an official Arduino usb-serial chip, and you have to install the drivers from : CH341SER.EXE - 南京沁恒微电子股份有限公司
If you have a clone board with the CH340G, how much did you pay for it ? They should cost no more than 3 dollars (http://www.aliexpress.com/item/Free-shipping-high-quality-UNO-R3-MEGA328P-CH340G-for-Arduino-Compatible-NO-USB-CABLE/1967735193.html).
it is most likely the port you are using (try a few)
or the board you have selected (make sure they match)
or the processor you have selected
all of these options can be found under tools.
make sure they all match the product and port you are using.
alternatively it could be on the software side of your computer. not sure what the fix is for that, but you should check "device manager" if you use windows. plug and unplug the usb a couple times to see if it shows up. if it is working correctly, you should see COMx show up in the list of ports
If the loopback test passes, that means that the driver is installed correctly and the USB to serial converter on your arduino board is working (ruling out more than half of the suggestions given by the posts above)
Koepel:
Which Arduino board is it ? Is it an official Arduino board or a fake/clone/counterfeit ? Can you make a photo of it ?
Did you try different USB cables ?
When you try to connect to the Arduino board, remove everything from the Arduino board. Remove every sensor and all wires.
Have you installed the Arduino drivers ? When you install the Arduino IDE, then also the drivers are installed. When you unpack the Arduino IDE in a folder, you better install the newest drivers from the "drivers" folder.
Do you have a cheap clone with the CH340G chipset ? That is not an official Arduino usb-serial chip, and you have to install the drivers from : CH341SER.EXE - 南京沁恒微电子股份有限公司
If you have a clone board with the CH340G, how much did you pay for it ? They should cost no more than 3 dollars (http://www.aliexpress.com/item/Free-shipping-high-quality-UNO-R3-MEGA328P-CH340G-for-Arduino-Compatible-NO-USB-CABLE/1967735193.html).
Both of my boards are from either this website or the verified Amazon Arduino retailer. I have tried many different ports but only COM1 shows in the tool bar. I installed the arduino software but nothing else. If someone could explain what a IDE is to me I would be grateful. This is my first time with any of this stuff...
If the loopback test passes, that means that the driver is installed correctly and the USB to serial converter on your arduino board is working (ruling out more than half of the suggestions given by the posts above)
"Arduino" is the whole thing, software and hardware. Perhaps even this forum is part of the "Arduino".
The Arduino IDE (Integrated Development Environment) is the software that you download and install.
An Arduino board is for example the Arduino Uno.
I prefer to use "Arduino IDE" when I'm talking about the software program to develop a sketch.
A verified Amazon Arduino seller doesn't mean a thing. Can you make a photo of your board ?
Koepel: "Arduino" is the whole thing, software and hardware. Perhaps even this forum is part of the "Arduino".
The Arduino IDE (Integrated Development Environment) is the software that you download and install.
An Arduino board is for example the Arduino Uno.
I prefer to use "Arduino IDE" when I'm talking about the software program to develop a sketch.
A verified Amazon Arduino seller doesn't mean a thing. Can you make a photo of your board ?
It does look very good, however, there are Arduino fake/clone/counterfeit boards that look that good. If it was shipped in a small Arduino cardbox box, then it is the real one. If it was only wrapped in plastic, then it is probably counterfeit.
The bootloader could be corrupted or the code in the usb-serial chip could be corrupted. Those things happen sometimes. Or it is just broken
One way or the other, you have bad luck with this board.
Maybe someday you have a programmer or know how to use an Arduino Uno as programmer to burn the bootloader.
My best suggestion is to buy another Arduino board.
Did you do the loopback test? What was the result?
This is a critical next step.
For that matter - if there is no Arduino plugged in, do you still see a COM1 in the tools -> ports menu? If yes, COM1 is not the Arduino, and you have driver problems.
DrAzzy:
Did you do the loopback test? What was the result?
This is a critical next step.
For that matter - if there is no Arduino plugged in, do you still see a COM1 in the tools -> ports menu? If yes, COM1 is not the Arduino, and you have driver problems.
I plan on doing all of this stuff tomorrow or over the weekend, I have finals tomorrow morning. I do still see COM1 with nothing plugged in.
Okay, if there's a COM1 without the Arduino connected to, COM1 is not the correct port to use. If there's no other port when the Arduino is connected, you need to fix the drivers.
Check device manager, and see if anything shows up when you plug in the Arduino
dminzi:
I have been trying to upload this code to my arduino for around a week now and I just cannot manage to get it to upload. I have tried 4 different computers and none of them can upload. I finally got COM1 to show up on my desktop but from there nothing. Here is the error code I get
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 4,766 bytes (14%) of program storage space. Maximum is 32,256 bytes.
Global variables use 396 bytes (19%) of dynamic memory, leaving 1,652 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
** This report would have more information with**
** "Show verbose output during compilation"**
** enabled in File > Preferences.**
Vaclav: Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
** This report would have more information with**
** "Show verbose output during compilation"**
** enabled in File > Preferences.**
I see no value to enabling verbose output at this point, in light of OP's most recent post, where he revealed that COM1 doesn't go away when he unplugs the Arduino, and hence is not the Arduino's serial port, so he has driver problems. Until he has a COM port that appears when he plugs in the Arduino, nothing the IDE can output will be useful in resolving the problem.
DrAzzy:
I see no value to enabling verbose output at this point, in light of OP's most recent post, where he revealed that COM1 doesn't go away when he unplugs the Arduino, and hence is not the Arduino's serial port, so he has driver problems. Until he has a COM port that appears when he plugs in the Arduino, nothing the IDE can output will be useful in resolving the problem.
Can you direct me to a place where I can find help fixing my driver issues?
dminzi:
Can you direct me to a place where I can find help fixing my driver issues?
Here?
As I said before: Check device manager, and see if anything shows up when you plug in the Arduino.
What does it display as? Does it have a trouble icon next to it? Do you get the "The last device you connected has malfunctioned" message? (that message is bad news, btw, so I hope you don't get it)
As I said before: Check device manager, and see if anything shows up when you plug in the Arduino.
What does it display as? Does it have a trouble icon next to it? Do you get the "The last device you connected has malfunctioned" message? (that message is bad news, btw, so I hope you don't get it)
Ok, sorry for the delay in response. So when I plug in my unwired arduino it shows up in device manager as COM3. However, my wired up arduino does no show up at all. I will be swapping them now to see if that has any effect.
Koepel:
It does look very good, however, there are Arduino fake/clone/counterfeit boards that look that good. If it was shipped in a small Arduino cardbox box, then it is the real one. If it was only wrapped in plastic, then it is probably counterfeit.
The bootloader could be corrupted or the code in the usb-serial chip could be corrupted. Those things happen sometimes. Or it is just broken
One way or the other, you have bad luck with this board.
Maybe someday you have a programmer or know how to use an Arduino Uno as programmer to burn the bootloader.
My best suggestion is to buy another Arduino board.
Ok! I have finally tried this test and everything worked as it was supposed to on both of my Arduino Unos. I think I have located the source of the error. I will do my best to explain. So the robot I was trying to make had a motor shield and 4 wires going into it. The wires were attached to a breadboard which led into a HC-SR04 sensor. Wires went from the sensor to the 12, 13, GND and 5V slots. I am able to upload data to my board when it is plain with nothing on it. I am able to upload to my board when the motor shield, power and motors are attached. But, as soon as I plug in the wires from the sensor to the Arduino it no longer shows up as an upload port. I think the drivers I have installed are good because when I plug my Arduino in it shows up as COM4 and says Arduino Uno next to it in both the device manager and tool bar of IDE. It is vital to my robot that these wires connect from the sensor to the arduino so I am really at a loss about what to do. One of my motors crapped out on me so I wont be able to do much real testing with motors until Thursday. I have a large pack of wires consisting of female to female, male to male and male to female. I am assuming that my error is in the way I have set those up. Here is a visual representation of the wiring. http://cdn.instructables.com/F09/ZP5N/I5S2F3V3/F09ZP5NI5S2F3V3.LARGE.jpg
Hey, i was having the same problem and most of the forums with the "getting start" can lead to a very basic mistake.
before start anything...
in your arduino menu> files> examples folder you can see the ArduinoISP file? first of all you have just to upload this to your UNO, as you would for any program you write for UNO. forget the connections and etc. (by the way, you must set your tools>programmer> to the default position, which is AVRISP mkll).
If this is done, now you can start to connect the wires, etc...
change Tools>board... processor... clock... to suit your scenario. Also Tools>programmer to Arduino as ISP.
if wiring is correct and you are sure your uno is working and the attiny is not damaged, you could upload the blink example, changing the 13 pin for 0 and you can see the blinking led if you set it to the 0 pin of attiny. Hope you can figure it out!