Make your own Drone (Part 2) How to control Speed of BLDC motor02:16

Part list:
1 x Arduino Board (Micro-controller)
1 x Brush less DC motor (BLDC)
1 x 1045 Propeller
1 x Electronic Speed Controller (ESC)
1 x Li-Po Battery
1 x Variable Resistor
1 x Bread Board
Few jumper wires

Arduino code:
See code in video, add first line of code in below code, which includes library of servo.

Servo esc;
void setup()

esc.attach(9); //Connects ESC’s Signal pin to Digitalpin 9
esc.writeMicroseconds(1000);
Serial.begin(9600);

void loop()

int i;
i = analogRead(A0); //Reads data from Analog pin A0 pin
i = map(val,0,1023,1000,2000); //Converts data 0=1000 to 1023=2000
esc.writeMicroseconds(i); //gives data to ESC

Any Query ? Comment below…
Is it Useful ? Like and Subscribe…

    1. Yadav Tejas

Enjoyed this video?
"No Thanks. Please Close This Box!"