Introduction: Arduino Smartphone Controlled Bluetooth Car

Hello guys, I made this project for my school's maker faire. This is a smartphone controlled Bluetooth car. It's a really fun and simple project. i recommend you guys to make one at home. PLEASE VOTE FOR ME!!!

you cab even see my other videos on my YouTube channel.

https://www.youtube.com/channel/UCKpfEcbQ2y-adF-Z...

Step 1: Components Needed...

Picture of Components Needed...

Hello mates, to make this project is really simple and the materials are quite cheap. So hear are the parts that you'll be needing:

1) Arduino Uno

2) L298N Motor Driver

3) Bluetooth Module (HC 05)

4) Chassis

5) Male to Female Jumper Wires

6) Male to Male Jumper Wires

7) Mini Breadboard

8) 2x DC Gear Motors

9) 2x Wheels

10) 9v Battery

11) 6x AA battery

12) Battery Holder

Step 2: Fixing the Main Components

Picture of Fixing the Main Components

In my case i had planned a lot of how to make this chassis, and at last i came up with this design and i realized that it worked perfectly alright. You guys can copy my chassis or make your own design.

I fixed the mini breadboard, the arduino, the L298N motor driver, and the two motors on the chassis with the help of double side tape. it's easy to take out once you're done with your project.

Step 3: How to Connect the Bluetooth Module

Picture of How to Connect the Bluetooth Module

Gently push the Bluetooth module into the mini breadboard like in the picture. It's not necessary to use a mini breadboard, you can simply use male to female jumper wires and connect the Bluetooth module. but to make life easier i used a mini breadboard :-)

Step 4: The Schematic of the Hardware

Picture of The Schematic of the Hardware

Guys, just be careful while following this schema. that's the reason why i've put this message in bold letters. Instead of connecting the ENA of the Bluetooth module to the Pin 12 of the Arduino, connect it in the Pin 6 of the Arduino. Copy the rest as the schema is showing.

Step 5: Connecting the Batteries

Picture of Connecting the Batteries

Now connect the batteries. One battery is to power up the motor driver and the other battery is to power up the Arduino. If you want, you could put a switch so that it's easier to power up the car.

Step 6: Final Looks of the Car

Picture of Final Looks of the Car

Once it's over it's suppose to look like this or the way you guys designed. Try to make is as neat and clean as possible because if in the future, i wire got disconnected then it will be a lot easier to solve the problem than to find for the problem in the wiring mess.

Step 7: Let's Make the App!

Picture of Let's Make the App!

Go to your browser and search "remotexy.com". A page will open as the image shows. Then on the top right corner, there will be a button "created account or sign up". I would recommend you to make an account. once you've made an account a page will open up as the second image is showing.

On the left side, you've got a bunch of buttons. You can simply drag them inside the phone screen. but in our case we will just need to drag the joystick and the on/off button like the third image.

Step 8: Download the Code of the App

Picture of Download the Code of the App

Once you're done with the buttons and how you want the app to look you need to download the code.

So on the right side of the screen there is a button named "Get Source Code". Click on that and you'll be opened on another page like the image shown above.

Just download the Library of "remotexy" and download the code of the application you just created. you will get a page like the second image.

Step 9: Arduino Software

Picture of Arduino Software

