Recently my BT car video has become the most popular video on my channel, So I decided to make a video and write about it.





Things needed-

Frame with motor and wheels

Motor driver

Hc-05 module

Arduino

Power bank

Battery

Cables

Start by inserting motor wires into the motor driver. If the motors are rotating in the opposite direction, you may also swap the wires of 1 motor. Then screw them down.

Then take any suitable battery and connect its + to +9v and battery’s – to gnd.

Now connect Arduino’s 5v to motor driver’s 5v and Arduino’s Gnd to Motor driver’s gnd

Now wire up the BT module

Module’s vcc to Arduino's 5v

Module’s gnd to Arduino's gnd

Module’s rx to Arduino's tx

Module’s tx to Arduino's rx

Wiring up the Motor driver(Arduino to Motor Driver)

Digital pin 3 to Motor 1 Input 1

Digital pin 4 to Motor 1 Input 2

Digital pin 5 to Motor 2 Input 1

Digital pin 6 to Motor 2 Input 2


Now code this-

So, we will be using mit app inventor to create the app. So, start by signing in and creating a new project. Now we will be adding a list picker to the top, and now you can go on by customizing it as you like. I will now rename it to Connect.

Now you can add a 3 by 3 table arrangement and customize its width and height. Now and add buttons to it and you can customize them as you like. Text the buttons as Forward, Backward, Right, Left & Stop to Button 1, 2, 3, 4, 5 respectively. Now you may play with the size and shape.

Now I will quickly code this. Now you can build and download the app and send it to your device and install the apk.





Now connect the Hc-05 module with your phone via Bluetooth. Enter the pin 1234. Now open the app which you made and click on connect, now select HC-05. Now you may play with your car.