Introduction: Control the Speed of Brushless DC Motor Using Arduino and Bluetooth Module(HC-05)
Introduction
In this tutorial, we are going to control the speed of Brushless DC motor using Arduino UNO, Bluetooth Module(HC-05) and Android application for Bluetooth(Arduino Bluetooth Controller)
Step 1: Components
- Arduino Uno
- Bluetooth Module(HC-05)
- Lithium Polymer Battery(2200mAh 11.1V)
- Electronic Speed Controller(Simonk 30A)
- Brushless DC motor(A2212/10T 1400kV)
- Resistor(1K)
- Jumper wires
- Android Application:- Arduino Bluetooth Controller (https://play.google.com/store/apps/details?id=com.giumig.apps.bluetoothserialmonitor&hl=en)
Step 2: Schematic
Step 3: Program
Step 4: Working
The circuit is assembled and the Bluetooth communication is established.
- In Bluetooth communication, one character is transferred at a time.
- Numerical digits (0 - 9) is transferred as a character from the Android application, one at a time.
- Android application(Arduino Bluetooth Controller) is to be used in terminal mode.
- The mapping of values is done to control the speed of the motor.
- The motor is in OFF state for numerical values "0" to "4".
- The motor is in running state for numerical values "5" to "9".
- The speed of the motor increases with increase in numerical value from "5" to "9".
10 Comments
6 months ago
can you do 4 motors instead 1 motor only?
Question 1 year ago
can I get android code of this application?
Question 4 years ago on Step 1
I am lost about the 2K? where does it connect
Answer 4 years ago
there is no need for it
4 years ago
請問如何可以編寫向後行
Question 4 years ago on Step 3
can i use this with a motor shield in arduino? thank you
Question 5 years ago on Step 4
Hello, have some questions,
1. which other type of battery can be used, if you do not have a lipo type?
2. Could you use a dry battery from 12v to 3000mAh ??
Thank you......
Answer 5 years ago
If you don't have a lipo(Rechargable) battery, use can use any type of battery but with the condition that it matches with the technical requirement of your burshless motor.
If you go through the datasheet of BLDC motor(A2212/10T 1400Kv):-
1.) Voltage(DC):- 8 - 12V
2.) Current:- 11.9 - 20.6 A
3.) Power:- 95.2 - 247.2 W
These are the specifications that you will have to see while deciding for the Battery
Question 5 years ago on Step 3
val=map(val,48,60,1000,2000)
Can you describe to me more?
I dont understand why 0-4 not working, 5-9 working
Answer 5 years ago
it depends on the esc that you are using and the range that you define the esc to work.