Project in progress
Bluetooth Controlled Car

Bluetooth Controlled Car © GPL3+

This is my first Arduino-based, Bluetooth-controlled RC car.

  • 2,989 views
  • 15 comments
  • 28 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
samanfern
  • 1 project
  • 3 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 3wk6r3an54DefaultDefaultProfilepicRahul 17PhotoDefaultDefault

and 20 others

See similar projects
you might like

Similar projects you might like

Bluetooth Controlled LEGO Toy Car

by Hernanduino

  • 2,201 views
  • 0 comments
  • 8 respects

Robotic Car Controlled over Bluetooth by Andriod Phone

Project showcase by S.Ranjith Reddy

  • 4,192 views
  • 0 comments
  • 9 respects

Smartphone Controlled Arduino 4WD Robot Car

Project in progress by Andriy Baranov

  • 52,032 views
  • 43 comments
  • 89 respects

Turn your RC Car to Bluetooth RC car

Project tutorial by Prajjwal Nag

  • 11,669 views
  • 1 comment
  • 11 respects

Bluetooth Controlled Car

Project showcase by Ian St. Louis

  • 10,385 views
  • 2 comments
  • 8 respects

Arduino Bluetooth Car Control

by TayfMavi

  • 4,187 views
  • 1 comment
  • 11 respects
Add projectSign up / Login