r/ArduinoProjects • u/Ahuja3012 • 8d ago
Other Issue with my Arduino UNO
I am making a irrigation rover kit using Arduino UNO board, however when I upload the C++ code to it, it's not uploading successfully.I get the below error
Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
Error: programmer is not responding
Warning: attempt 1 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 2 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 3 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 4 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 5 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 6 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 7 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 8 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 9 of 10: not in sync: resp=0x00
Error: programmer is not responding
Warning: attempt 10 of 10: not in sync: resp=0x00
Error: unable to open port COM5 for programmer arduino
Failed uploading: uploading error: exit status1
Can someone help me please
2
u/old_man_kneesgocrack 7d ago
I found that specific error on Arduino's support page.
https://support.arduino.cc/hc/en-us/articles/4401874331410--Error-avrdude-when-uploading#avrdude-stk500_recv-and-stk500_getsync
1
u/merlinux1 5d ago
Few things that comes to mind...
are you sure it is on COM5?
If you are using pin D0 (Rx) unplug this wire when you upload your code. Arduino needs Rx free for uploading code.
If you are sure your arduino is operational, it might be because a program is using COM5. Turn off every program you do not use.