Arduino uploading problem

Hello everyone,

I just got my package from RobotShop and started using the arduino UNO. I followed the online instructions and everything worked great (Hello World example). Uploading the sketches worked fine until I tried wiring in a servo. The first time it worked, but when I tried reuploading I get:

avrdude: stk500_getsync(): not in sync: resp=0x00

Disconnecting everything and reconnecting works until once and then the second time I get the same error. If I reconnect and remove the servo and upload sketches it works fine until I connect something to the pins. I’ve checking other forums but no one has an easy solution.

Thanks

I think I fixed it. In case anyone is having the same problem go to My Computer > Device Manager > Ports Com & LPT > Port Settings > Advanced and pick a different Com Port number. The one that worked for me was COM1. Did a couple runs and it seems to work without a problem.

No they were connected to to PWM pins (either 6 or 7 can’t remember). I don’t know if it’s the current draw even though they are powered from a seperate power supply. I already had one servo get its gears stripped because the arduino started acting funky, but haven’t had a problem since then so I hope its good.

Are you connecting your servo in arduino ports 0, 1 ?? as these ports are designated for Serial communication thus the problem may occur.