I am neewbie with PWM & ESC. I bought a cheap ESC to try codes. This ESC is for Burshed DC motors. I buyed an 12V, 150W 775 Brushed motor.
The esc is this:
So i connect the control wire (the white one) to Arduino PWM 9 port.
Now how can i map the controlling values? How can i controll the ESC when i got the values for brake, forward, revers? Can someone write me an example?
I found the exsample.
Sadly i'm not at home to try this out, but with this code can i increase/decrease the speed of the motor too, or just the direction of rotation??
I am expecting i need to do a PWM with delay() between sending HIGH/LOW to the DC motor...
So when i increase the value that i write to ESC from ~120 --> 180 then the motor speed up too?
Yes that's how it works with most car ESCs that have reverse - I think that's what you have. 90 is stopped and speed increases as you head towards 180.
But you don't need to mess with PWM yourself. The Servo library does all that for you.