Home / Projects / Arduino Projects / Bluetooth RC Car

Bluetooth RC Car

This project is basically a remote controlled car that is controllable via an application installed on a bluetooth-equipped smartphone. Here's my version of a Bluetooth RC Car.

Bluetooth RC Car

Introduction

For this project, I used ShieldBot, which originally a line-follower car with two DC motors driven with L298D controller. However, the code for this project can be implemented in any Arduino-based as car as long as the L298D controller is present.

The bluetooth connection is made possible by the HC-05 module. For a more detailed tutorial on this module, read this arduino bluetooth serial tutorial. Basically the module replaces a serial cable that is normally used to send data to the Arduino.

For building the app, I used appinventor. There are plenty of options to build an app but I found this as the easiest way. Note that this project requires an Android phone. For bluetooth control using iOS devices, see Arduino BLE.

Schematic Diagram

Here's the schematic diagram for this project:

Arduino Bluetooth RC Car Schematic Diagram

The motors are controlled through the states of the pin IN1, IN2, IN3, IN4 and ENA and ENB. Basically, ENA and ENB enables or disables the left and right motors respectively while the other pins control which direction the car travels. It is also possible to control how fast the car is travelling by applying pulses, instead of constant voltage, to ENA and ENB.

On my circuit, IN1 and IN2 are connected to my left motor while IN3 and IN4 are connected to my right motor. Here is a summary of the pin states and the movement of the car:

Arduino Sketch

The sketch is straightforward; the commands from the HC-05 are read serially and interpreted. The motors are then controlled following the table shown above.

Project Files

Feel free to download all the files used in this project, including the full sketch and Android application:

 

 

Check Also

Arduino Altimeter Project Using BMP085

This Arduino Altimeter project features the BMP085 atmospheric pressure sensor by Bosch. Because atmospheric pressure …

Leave a Reply

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