Introduction: 4WD Robot
A 4WD Robot Controlled By Android Bluetooth API
Detect Hurdles Using HC SR-04
Detect human using PIR
Follow Line Using LDR
Using Bluetooth Module HC05 Slave device
Step 1: Requirements
1- 4 DC Motors
2- 4WD Robot Model
3- 3 HC SR-04 Sensors
4- HC 05 Bluetooth Module
5- LCD
6- 3 LED
7- Arduino mega 2560
8- Bread Board
9- Resisters 1k
10- H Bridge
11- Android Bluetooth API
Step 2: H Bridge Setup
An H bridge is an electronic circuit that enables a voltage to be applied across a load in either direction. These circuits are often used in robotics and other applications to allow DC motors to run forwards and backwards.
Step 3: LCD Setup
I used LCD to show message of car movements and hurdles.
The LiquidCrystal library allows you to control LCD displays that are compatible with the Hitachi HD44780 driver. There are many of them out there, and you can usually tell them by the 16-pin interface.
- Hardware Required
1-Arduino or Genuino Board
2-LCD Screen (compatible with Hitachi HD44780 driver)
3-pin headers to solder to the LCD display pins
4-10k ohm potentiometer
5-220 ohm resistor
6-hook-up wires
7-breadboard
2. Circuit
1-LCD RS pin to digital pin 12
2-LCD Enable pin to digital pin 11
3-LCD D4 pin to digital pin 5
4-LCD D5 pin to digital pin 4
5-LCD D6 pin to digital pin 3
6-LCD D7 pin to digital pin 2
Step 4: HC-05 Set Up
HC-05 Bluetooth module setup is done like this
1- VCC tO 5V
2-GND to GND of Arduino
3- TX to RX0 of Ardunio
4-RX to TX0 of Ardunio
we use Serial.h Ardunio Library
Step 5: HC SR04 Setup
The HC-SR04 Ultrasonic Sensor is a very affordable proximity/distance sensor that has been used mainly for object avoidance in various robotics projects . It essentially gives your Arduino eyes / spacial awareness and can prevent your robot from crashing or falling off a table. It has also been used in turret applications, water level sensing, and even as a parking sensor. This simple project will use the HC-SR04 sensor with an Arduino and a Processing sketch to provide a neat little interactive display on your computer screen.
- Parts Required:
- Freetronics Eleven or any compatible Arduino.HC-SR04 Ultrasonic Sensor
- Mini Breadboard 4.5cm x 3.5cm
- Protoshield and female header pins (not essential - but makes it more tidy)
- Wires to connect it all together