hey everyone, i'm trying to write some basic code to test out some relays that i had recently purchased. i'm using windows 10, arduino ide 2.0.3, and an elegoo arduino uno and nano. at first, i uploaded my code to an arduino nano, which responded with the error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4d
i tried reinstalling the ide, trying different cables, trying a different arduino alltogether, and even trying a whole new computer, but they still returned the same error. plugging in new arduinos didn't show a new arduino in the "ports" section, either. however, when i tried uploading this same code to an arduino uno, it worked instantly with no fuss. what's the problem here? is my computer to blame, are all three arduino nanos bricked, what's happening?
Some Nanos from Elegoo require the old bootloader. I think I found the solution to this somewhere on this forum but can't recall where, but a search on "nano old bootloader" may turn it up.
For a Nano, one should try the different processor options till one finds the one that works. There are some clones with the 168 processor instead of the 328P. The "old bootloader" option mentioned by @jhaine is usually the solution, especially by no-brand clones; it might also apply to the Elegoo.
Follow this tutorial to install drivers and load the bootloader. Since you have a working Uno, loading the bootloader is no problem, Just set up the jumpers and follow the instructions.
Very valid point. Because OP got the programmer is not responding error, I assumed that OP had selected the correct port; I now realise that it was mentioned that the board is not recognised so OP obviously did not select the correct port.
i was thinking it could have been drivers, but i had no clue how and where to get new drivers. my computer made that 4 tone noise when i plugged in the nano, but nothing new showed up in device manager.
thank you, this solution worked! the nano is detected by my computer and uploads code without issue. i simply looked underneath the arduino to figure out what processor it used. the original bootloader is the one that worked, not the old one.