Back
Bluetooth controlled car final setup
Wireless Robotics Project

Bluetooth Controlled Car

An Arduino-powered robotic car controlled wirelessly from a smartphone using Bluetooth commands and an L298N motor driver circuit.

HC-05 Bluetooth Link
L298N Motor Driver
Arduino Logic Core

Project Overview

This project demonstrates wireless control of a small robotic car using a Bluetooth module and a smartphone application. The car receives directional movement commands—forward, backward, left, right, and stop—directly from a mobile interface.

The Arduino Uno reads Bluetooth signals and coordinates DC motor rotation through an L298N motor driver, serving as a foundational robotics project for mastering serial communication and motor actuation.

Core Hardware Modules

NodeMCU ESP8266 Wi-Fi processor managing sensor inputs and cloud synchronization.
MFRC522 RFID Contactless proximity validation for authorized access tokens.
HC-SR04 Ultrasonic Precision sonar distance checks for vehicle detection.
SG90 Servo Motor Mechanical barrier control for physical gate actuation.

Project Resources

ESP8266 Firmware Motion detection firmware featuring ultrasonic sensing, visitor counting, LED indication, NTP time synchronization, and Twilio WhatsApp alert integration.
Hardware Connections Complete wiring guide for NodeMCU ESP8266, HC-SR04 Ultrasonic Sensor, LED indicator, power connections and GPIO mapping.

Pin Configuration

Component NodeMCU Pin
HC-SR04 TRIG D1 (GPIO5)
HC-SR04 ECHO D2 (GPIO4)
LED Indicator D5 (GPIO14)
VCC VIN
GND GND

System Workflow

Google Assistant

ESP RainMaker

ESP32

Relay Module

Home Appliances

Project Source Codes

1. Arduino Bluetooth Car Firmware

Controls Bluetooth communication, motor movement, direction commands, and L298N motor driver operations.

View Arduino Source Code


/*
 Bluetooth Controlled Car
 Arduino Uno + HC-05 + L298N
*/

#include <SoftwareSerial.h>

/* Complete source available in download */

        

2. Android Controller Application

Mobile application used to send Bluetooth commands such as Forward, Backward, Left, Right and Stop.

View App Information


Application Features:

• Bluetooth Pairing (HC-05)
• Forward Movement
• Backward Movement
• Left Turn
• Right Turn
• Stop Command
• Wireless Real-Time Control

        

Technologies Used

ESP32 ESP RainMaker Google Assistant Arduino IDE Bluetooth Provisioning OTA Updates EEPROM AceButton Wi-Fi Embedded C++