Question about servo motor

Hello,

I want to run brushless motor with ESC using arduino mega 2560. I am using DLFPV motors and SIMONK30A esc.

I have attached the white signal pin to arduino digital pin 8 and black wire to the ground. ESC is powered using zippy compact 3300 60c series battery.

However it is not running at all.

I am using this code.

#include <Servo.h>

Servo esc1;
int motor = 1000;

void setup() {

Serial.begin(9600);
esc1.attach( 8 );
esc1.writeMicroseconds(700);

}

void loop() {
esc1.writeMicroseconds(motor);
}

700 or 1000 microseconds are at the bottom end of the ESC signal range. It's reasonable to expect a motor to be stopped at those levels. The normal working range is around 1000 to 2000 so try some higher values.

Or if you have a potentiometer handy try it with Knob example code from the IDE and see what level it actually starts to run at.

Steve