Can some one tell me the meaning of this error SOLVED!

Hi All

I’m getting this error ( avrdude: stk500_getsync(): not in sync: resp=0x00 ) after I upload the sweep script to Arduino Uno card. I have card plugged into USB. I have 6v battery pack to red and black servo red and black. Servo yellow is going to pin 9. I also have a ground going to ground on Arduino Uno. Is there something I’m missing? Do I have to have a power line going to 5v on the Arduino Uno as well? I tested my battery pack (4 double A) and meter shows 6v. About to give up on this card as I think it may be flaky.

I do get a response from the servo but it wants to move to the right a hair rather than sweep. It’s now at the end of it’s travel and still wants to move to the right. I copied and pasted the script from the servo examples so there shouldn’t be any errors with that. Kind of lost here.

Ed

you need to Google that error has this error is caused by numerous reasons. First make sure you have the right board selected and the right COM port.

Do check the COM port settings and drivers as codlink suggested.

If the battery pack is not connected to Vin then you can ignore the following, but couldn’t hurt to try.

Additionally you can disconnect the servo and batterypack while uploading the sketch, and see if this make a difference in the reported error. The Uno does contain some circuitry that cuts off the USB power when it senses enough voltage on the Vin pin (should be about 6.6 volt). If this happens then there will be glitches in the 5 volt supply powering the chips on the Uno. Maybe the load of the servo plays into this by disturbing the voltage of Vin due to too much current draw.

Not that error … /gasp

http://iheartwallstreet.com/wp-content/ … s-near.jpg

:mrgreen:

Hi All,

Solved the error. In this case it was a comport miss match. Solution was to change the comport in Sketch to match that given by the PC. Thanks for your replies and comments.

Ed