Digital Servo Problem

Hi Everyone,

I am very new to arduino and am having trouble getting my servo to run. I am using a Traxxas 2075 digital servo ( on the arduino mega 2560. My voltage source is set to 6V and my signal wire is connected to pin 9. I looked at this thread and came up with the code below. Several of the commands were removed because they don’t work. The code below worked with a small analog Futaba S3114, but I was unable to get it to work with the digital servo.

#include <Servo.h>

Servo servo1;

void setup()
 Serial.print("Servo1 Ready\n");


void loop()
   Serial.print("Servo 1 position 70\n");
   Serial.print("Servo 1 position 100\n");

My voltage source is set to 6V and my signal wire is connected to pin 9

Did you connect the servo and arduino grounds?

Yes, both of the grounds are connected. Is there something unique about the code for a digital servo vs an analog?

My voltage source is set to 6V

CPU board input voltage ? Arduino Mega 2560 Input Voltage ( recommended ) 7-12V Sorry, I don't have mega2560 so I cannot check . PWRIN : 6V D1 drop 0.7V ? IC2 (MC33269) drop 1V ? VCC = 6 - 1 - 0.7 = 4.3V XTAL 16MHz Safe Operating Area 4.5V - 5.5V at 16MHz ( doc2549.pdf page 370 )

hmm... maybe work but no margin I recommend you try this. board input voltage - over 7V servo power - board VCC