Brushless motor keeps beeping

The parts i'm using:
A2212/6t 2200KV brushless motor
T-rex 450 V2 ESC
12V AC-DC adapter, 2A

So this is my code:

#include <Servo.h>
 
Servo esc;
void setup()
{
esc.attach(9);
Serial.begin(9600);
}
 
void loop()
{
esc.write(0);
Serial.println("0");
delay(5000);
esc.write(100);
Serial.println("100");
delay(5000);

/*esc.write(20);
Serial.println("0");
delay(5000);
esc.write(20);
Serial.println("20");
delay(5000);*/
}

When i run a arduino program with only esc.write(100);, it doesn't work, but after that, when i upload this program, this program works for a few seconds.

The first time it writes 100, it works for a few seconds, after that, the ESC restarts. Doesn't matter which value i give it.

Then, when the value is 0, it beeps fast. When the value is 100, it gives a beep with 2 beeps following it.

It's a bit complicated, but i hope that i explained it good.

Thanks

How are you powering the ESC? It appears that combination uses about 30 amps at full throttle. If you are powering it with that AC - DC adapter, you are a bit short on the current capability.

2A supply? No chance. Think 5A to 30A as the sort of currents involved with RC motors.

Thanks, going to buy a LiPo battery then. Thanks!

Hi,
Have you got a link to the ESC manual?
Each time I try for the ESC model you quote, I get a helicopter.
Also specs on the motor.

Thanks.. Tom.. :slight_smile:

TomGeorge:
Hi,
Have you got a link to the ESC manual?
Each time I try for the ESC model you quote, I get a helicopter.
Also specs on the motor.

Thanks.. Tom.. :slight_smile:

Hi,
I bought them from aliexpress.
http://www.aliexpress.com/item/Brushless-Motor-Speed-Controller-Control-RC-BEC-ESC-for-T-rex-450-Helicopter-30A/693538596.html
http://www.aliexpress.com/item/A2212-KV1400-Kv1000-KV2200-RC-Brushless-motor-rc-spare-parts-Firepower-for-airplane-helicopter/32619104159.html

Hi, i got a 2200 mah, 11.1V, 30c discharger battery, but it still isn't working. This is how i connected it:

. This is the code i'm using

#include <Servo.h>
 
Servo esc;
void setup()
{
esc.attach(9);
esc.writeMicroseconds(1500);
Serial.begin(9600);
}
 
void loop()
{

esc.write(0);
Serial.println("0");
delay(5000);
esc.write(100);
Serial.println("100");
delay(5000);

/*
esc.write(20);
Serial.println("0");
delay(5000);
esc.write(20);
Serial.println("20");
delay(5000);
*/
}

Whenever it ouputs 0, the motor starts beeping fast. Whenever it outputs 100, the motor beeps once, followed by two fast beeps.

Thanks

You need to initialise (arm) the ESC before you can use it. If the throttle starts out outside its calibrated area, it will not work.

// Per.

Get a cheap servo tester so you can experiment with working out the arming sequence.

This sort of thing: BestDealUK Servo Tester CCPM Consistency Master Checker 3ch 4.8-6v for sale online | eBay

I just load up the "Knob" example for servos to test ESCs or servos. You do need a pot to make it work.

Thanks! It works now!

I had the same issue with the following parts:

ESC: RioRand 30A Brushless Motor Speed Controller RC BEC ESC Amazon.com

Motor: RioRand 30A Brushless Motor Speed Controller RC BEC ESC Amazon.com

Loading the knob example worked. Thanks, justone!