when I try to upload my code to my arduino uno, It verifyes but shows this error when uploading:" avrdude: stk500_recv(): programmer is not responding". I think the arduino is broken or something is wrong with the wire. I tried restarting the IDE and tried taking the wire out and keeping it back in.
Pls help me because I need this for my competition next month.
-
Welcome to the group.

-
Has the process of compiling and uploading a sketch worked in the past ?
-
Confirm you have the correct board selected and are using the correct COM port ?
Be sure to use a good USB data cable for the connection, not a charging cable.
Nothing will work unless a COM port shows up on the computer, when the Arduino is plugged in.
Drivers installed?
@sonofcy yes they are all installed
i have the cable arduino has gave me. is it good?
no. this has not happened to me before. and yes. i have selected the correct com and the correct board
You tell us. Try other cables.
Also describe what you were doing with the Arduino, before it stopped working.
Watch the device manager, and if when you plug in the cable you see a device get added then the cable is good. In that case you probably forgot to kill the serial monitor.
If uploads worked in the past you have damaged something. What was the project that you were working on when it started failing? Anything with voltages higher than 5V?
If uploads never succeeded you can ignore above.
If your Uno has the 16U2 or FT232 serial-to-usb converter, you can use the Loop-Back Test Instructions to check if that chip is working properly. The test is non-conclusive for the CH340.
Which serial-to-usb converter is on your board? It's the IC closest to the USB port.
Which operating system?
i was trying to make the parking lot project with my arduino. And i dont have any other cables for the arduino
sorry, i did not understand what you said
i was working on the parking lot project.yes. the project was above 5v 1 5v port was for the lcd display and one for the servo motor and ultra sonic sensor. and im not sure which serial-to-usb converter i have. i wil try to google search it.the operating system on my laptop is win 11.and yes. the ic port is closest to the usb port
Hey! the loop back test worked! thank you!
OK. Can you upload if you disconnect everything (except USB)? If not, the 328P is malfunctioning. It's either damaged or lost the bootloader (something that is not easily achieved). If you have a programmer or another (5V) Arduino you can try to burn the bootloader and see if that solves the issue.
You can inspect that chip. The writing on the chip will tell you. Windows device manager will also tell you. Be aware that there are fake ICs so not that what you see or what windows detects might reflect the true "content"; but as the loop back test succeeds I suspect that it's not a fake.
If it is recognised as an Uno you have a 16U2.
If it's recognised as an USB Serial Port, you have an FT232.
And if it's recognised as a USB_SERIAL CH340, you have a CH340.
Details (when double clicking an entry) will reveal the provider/manufacturer.
