Build your own Bluetooth-controlled RC car using Arduino Uno, the HC-05 Bluetooth module, the L298N motor driver, and a lithium-ion battery. Control it wirelessly with your smartphone and learn core embedded and robotics skills!
Components and supplies
Apps and platforms
Project description
Learn how to make a DIY Bluetooth RC car using Arduino Uno, HC-05 Bluetooth module, L298N motor driver, and a Lithium-ion battery. This wireless car project can be controlled via an Android smartphone using a custom Bluetooth controller app. It's a beginner-friendly Arduino robotics project, ideal for anyone interested in IoT, embedded systems, or Arduino car projects.
You’ll understand the basics of motor control, Bluetooth communication, and power management. Perfect for students, hobbyists, or tech enthusiasts looking to build a low-cost, smartphone-controlled RC car.
Components Used
- Arduino Uno
- HC-05 Bluetooth Module
- L298N Motor Driver
- Lithium-ion Battery (3.7V or 7.4V)
- Chassis with motors and wheels
- Android Bluetooth controller app
Code
1int in1 = 12;
2int in2 = 11;
3int in3 = 10;
4int in4 = 9;
5char command;
6
7void setup()
8{
9 pinMode(in1,OUTPUT);
10 pinMode(in2,OUTPUT);
11 pinMode(in3,OUTPUT);
12 pinMode(in4,OUTPUT);
13}
14void loop()
15{
16 if(Serial.available() > 0)
17 {
18 command = Serial.read();
19
20 if(command =='F')
21 {
22 digitalWrite(in1,HIGH);
23 digitalWrite(in2,LOW);
24 digitalWrite(in3,HIGH);
25 digitalWrite(in4,LOW);
26 }
27 if(command=='B')
28 {
29 digitalWrite(in1,LOW);
30 digitalWrite(in2,HIGH);
31 digitalWrite(in3,LOW);
32 digitalWrite(in4,HIGH);
33 }
34 if(command=='R')
35 {
36 digitalWrite(in1,HIGH);
37 digitalWrite(in2,LOW);
38 digitalWrite(in3,LOW);
39 digitalWrite(in4,LOW);
40 }
41 if(command=='L')
42 {
43 digitalWrite(in1,LOW);
44 digitalWrite(in2,LOW);
45 digitalWrite(in3,HIGH);
46 digitalWrite(in4,LOW);
47 }
48 if(command=='S')
49 {
50 digitalWrite(in1,LOW);
51 digitalWrite(in2,LOW);
52 digitalWrite(in3,LOW);
53 digitalWrite(in4,LOW);
54 }
55
56 }
57}Circuit Diagram



