I am working on my first project which has Six servos connected to Arduino Mega 2560. I have a simple code that rotates the Six servos in different directions with different speeds.
The problem is that when I upload the sketch, I get the famous error message [avrdude: stk500v2_ReceiveMessage(): timeout]. I have seen many responses to this issue in this forum.
1) When I just connect ONE servo, the sketch upload just works fine without the error. 2) When I connect the SIX servo, the sketch upload gives me the error.
I have re-updated drivers, checked the circuit , etc but no luck. One thing I noticed is that when I upload the sketch when the SIX servos are connected the Device Manager keeps showing/hiding the COM port.
I would appreciate any help if anyone has an idea how to fix the problem.