Open your Arduino software. Make sure that you installed the remotexy library. now open up the code you just downloaded (it will look like the image i've posted). Connect your Arduino board to our PC and upload the code.

Now open a new sketch in the Arduino software as the second image shows. Copy the code I've written below. Once copied and pasted, upload this code too(the third image is the code below). Now your hardwork is over and enjoy your new born smart phone controlled bluetooth control car!!!! :-)

#define REMOTEXY_MODE__SOFTWARESERIAL

#include

#include

#define REMOTEXY_SERIAL_RX 2

#define REMOTEXY_SERIAL_TX 3

#define REMOTEXY_SERIAL_SPEED 9600


unsigned char RemoteXY_CONF[ ] =

{ 3,0,23,0,1,5,5,15,41,11

,43,43,1,2,0,6,5,27,11,5

,79,78,0,79,70,70,0 };


struct {

signed char joystick_1_x;

signed char joystick_1_y;

unsigned char switch_1;

unsigned char connect_flag;


} RemoteXY;


#define IN1 10

#define IN2 9

#define ENA 6


#define IN3 8

#define IN4 7

#define ENB 11


#define ledpin 13

unsigned char first_motor[3] =

{IN1, IN2, ENA};

unsigned char second_motor[3] =

{IN3, IN4, ENB};


void Speed (unsigned char * pointer, int motor_speed)

{

if (motor_speed>100) motor_speed=100;

if (motor_speed<-100) motor_speed=-100;

if (motor_speed>0) {

digitalWrite (pointer [0], HIGH);

digitalWrite (pointer [1], LOW);

analogWrite (pointer [2], motor_speed*2.55);

}

else if (motor_speed<0) {

digitalWrite (pointer[0], LOW);

digitalWrite (pointer[1], HIGH);

analogWrite (pointer [2], (-motor_speed)*2.55);

}

else {

digitalWrite (pointer[0], LOW);

digitalWrite (pointer[1], LOW);

analogWrite (pointer[2], 0);

}

}


void setup ()

{

pinMode (IN1, OUTPUT);

pinMode (IN2, OUTPUT);

pinMode (IN3, OUTPUT);

pinMode (IN4, OUTPUT);

pinMode (ledpin, OUTPUT);

RemoteXY_Init ();

}


void loop()

{

RemoteXY_Handler ();

digitalWrite (ledpin, (RemoteXY.switch_1==0) ?LOW:HIGH);

Speed (first_motor, RemoteXY.joystick_1_y - RemoteXY.joystick_1_x);

Speed (second_motor, RemoteXY.joystick_1_y + RemoteXY.joystick_1_x); }

Step 10: Give Life to Your New Mate! :-)

Picture of Give Life to Your New Mate! :-)

Hope you guys enjoyed the project I made. Please vote for me in the contest and if you guys have any question, please feel free to ask me. I reply to your question as quickly as possible. See my video on you-tube of how i made my project. please subscribe to my channel and i'll make more videos.

BYE BYE! (don't forget to vote for me!!! :-)

Comments

sauravdas (author)2017-09-13

thanks

Bhaswar

BhaswarG (author)sauravdas2017-09-14

thanks bro.

tenzingr1 (author)2017-09-13

what a cool project!

you deserve to win

BhaswarG (author)tenzingr12017-09-14

thanks a lot. I wish I win :-)

sauravdas (author)2017-09-13

can you give me your bluetooth module

sauravdas (author)2017-09-13

i voted for you

sauravdas (author)2017-09-13

nice

AurobrataP (author)2017-09-03

great project!

BhaswarG (author)AurobrataP2017-09-04

thnx for the support :-)

BhaswarG (author)2017-09-03

guys, Suvin is my friend. So he wrote that just to pull my legs. Actually he begging to me to make one for for him

SuvinV (author)2017-09-03

it sux

vinoththiva (author)2017-08-19

bro i whant this parts help how to get plz i am chennai

BhaswarG (author)vinoththiva2017-08-19

you can get the parts from Amazon.in

All these parts are available online. Please vote for me! :-)

BhaswarG (author)2017-08-19

THANKS A LOT FOR SUPPORTING ME SO MUCH!!!!!

TapasG4 (author)2017-08-16

Congratulations for posting such a great project!
Wish you all the best to win the contest!

Bhaswar2 (author)2017-08-14

really really well done! i have voted for you. keep posting your projects.

vktomi (author)Bhaswar22017-08-15

Nice :D Its you?

BhaswarG (author)vktomi2017-08-15

Haha, yes ;-)

vktomi (author)BhaswarG2017-08-16

Don’t cheating :)

vktomi (author)vktomi2017-08-16

:P

BhaswarG (author)Bhaswar22017-08-15

thanks a lot for supporting me!!

Bhaswar2 (author)2017-08-16

Well done man! You obviously get a vote from me!

BhaswarG (author)2017-08-14

thanks a lot! :-)

26thgenius (author)2017-08-14

This is seriously the best project Ive seeing. I VOTED FOR YOU!!

About This Instructable

1,989views

51favorites

License:

Bio: hello guys, my name is Bhaswar and i am 16 years old.i love to make projects with the arduino. I'm experimenting the ability ... More »
More by BhaswarG:Glowing LED Burglar Alarming SystemHidden Money Box Hidden Burglar Alarming System
Add instructable to: