Control the Speed of Brushless DC Motor Using Arduino and Bluetooth Module(HC-05)

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

  1. Arduino Uno
  2. Bluetooth Module(HC-05)
  3. Lithium Polymer Battery(2200mAh 11.1V)
  4. Electronic Speed Controller(Simonk 30A)
  5. Brushless DC motor(A2212/10T 1400kV)
  6. Resistor(1K)
  7. Jumper wires
  8. 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.

  1. In Bluetooth communication, one character is transferred at a time.
  2. Numerical digits (0 - 9) is transferred as a character from the Android application, one at a time.
  3. Android application(Arduino Bluetooth Controller) is to be used in terminal mode.
  4. The mapping of values is done to control the speed of the motor.
  5. The motor is in OFF state for numerical values "0" to "4".
  6. The motor is in running state for numerical values "5" to "9".
  7. The speed of the motor increases with increase in numerical value from "5" to "9".

Be the First to Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Automation Contest

      Automation Contest
    • Make it Glow Contest

      Make it Glow Contest

    8 Comments

    1
    bodaciousman92
    bodaciousman92

    Question 1 year ago on Step 1

    I am lost about the 2K? where does it connect

    0
    alshaher509
    alshaher509

    Answer 1 year ago

    there is no need for it

    0
    PittT
    PittT

    1 year ago

    請問如何可以編寫向後行

    0
    denrosco
    denrosco

    Question 1 year ago on Step 3

    can i use this with a motor shield in arduino? thank you

    0
    BetoG12
    BetoG12

    Question 2 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......

    0
    mohitmehlawat
    mohitmehlawat

    Answer 2 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

    0
    전의수
    전의수

    Question 2 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

    0
    mohitmehlawat
    mohitmehlawat

    Answer 2 years ago

    it depends on the esc that you are using and the range that you define the esc to work.