ESC arming problem

it seems that whenever i start my ESC it takes a while to run accompanied by series of beep, and whenever it is running it constantly beeps! im using a 12V VRLA as a battery, im using a brushless motor and this code:

#include <Servo.h>

Servo myservo;

void arm(){
// arm the speed controller, modify as necessary for your ESC
setSpeed(0);
delay(1000); //delay 1 second, some speed controllers may need longer
}

void setSpeed(int speed){
// speed is from 0 to 100 where 0 is off and 100 is maximum speed
//the following maps speed values of 0-100 to angles from 0-180,
// some speed controllers may need different values, see the ESC instructions
int angle = map(speed, 0, 100, 0, 180);
myservo.write(angle);
}

void setup()
{
myservo.attach(9);
arm();
}

void loop()
{
int speed;

// sweep up from 0 to to maximum speed in 20 seconds
for(speed = 0; speed <= 100; speed += 5) {
setSpeed(speed);
delay(1000);
}
// sweep back down to 0 speed.
for(speed = 95; speed > 0; speed -= 5) {
setSpeed(speed);
delay(1000);
}
setSpeed(0);
delay(5000); // stop the motor for 5 seconds
}

is using a generic ESC with no brand name. i want my motor to run instantaneously when i turn it ON and this annoying beep when it runs keeps spying IMPOSSIBLE :)…PLEASE HELP!

Hi, Is it a car, marine or air ESC ?

If its a car ESC I would expect that it should be armed with 90 and for longer at least 2 seconds.

Duane B

rcarduino.blogspot.com

the specs says its for heli, is it because my esc is generic?

Hi, For heli 0 is an appropriate arming value.

As for the beep it could be anything at all, it might be a low voltage alarm, a signal alarm, anything.

I don't have any experience with Heli ESCs, but if you post a picture someone might be able to tell what it is or if its a generic copy, what it was copied from.

Other than that do you have radio equipment to program and test it with, does it beep with a radio or just with Arduino ?

Duane B

rcarduino.blogspot.com