R/C Tech Forums

R/C Tech Forums (https://www.rctech.net/forum/)
-   Radio and Electronics (https://www.rctech.net/forum/radio-electronics-137/)
-   -   How exactly does an ESC become armed? (https://www.rctech.net/forum/radio-electronics/972402-how-exactly-does-esc-become-armed.html)

masterfo 12-27-2016 09:59 PM

How exactly does an ESC become armed?
 
Hi how exactly does a RC transmitter (or receiver) arm an ESC? Like what how many microsecond pulse does it take to arm the ESC? Is there a sequence of pulses u need to give?

Im trying to arm an ESC using an arduino micro controller :/

Roelof 12-27-2016 11:52 PM

The signal you are looking for is called a PPM signal, with the arduino you need to use the same software of how to control a servo.

robert@castle 12-28-2016 12:05 AM

The normal RC PPM signal is a constant 50hz pulsed signal that is high for a specific amount of time and then low for the rest of the cycle. The high time is between 1.0 and 2.0ms. In order for the ESC to arm it needs to see it's neutral position for several seconds. On car and boat ESCs this is 1.5ms. On Airplane, Multirotor, and Helicopter ESCs this is 1.0ms. On can and boat ESCs, a signal with pulses 2.0ms will spin the motor forward, and a signal with pulses of 1.0ms will spin the motor backwards or apply the brakes depending on how the ESC is configured.

masterfo 12-28-2016 08:03 PM


Originally Posted by robert@castle (Post 14781311)
The normal RC PPM signal is a constant 50hz pulsed signal that is high for a specific amount of time and then low for the rest of the cycle. The high time is between 1.0 and 2.0ms. In order for the ESC to arm it needs to see it's neutral position for several seconds. On car and boat ESCs this is 1.5ms. On Airplane, Multirotor, and Helicopter ESCs this is 1.0ms. On can and boat ESCs, a signal with pulses 2.0ms will spin the motor forward, and a signal with pulses of 1.0ms will spin the motor backwards or apply the brakes depending on how the ESC is configured.

Thanks so much for that information, i truly appreciate it. I will test it out later however i have a 2 big questions:
1.) when i start the program (on the arduino microcontroller) do i give it neutral pulse only (neutral pulse as in make the pin that the ESC is connected to HIGH for 1500 microseconds) to arm it?
I read somewhere that u need to give it another pulse to activate reverse or something, so do i give it another pulse of 1000 microsecond or some other pulse after or before the neutral pulse?

2.) Second question: how do i control the speed of the motor?
Please help me understand this better:
So because the pulse width is from 1 ms to 2 ms, does that mean that from
1.5ms->2ms pulse, the motor will go FORWARD. And a 1ms->1.5ms pulse will make the motor go REVERSE?

gigaplex 12-28-2016 08:25 PM


Originally Posted by masterfo (Post 14782237)
Thanks so much for that information, i truly appreciate it. I will test it out later however i have a 2 big questions:
1.) when i start the program (on the arduino microcontroller) do i give it neutral pulse only (neutral pulse as in make the pin that the ESC is connected to HIGH for 1500 microseconds) to arm it?
I read somewhere that u need to give it another pulse to activate reverse or something, so do i give it another pulse of 1000 microsecond or some other pulse after or before the neutral pulse?

2.) Second question: how do i control the speed of the motor?
Please help me understand this better:
So because the pulse width is from 1 ms to 2 ms, does that mean that from
1.5ms->2ms pulse, the motor will go FORWARD. And a 1ms->1.5ms pulse will make the motor go REVERSE?

You'll probably need to give it a bunch of neutral pulses for a second or so, this will vary with different ESCs. As for speed control, if 1.5ms is neutral and 2ms is full throttle, 1.75ms would be half throttle. But don't forget that these are all ballpark values, radios have trim and endpoint settings, and ESCs have calibration routines.

robert@castle 12-28-2016 09:28 PM


Originally Posted by masterfo (Post 14782237)
Thanks so much for that information, i truly appreciate it. I will test it out later however i have a 2 big questions:
1.) when i start the program (on the arduino microcontroller) do i give it neutral pulse only (neutral pulse as in make the pin that the ESC is connected to HIGH for 1500 microseconds) to arm it?
I read somewhere that u need to give it another pulse to activate reverse or something, so do i give it another pulse of 1000 microsecond or some other pulse after or before the neutral pulse?

You need to send it neutral pulses continuously for a few seconds. The actual time really depends on the ESC.

The second pulse to activate reverse is not done during arming. When the motor is spinning forward, sending a reverse signal will apply the brakes. Once the motor is stopped then you have to send a neutral signal and then go back to a reverse signal before it will go in reverse. Depending on the speed controller, this functionality can be programmed out. Castle Creations ESCs call this Crawler Reverse Mode.


2.) Second question: how do i control the speed of the motor?
Please help me understand this better:
So because the pulse width is from 1 ms to 2 ms, does that mean that from
1.5ms->2ms pulse, the motor will go FORWARD. And a 1ms->1.5ms pulse will make the motor go REVERSE?
It is fully proportional to the pulse length.
A 1.5ms pulse is neutral.
A 2ms pulse is 100% forward throttle. A 1.75ms pulse is 50% forward throttle. A 1.6ms pulse is 20% forward throttle.
A 1ms pulse is 100% brake 100% reverse throttle. A 1.25ms pulse is 50% brake or 50% reverse.

Roelof 12-28-2016 10:54 PM

Again, you have to use the same control software of the servo with the arduino.

http://electronics.stackexchange.com...-of-each-pulse

https://www.youtube.com/watch?v=YMwp3g4q2M4

but there is one thing with ESC's, they come in different options of how to program.
- full auto matic starting from neutral when swiched on.
- semi automatic and program by giving maximum and minimum throttle range when swiched on
- first frogram the ranges on the ESC which will keep it

masterfo 12-29-2016 07:09 PM


Originally Posted by robert@castle (Post 14782292)
You need to send it neutral pulses continuously for a few seconds. The actual time really depends on the ESC.

The second pulse to activate reverse is not done during arming. When the motor is spinning forward, sending a reverse signal will apply the brakes. Once the motor is stopped then you have to send a neutral signal and then go back to a reverse signal before it will go in reverse. Depending on the speed controller, this functionality can be programmed out. Castle Creations ESCs call this Crawler Reverse Mode.



It is fully proportional to the pulse length.
A 1.5ms pulse is neutral.
A 2ms pulse is 100% forward throttle. A 1.75ms pulse is 50% forward throttle. A 1.6ms pulse is 20% forward throttle.
A 1ms pulse is 100% brake 100% reverse throttle. A 1.25ms pulse is 50% brake or 50% reverse.

Hello so before starting the main loop in my code, i gave the esc an 1.5 ms pulse, and it gave 4 beeps (beep-beep-beep-beeep 4th beep was a second longer)
Video: youtube.com/watch?v=wI2RPv055tw

So does that mean that the esc is armed? does it make more sounds?

Once again, this is my ESC:
hobbyking.com/en_us/hobbykingr-tm-35a-sensored-sensorless-car-esc-1-10-1-12.html

Roelof 12-29-2016 11:53 PM

Beep messages are listed in the manual.

Again, there is no arming, you need to give a constant pulse in a 20ms frame , if the pulse is gone the ESC drops dead.


All times are GMT -7. It is currently 07:38 PM.

Powered By: vBulletin v3.9.3.9 Patch Level 3
Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.