2
$\begingroup$

I recently bought a set of escs, brushless outrunner motors and propellers. I'm trying to perform a calibration on the esc, but I can't find how I can do that without using components other than the arduino uno itself. The setup I've managed to make is the one shown in the picture. The escs are a mystery, as there is no manual to be found. If it helps, the buy link is this : http://www.ebay.co.uk/itm/4x-A2212-1000KV-Outrunner-Motor-4x-HP-30A-ESC-4x-1045-prop-B-Quad-Rotor-/111282436897 There might also be a problem with the battery (LiPo 3.7V, 2500mAh). My Setup

Can andybody figure out what I'm doing wrong? The sample arduino code I found was this:

#include <Servo.h>

#define MAX_SIGNAL 2000
#define MIN_SIGNAL 700
#define MOTOR_PIN 9

Servo motor;

void setup() {
  Serial.begin(9600);
  Serial.println("Program begin...");
  Serial.println("This program will calibrate the ESC.");

  motor.attach(MOTOR_PIN);

  Serial.println("Now writing maximum output.");
  Serial.println("Turn on power source, then wait 2 seconds and press any key.");
  motor.writeMicroseconds(MAX_SIGNAL);

  // Wait for input
  while (!Serial.available());
  Serial.read();

  // Send min output
  Serial.println("Sending minimum output");
  motor.writeMicroseconds(MIN_SIGNAL);

}

void loop() {  
}
$\endgroup$
3
$\begingroup$

What is the problem you're having? You ask, "Can anybody figure out what I'm doing wrong?" but you don't state clearly what your problem is. Will the motors not spin up after? Is anything happening when you do the calibration?

As an FYI, here is an answer on EE stack exchange explaining the basic startup modes for an electronic speed controller. Quoting:

Normal starup [one style of ESC]:

  • Turn On ESC

  • minimum throttle

  • wait 2 seconds

  • maximum throttle

  • wait 2 seconds

  • minimum throttle

  • wait 1 second

OK to Go

Normal starup [another style of ESC]:

  • Turn On ESC

  • minimum

  • wait 3 seconds

  • OK to Go

Calibration:

  • Turn on ESC

  • maximum

  • wait 2 sec

  • minimum

  • wait 1 sec

  • OK to go

From that post, typically there's a beep from the ESC between each of these steps (where you're instructed to wait, wait for the beep).

$\endgroup$
  • $\begingroup$ I try to start it up, but no sounds are made, like everyone say it should be, and the motor doesn't react at all. What do you mean by "turn esc on"?? $\endgroup$ – Petros Feb 25 '16 at 20:23
  • 1
    $\begingroup$ @Petros - Connect (typically battery) power to the ESC. I just check on my phone (imgur is blocked where I work) and I would advise you to remove the prop from that motor until you have everything working (warning: graphic video - beware!). I'm not sure what sequence you're doing this all in, but you have to do the special startup sequence immediately after connecting power to the ESC, to the point that you should probably start the process just before connecting battery power to the ESC. $\endgroup$ – Chuck Feb 25 '16 at 21:57
  • $\begingroup$ I've tried to do that, but I don't know the special startup sequence for my escs, and it doesn't seem to be anywhere to be found. Do you know what short of battery I'd need (motor has this : "A2212 / 13T 1000KV" written on it). Could there be a problem with the arduino or the pins?? $\endgroup$ – Petros Feb 27 '16 at 6:30
  • $\begingroup$ @Petros - If you're concerned there could be a problem with the arduino, you could connect the motor pin to an analog input pin and verify you're actually sending what you think you're sending. Are there any markings on the ESC? That's really what matters, not so much the motor (with regards to getting the ESC to respond). Does the ESC ever make any noise? Are your battteries charged? $\endgroup$ – Chuck Feb 27 '16 at 14:58
  • $\begingroup$ The ESC never makes a noise or have any other reaction to the signals. I guess the problem is with the battery. Here is what is written on the ESC : "HobbyPower ESC - 30A Brushless Speed Controller DC: 5.5V - 12.6V BEC 5/2A". I'm only using one LiPo battery (that grey thing in the photo) of 3.7V, with 2500mAh. It is charged and I checked the motor pin, so what now? $\endgroup$ – Petros Feb 27 '16 at 22:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.