problem with

when I uploaded my code
this error appears:
Sketch uses 2072 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 189 bytes (9%) of dynamic memory, leaving 1859 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xfb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xfb
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
I really need help soon

car.ino (1.2 KB)

HI,
i think you use HC-05 or HC-06 Bluetooth module in your project
SO ,you should press the RESET button when it uploading
OR You can unpin the VCC and GND of the Bluetooth module when you are uploading the code

Regards
kiroloes

I did that and the code has been uploaded but the car dont want to work
thanks for your help

Well, you've got uploading working at least!

It sounds like you've got something connected via serial (bluetooth?) - does the thing you're connecting to it get the echo'ed response? If so, you know you've got that right. If not, check that TX and RX are the right way around. Try connecting TX and RX of the bluetooth module (or whatever that serial device is) to eachother, and then send something; it should definitely be echoed back now (if not, there is a problem with either the thing you have connected to serial, or the program that's talking to it).

You should also be able to control it over the serial monitor with the bluetooth or whatever serial device you're trying to control it with disconnected entirely.

How are you driving the motors? You're not trying to drive them directly from the arduino pins, I hope.

Kiroloes:
HI,
i think you use HC-05 or HC-06 Bluetooth module in your project
SO ,you should press the RESET button when it uploading
OR You can unpin the VCC and GND of the Bluetooth module when you are uploading the code

Regards
kiroloes

Neither of these solutions are appropriate.

If using a HC-05 or HC-06 bluetooth module (which is not clear from OP's post!), it should be disconnected from pins 0 and 1 when uploading code. If you disconnect Vcc and Gnd, opposing voltages could be applied to the bluetooth module's TX and RX pins. This may damage the bluetooth module.

thank you guys for your help , it works now

swassim