Go Down

Topic: ESC- electronic speed control- brushless motor (Read 2 times) previous topic - next topic

janeik

Jan 07, 2012, 04:17 pm Last Edit: Jan 07, 2012, 04:23 pm by janeik Reason: 1
hello. I cant currently post at Hobbyking forum due to error.

I bought this for my pupils to be able to regulate speed of a brushless motor.

http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=659

Theres no need for direction motor control as the direction is fixed. (else I could have used a H-bridge to achieve this).

My thoughts is to send a pwm signal to input of the ESC from a pwm output of Arduino UNO and MEGA.

My consern is programming the ECS unit.

Do I need to program it initially (once)  ,in any way?

Ive seen some adv. regarding programming units for ESC's without any furhter informations. Does that ease up ,if any, programming of ESC?

Do I need to program it initially (once)  sending pwm signal from the arduino?

Thank You.



retrolefty

The proper way to interface a ESC to a Arduino is using the servo library commands, not analogWrite PWM commands. ESCs are built to emulate acting just like a servo from a control point of view. Also you will need to find out the proper 'arming' commands to activate the ESC from the arduino. Arming is a safety feature on ESC that's prevents them from starting off when first powering on. Usually it's a sequence of 100% signal for one second or so, 0% for one second or so, and wait for ESC to beep signifying it's ready to accept servo speed commands. Yours may have a different sequence so read the operators manual for the ESC.

Lefty




janeik

#2
Jan 07, 2012, 04:53 pm Last Edit: Jan 07, 2012, 04:55 pm by janeik Reason: 1
hi Lefty
Thanks for replying.
Ok, servo lib will be used then. I just think i noticed ,for the motor, said 8k PWM.
Never touched into r/c esc tuning before. It describes tuning process seen thowards a finished rc-system. I have no idea howto realize that thowards a arduino output.

Ive seen some esc tuning kits, wonder if they ease up the settings of asc, eliminating use of rc-unit?

regards


The proper way to interface a ESC to a Arduino is using the servo library commands, not analogWrite PWM commands. ESCs are built to emulate acting just like a servo from a control point of view. Also you will need to find out the proper 'arming' commands to activate the ESC from the arduino. Arming is a safety feature on ESC that's prevents them from starting off when first powering on. Usually it's a sequence of 100% signal for one second or so, 0% for one second or so, and wait for ESC to beep signifying it's ready to accept servo speed commands. Yours may have a different sequence so read the operators manual for the ESC.

Lefty





zoomkat

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

Erni

If you look under the files tab, (in the link you provided) you can find the manual.

As far as I can see the only arming process required is that you should make a loop lasting a couple of seconds while
writing 0 or 180 using the servoLib (that should correspond to throttle stick set at 0.)



Go Up