Skip to main content

Posts

Showing posts from November, 2015

Brushless Motor Control with Arduino

Hi Everyone, In  this work, we will give movement to our brushless dc motor using arduino. For doing this experiment we need: Brushless Dc Motor Electronic Speed Controller (ESC)  Potentiometer Jumper Cables Power Supply (Feeding the motor) And of course Arduino  First of all we should do connections correctly, wrong connections gives problem for controlling the brushless dc motor. As a picture below we try to connect all cables, and also we should give power for electronic speed controller to control the brushless dc motor. If you do not give this voltage to ESC, motor also try to turning but this turning speed level depends on arduino 5 volt. Of course this is not effective.  If we handle the connections, lets begin to coding. Open the Arduino IDE for write the control codes, firstly we will determines our constant values. Potentiometer pin will be A0 on analog pins on Arduino. Secondly electronic speed controller output digital pins marked as 9. I