Project in progress
Bluetooth Controlled Car

Bluetooth Controlled Car © GPL3+

This is my first Arduino-based, Bluetooth-controlled RC car. It is controlled by a smart phone application.

  • 103,662 views
  • 77 comments
  • 102 respects

Components and supplies

Apps and online services

About this project

This is my first attempt in building a bluetooth controlled car with Arduino.

Once I get down all the parts I wanted to build it and test it. But there was no chassis. I look around and found a DVD casing. Well that's not the best choice but it serves for the time being. I used cable ties to put attach 4 motors to the chassis. For the power supply I used a 7.4V 1800mAh Li-ion battery from a walky talky, which is rechargeable.

Code

Code for Arduino blootooth controlled RC CarArduino
This is the code you will have to upload to your Arduino board.
char t;
 
void setup() {
pinMode(13,OUTPUT);   //left motors forward
pinMode(12,OUTPUT);   //left motors reverse
pinMode(11,OUTPUT);   //right motors forward
pinMode(10,OUTPUT);   //right motors reverse
pinMode(9,OUTPUT);   //Led
Serial.begin(9600);
 
}
 
void loop() {
if(Serial.available()){
  t = Serial.read();
  Serial.println(t);
}
 
if(t == 'F'){            //move forward(all motors rotate in forward direction)
  digitalWrite(13,HIGH);
  digitalWrite(11,HIGH);
}
 
else if(t == 'B'){      //move reverse (all motors rotate in reverse direction)
  digitalWrite(12,HIGH);
  digitalWrite(10,HIGH);
}
 
else if(t == 'L'){      //turn right (left side motors rotate in forward direction, right side motors doesn't rotate)
  digitalWrite(11,HIGH);
}
 
else if(t == 'R'){      //turn left (right side motors rotate in forward direction, left side motors doesn't rotate)
  digitalWrite(13,HIGH);
}

else if(t == 'W'){    //turn led on or off)
  digitalWrite(9,HIGH);
}
else if(t == 'w'){
  digitalWrite(9,LOW);
}
 
else if(t == 'S'){      //STOP (all motors stop)
  digitalWrite(13,LOW);
  digitalWrite(12,LOW);
  digitalWrite(11,LOW);
  digitalWrite(10,LOW);
}
delay(100);
}

Schematics

Circuit diagram
Pic g762ytlenj

Comments

Author

Samanfern
Saman Fernando
  • 1 project
  • 35 followers

Additional contributors

  • For telling me how interesting it would be to play with arduino and sending me couple of boards as a gift. by Anthony Pieris
  • For supporting me with the project in various technical aspects. by Dilan Christoper

Published on

October 22, 2018

Members who respect this project

Img013 3wk6r3an54DefaultDefaultRahul 17PhotoDefaultDefaultDefault

and 94 others

See similar projects
you might like

Similar projects you might like

Bluetooth Controlled LEGO Toy Car

by Hernanduino

  • 3,134 views
  • 0 comments
  • 9 respects

Robotic Car Controlled over Bluetooth by Andriod Phone

Project showcase by S.Ranjith Reddy

  • 6,980 views
  • 1 comment
  • 15 respects

Smartphone Controlled Arduino 4WD Robot Car

Project in progress by Andriy Baranov

  • 80,206 views
  • 53 comments
  • 153 respects

Bluetooth controlled car with arduino mega

Project showcase by DANNY003

  • 2,752 views
  • 2 comments
  • 9 respects

Mobile Controlled Bluetooth Car || Easy || Simple || HC-05

Project tutorial by Team Vishal soni

  • 18,798 views
  • 3 comments
  • 19 respects

Bluetooth Controlled Car

Project tutorial by JANAK13

  • 17,201 views
  • 20 comments
  • 45 respects
Add projectSign up / Login