couldnt upload my code please help arduino nano.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x5d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x5d
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

i did everything what is in the trouble shooting but nothing happen please help me why my code couldnt upload to my arduino nano

auto.ino (3.09 KB)

Is the device showing up correctly in Device Manager (if you're using Windows)?
Have you tried using the Toos>Processor>Old Bootloader option?

yes ive already do that sir can you help me out sir?

please help me out cause imout of time my project deadline is very soon im a high school student please help me what i seen in youtube code didnt work



void setup (void)
{
}

void loop (void)
{
}

There you go - you just need to fill in the blanks for your unstated specification.

programmer is not responing what is theproblem?

Start here

So you've tried both the old and new bootloader? And you've selected the correct port?

vinceregwapo:
please help me out cause imout of time my project deadline is very soon im a high school student please help me what i seen in youtube code didnt work

You can't construct a decent English sentence. You are apparently unaware of something called punctuation. Side note: the compiler is implacable - and somewhat cryptic - in matters of syntax. You obviously don't plan well. You haven't read any of the stickies at the top of the forum topics (how to use this forum). I'd say your hope of success is dim.

It is not recommended you connect your servo motor to the Nano and batteries like that.

Try powering the Nano from your computer, common GND to the motor.

Try VCC on sensor to +5V.

Always show us your complete sketch, us code tags </>

vinceregwapo:
please help me out cause imout of time my project deadline is very soon im a high school student please help me what i seen in youtube code didnt work

I can't see any of your code. If I could and if you said what it was supposed to do I may be able to help.

So far you've said you've left your project very late and you've seen something somewhere in youtube but whatever it was and whatever it was supposed to do it apparently didn't work. There's nothing there anyone can help with.

Steve

you connect cables wrong...
if you connected right you would get at least processor signature

You chose the wrong serial port in the menu or your Arduino is broken.

vinceregwapo:
programmer is not responing what is theproblem?

How do you expect the forum to know ?

You have not revealed what you are trying to program and which programmer you are using.

@vinceregwapo, do not cross-post. Threads merged.