Bluetooth Remote Controll Car

Blog Image

Arduino Bluetooth RC Car

This is a simple bluetooth remote control car made with different components. Arduino UNO is used as controller for this project along with different components. The list of components is given below whereas the circuit diagra for this project is given in the sample images at the top.

Language used: C++
Android app: Bluetooth RC car

List of components

  • Arduino UNO
  • L298 Motor Drivers
  • HC-05 Buetooth Module
  • Jumper Wires
  • 4 Gear Motors (5v) & 4 Wheels
  • Battery Litheum Ion (5V or 12V)
  • Ply Wood

Android Application for connecting and controlling the car can be found in the play store. The app used for this project can be found in Play store named Bluetooth RC Car

Arduino Code for Bluetooth RC Car

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);
    
}
    //@roshansutihar
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);
}
    //@roshansutihar
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);
}
    //@roshansutihar
else if(t == 'S'){      //STOP (all motors stop)
    digitalWrite(13,LOW);
    digitalWrite(12,LOW);
    digitalWrite(11,LOW);
    digitalWrite(10,LOW);
}
delay(100);
}