I can't really find a real straightforward tutorial for that. There are a lot for Arduino but I only have an original beaglebone, an ESC, and brushless motor with me. Please help.
1 Answer
$\begingroup$ $\endgroup$
4 You will need to output a servo PWM signal with a 20ms period and a pulse width generally between 1 and 2ms depending on your ESC, Here is some information about using the PWM output on a beaglebone, and here is an article describing controlling a servo with a beaglebone, it is the same as an ESC.
- $\begingroup$ Thank you. I manage to made a 20ms period by putting 50Hz as the frequency (1/0,02=50), a pulse width 1ms to 2ms is 5% to 10% duty cycle right? I can't find any documentation of my ESC (Turnigy Car 18A-SL w/ reverse) about the PWM signal required and found with trial-and-error that my ESC only respon from 4% to 12% duty cycle by the led blink, but only from 8%-10% that the motor actually spin with different speed, below that and it's stop, above then it's at maximum, but I can't make it go backward. What did I do wrong? $\endgroup$Nur– Nur2015-04-25 16:13:26 +00:00Commented Apr 25, 2015 at 16:13
- $\begingroup$ I'm not sure, I normally work with quadrocopter ESCs which only go one direction. $\endgroup$Mark Omo– Mark Omo2015-04-25 22:42:14 +00:00Commented Apr 25, 2015 at 22:42
- 1$\begingroup$ Did some more research and found this hobbyking.com/hobbyking/store/uploads/505435513X310686X14.pdf try calabrating the ESC across the full rainge your using it for. $\endgroup$Mark Omo– Mark Omo2015-04-26 15:09:51 +00:00Commented Apr 26, 2015 at 15:09
- $\begingroup$ That's exactly my ESC model! I guess I need to buy the program card.. $\endgroup$Nur– Nur2015-04-28 03:58:39 +00:00Commented Apr 28, 2015 at 3:58