Go Down

Topic: controlling esc with an arduino (Read 603 times) previous topic - next topic


I'm trying to use an arduino to control an esc this one http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=6548

is there anyway I can control the speed with the arduino


Looks like a RC speedcontroller.
If that is the case, it's just another servo to your Arduino.
So connect it like it is a servo and play a bit around to find the correct values.
I see a remark BEC mentioned.
I think that means it can eliminate the use of a separate battery for the RC receiver.
Be sure to connect it correctly so you don't damage your Arduino.
The 3 wire (black, red, white) are GND, 5 volt and a PWM pin.

Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html


In other words use the Servo library.  All ESCs have arming sequences at start up, which often means holding
the throttle at minimum for a couple of seconds (RC controls park at mid-point, so requiring minimum throttle
means the operator has to deliberately hold the throttle back to arm the ESC).  This equates to something like
Code: [Select]

Servo servo ;

void setup ()
  servo.attach (servopin) ;
  servo.write (0) ;
  delay (2000) ;

[ untested code ]

but ESCs do vary.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]


Previous ESC related post.

Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

Go Up