Hello,
i'm relativley new to arduino uno. Yesterday i tried out a new servo motor on my arduino uno. I already had a working servo motor from my ELEGOO super starter kit and it worked fine. After i connected the new servo to my arduino and powered it through my notebook, the servo started moving weirdly (now like i programmed it to move) and my notebook reseted.
it runs on windows 11 so I thought it was one of the many bugs the system currently has.
But when the same thing happend again i was concerned, it was something about the servo.
The new (bigger) servo is opperating between 4.8V - 7.0V while the original (that worked fine) only needed 4.8V. Thankfully my notebook seems to work fine.
Now to my problem:
I can't upload any sketches to my arduino uno anymore. It just says Uploading... and after 10 trys, a error notification accurs. I already searched the web the whole night but could not find anything.
The arduino is not connected to any wires, just to the standard blue USB Adapter.
I have tried a different USB Input to my notebook but the same error notification accurs.
Note that im using the ELEGOO Uno R3, if it makes any difference.
What i have tried:
Reinstalling the IDE Software on
Checking ports
Checking boards
Checking the Code (Can't even upload bare minimum, so i assume thats not the problem)
Checking the arduino lights (Both green and orange lights are premanently on while connected to the USB Port or any other power source)
I read online that this problem is often not solved by just buying new hardware.
Thinking about connecting it to my old computer and see what happens, but that would not solve my problem on my notebook...
I really love tinkering with my arduino and i hope somebody can give me some advice here.
Thanks.
Here is the full error code:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe5
Failed uploading: uploading error: exit status 1
First step would be to check power; measure the 5V pin.
I'm reasonably sure that your Uno has the 16U2 ttl-to-usb converter (the chip closest to the USB port). If windows recognises it as an Uno, it has that chip.
If so, you can run the loopback test (instructions are in the Installation and Troubleshooting section); if the test fails, it more than likely indicates that that chip is faulty, if it passes the problem is possibly the main processor.
You can also use that test if your Uno uses a FTDI ttl-to-usb chip, but the test is non-conclusive if your board has the CH340 ttl-to-usb chip.
How did you power the servo? How was the Uno powered when the problem started?
Connected a LED to the 5V Pin, via a 330Ohm ressistor, LED shines bright as ever.
The name of the square ship is: AIMEL MEGA 16U2 2120 TH 2120PCR
The Uno was power via USB cable of my Notebook and the servo was connected to the Uno.
I think the loopbacl test failed. Im not sure tho, because after i reinstalled the IDE software it was not the bright look but i believe a newer version with a dark theme and new designs, but same strukture. So i opened the serial monitor and typed hello world, but nothing happend. Maybe it worked, but i dont know it looks in the new version?
I'll inlude to pictures of my monitor aswell as a picture of my arduino while testing.
Thanks.
Update: i tried the whole process on a completly different computer and i got the same results from the generell upload problem and the loopback test. Looks like sterretje was right and i need new parts if not a new arduino...
Does maybe anybody know what to do with / how to fix the arduino with this problem?
In IDE2.0, you need to use <ctrl><enter> to send the text.
If the 16U2 has died, you have two options.
Replace it.
Buy a ttl-to-usb adapter; it needs to have DTR broken out as well. You can connect that to the TX and RX pins and DTR to the reset of the Uno.
If you have another Arduino or a programmer, you can try to burn the bootloader. If that fails, the 328P is also broken.
Note: a led plus resistor does not give an indication of the voltage level; for your eyes the the difference between 4V and 5V will more than likely not be visible. Buy a multimeter
Yeah i figured that the LED would not be a perfect tool hehe.
Thanks for the advice.
Do you have any clue on what i could have done wrong? Maybe the bigger servo needed too much power, that my notebook simply could not provide? Again, the little servo had no problem, running on power from my notebook.
most likely. You've tried a lot of irrelevant changes, but it all comes down to knowing what you can and can't power from the Arduino. Pretty much, keep it to a few LEDs and you're good. Servos in general, even the small ones, are no-go; if you stall even the small ones, you'll overload the 5V regulator on the Uno, and likely kill it if you leave it connected while investigating the stall.
True, I missed that, but instead, the load presented to the USB port by the servo may still be too much for the USB port, resulting in the same problem. Actually it's more likely, given that the smaller servo was ok, but the larger one not.
Anyway, it's all dirt under the rug, the OP is long gone.
C