Hi guys this is me Rohan welcome back with another video
I hope you all are fine and in today's video we gonna talk
about how you can create your own
bluetooth controlled car, So those who don't know what bluetooth controlled car actually
what bluetooth controlled car actually is ? it has same concept like rc cars
it has same concept like rc cars
it has same concept like rc cars or you can say as a robot which is controlled using bluetooth
means you can control this car using your smartphone using bluetooth as a medium
bluetooth as a medium
suppose if you send data to move forward it will move forward
if you send data to move backward it will move backward
and if you send data to move right or left it will move left and right
I hope you'll love this project as well as video so please watch this video till end
so let's get straight into the video
so yup the things required for this project are
first of all you need HC-05 Bluetooth module
then you need
then you need Arduino Mega
you can use any board in place of arduino mega it's not necessary to buy arduino mega
then you need
a motor driver here I am using L289n motor driver
a motor driver here I am using L289n motor driver
then you need a 9 volt battery here I am using HW battery
then you need a 9 volt battery here I am using HW battery
then you need a 9 volt DC snap connector for arduino
which will get connected to your Arduino board (for power supply purpose)
so yup all things are there Oh! wait a minute we need 4 batteries
we need 4 batteries
you can use any AA battery in place of duracell
it's not necessary to buy duracell batteries
it's not necessary to buy duracell batteries you can use any one in place of that
it's not necessary to buy duracell batteries you can use any one in place of that
 
and the main thing for this project is
and the main thing for this project is
you need to purchase a robot chassis
here I have 2wd robot chassis bsically it contains 2 motors 1 battery holder and 1 caster wheel
it contains 2 motors 1 battery holder and 1 caster wheel
it contains 2 motors 1 battery holder and 1 caster wheel
and in the empty area we will setup all the stuff that is your board module etc.
and in the empty area we will setup all the stuff that is your board module etc. This chassis will cost you around 400 INR
This chassis will cost you around 400 INR
Link is in the description from where you can buy all this stuffs
So yup
and one more thing that is jumper wires by which we will connect this whole things
and one more thing that is jumper wires by which we will connect this whole things
and one more thing that is jumper wires by which we will connect this whole things
So now let's talk about the code
so let's switch to our laptop's dekstop
So here we have our code and here you can see that
Here I have created a variable named it as t
and in void setup I have defined all the pins
which is connected with my motors like Pin 12,12,11,10
and configured the things according to their movements
and configured the things according to their movements
 
So here you can see in void loop
So here you can see in void loop
in void loop the first thing i have setup is serial monitor on which our data will be print
and it will work according to commands or data given to it
t is defined as serial monitor
t is defined as serial monitor
in which my data will get printed
if you click on forward then the command you have given will be printed on this
then it will check if t==F
it will turn on pin 13 and 11 On
by which our car moves toward forward direction
by which our car moves toward forward direction if it is t== G it will go backward
it will turn on 12 and 10 pin on so that it can move towards backward direction
and if t==L it will move the car toward left direction
if t==L it will move the car toward left direction
if t==R it will move the car toward right direction
t==S which means all the motor will get Stoped
t==S which means all the motor will get Stoped
then I have given delay
of 100 mili second
so the code link is provided in the description from where you can download this code
and about connections
you can see here our setup is ready
here I have placed my all AA batteries
here I have placed my all AA batteries
and also I have added 9 volt battery for power supply for Arduino
for power supply for Arduino
here I have placed the motor driver
here we have our HC=05 bluetooth module
so our car is ready for testing
so our car is ready for testing
so let's test it
all the things has been setup and this the time for tesiing
and you have to download a app named as Arduino Car link is in the description
it will take some seconds to open
first of all you have to connect this with your bluetooth
first of all you have to connect this with your bluetooth
here we have our bluetooth option "HC-05" now it will connect
so now it is connected as my bluetooth module has stopped blinking
bluetooth module has stopped blinking so lets give the commands to it
now backward
now left
now right
if you loved this video then don't forget to like sharre and subscribe to Arduino Boy
Till then Goodbye
