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

Intro: 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".

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Metalworking Contest

      Metalworking Contest
    • Furniture Contest 2018

      Furniture Contest 2018

    2 Discussions

    0
    None
    전의수

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

    1 more answer
    0
    None
    mohitmehlawat전의수

    Answer 2 months ago

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