So a few days ago, my machine worked. I had just welded all my components together : a dc motor, a L293D driver, a servo motor, a potentiometer, a contactor, a resistor, and of course the nano card. It was powered by a 12v external power supply.
However, the more the machine runned, the more it seemed to "forget" the code, so I needed to upload again the code quite oftenly, otherwise it would stop working correctly.
I didn't mind this little surprise, it still worked.
BUT Since yesterday, i can't upload anything on the card anymore!!!
I have tried with other nano cards coming from the same lot, and it uploads the code just fine, so I guess that the problem doesn't comes from the computer, right?
I have two guesses, but i don't know at all if they are right or not :
maybe it' because the card comes from a lot I bought online, which isn't an official Arduino product? But they have all the same features!
-maybe it's because some of the wires, or the metallic structure surrounding the card, created a contact between some of the pins which burnt or destroyed something inside the card? But I had cautionly isolated the wires
I am on a Mac Os X 10.11, I have the latest version of Arduino, and while uploading my sketch I have selected the right port, the right card type, and the processor "ATmega328P (Old Bootloader)".
Do you have any idea about this?
Thanks in advance for your help, and have a good day.
Oh, I forgot to show you the error message. Here it is :
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
The green light on the nano card doesn't light up, like it does usually.