Arduino RC Car

Arduino RC Car
Arduino RC car

Hi lets build a toy for your baby, just joking? no. Lets Build a Bluetooth controlled Arduino RC Car. This Remote controlled car is not difficult to build. If you are planning to buy a toy car for your child, don’t waste your money and build a favorite car for him. They can only expect and dream about buying an RC car but You are a good dad you can definitely build for your son. So lets start from beginning of making Bluetooth controlled RC car.

Share Button

Things Need to Build Arduino RC Car

  • Arduino UNO
  • L298N Motor Driver
  • HC-05 Bluetooth module
  • Connecting wires
  • 3-6V RC car motor.
  • Car wheel.
  • Battery holder
  • 9v Battery

Arduino RC Car Circuit Diagram

Arduino RC car circuit diagrama

Detailed Connections

  • Connect Arduino pin 12 to L298N Motor driver pin IN1, Arduino Pin 11 to IN2, Arduino pin 10 to IN3 and Arduino pin 9 to IN4 respectively.
  • Connect HC-05 Bluetooth module VCC to Arduino 5V and module GND to Arduino GND. TX pin of HC-05 connect to Arduino TX pin and Tx pin of Bluetooth module to RX pin of Arduino.
  • Motor 1 and Motor 2 connecting parallel each other and also same for the Motor 3 and 4. These pins goes to the L298N motor driver OUT1,OUT2, OUT3, and OUT4.

Motor

RC motor and wheels

Here i am using 100Rpm DC motor to run the RC car. You can also Buy This motor and 4 wheels from here easily. Buy 4 RC car motor and wheels

L298N Motor Driver Board

L298N RC motor driver board

This electronic board which will control the DC motors. If pressing on forward button on the app the signal transmitted to the HC-05 Bluetooth module and then it receives to the Arduino board. Then the forward signal passes to Motor driver controlled board and required action takes place. You can find high quality L298N Motor driver board here

HC-05 Bluetooth Module

HC-05 Bluetooth module

This is the major part of this RC project. This Bluetooth module will receive ad transmit the data to the Arduino and the app. Wireless data transfer is occurring through this module Buy HC-05 Bluetooth module from here

Arduino RC Car Programming Code

//Solderingmind.com
char m=0;
void setup() 
{
pinMode(9, OUTPUT);  
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);

Serial.begin(9600);
}
void loop() 
{
 if (Serial.available()>0)
 {
  m=Serial.read();
  Serial.println(m);
  }
 if (m=='R')
{
  digitalWrite(9, HIGH);
  digitalWrite(10, LOW);
  digitalWrite(11, HIGH);
  digitalWrite(12, LOW);
  }

  else if (m=='L')
{
  
  digitalWrite(9, LOW);
  digitalWrite(10, HIGH);
  digitalWrite(11, LOW);
  digitalWrite(12, HIGH);
  }

else if (m=='F')
{
  digitalWrite(9, HIGH);
  digitalWrite(10, LOW);
  digitalWrite(11, LOW);
  digitalWrite(12, HIGH);
  
  }

 else if (m=='B')
{
  digitalWrite(9, LOW);
  digitalWrite(10, HIGH);
  digitalWrite(11, HIGH);
  digitalWrite(12, LOW);
  
  }

else if (m=='S')
{
  digitalWrite(9, LOW);
  digitalWrite(10, LOW);
  digitalWrite(11, LOW);
  digitalWrite(12, LOW);
  } 
}

After completing the programming and wiring connect with batter and turn on. Download the Bluetooth RC Car app from play store and lets go.

Check Other Arduino Related Projects Below

Akhil Satheesh

Akhil Satheesh

👋 Hello there! I'm Akhil Satheesh, Founder and CEO of Solderingmind.com. I am an expert in building innovative electronic circuit and PCB designing. Most of the tested electronic projects are sharing with you.

Articles: 408

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *