top of page
Search

How to control Brushless BLDC motors with Arduino

  • Writer: Harshit Tomar
    Harshit Tomar
  • Jul 6, 2018
  • 1 min read

Updated: Nov 7, 2018


BLDC motor

Brushless DC electric motor (BLDC motors, BL motors) also known as electronically commutated motors (ECMs, EC motors), or synchronous DC motors, are synchronous motors powered by DC electricity via an inverter or switching power supply which produces an AC electric current to drive each phase of the motor via a closed loop controller. The controller provides pulses of current to the motor windings that control the speed and torque of the motor.


In this project, we will learn how to control such a BLDC motor with Arduino.


Parts

1 x BLDC

1 x ESC

1 x Arduino



Wiring

Here is the schematic



Code

Here's the code




NOTE

If you want to control the readings with a potentiometer then connect it with Arduino on pin A0 and write -> BLDC.write(A0); in line 22. For more info on potentiometers and how to use them with arduino, check out my tutorial analog input with potentiometer


If you are new to Arduino, then download the IDE, here


 
 
 

コメント


bottom of page