Android monitor cars using 8051 microcontroller
The goal of this project is to make an Android smartphone or tablet to control cars. Android is an operating system in the Linux language. It is developed from the ground up to help developers to create a mobile application for efficient use of the mobile phone with touch gestures, voice command, etc., and it is open source with Java UI.
Android controlled auto system
The Android controlled car allows the user to control a battery powered car wirelessly through the Android device. This system contains a Bluetooth module as a means of transmitting data between the vehicle and the Android device. The data received by Bluetooth is processed by the 8051 microcontroller, which performs the required action.
Diagram of Android controlled cars with 8051 microcontroller
Diagram of Android controlled cars with 8051 microcontroller
Hardware Requirements
8051 microcontroller
Android device
robot body
bluetooth device
DC Motors
motor driver IC
Crystal
electric pressure regulator
resistors and capacitors
battery
Program requirements
Keil . Program
Embedded C language
Android controlled auto system operation
An Android device has an application that provides the user with a graphical user interface (GUI) to send commands using their touch gesture. Commands are sent to the vehicle through an active Bluetooth device in the form of string variables.
Android controlled cars
The in-vehicle bluetooth receives string data which is then fed to the microcontroller. The microcontroller processes data and verifies user commands. When commands are recognized (forward / backward / left / right), the microcontroller sends the information to the driver IC. Then the actuator IC will start the actuator to perform the required action. This system continues with each user gesture to control the vehicle.
bluetooth module
Bluetooth is a wireless device used to transmit data over a short range. It uses radio signals to communicate. It has the ability to connect to many devices without any interface. It operates at 2.45 GHz.
motor driver IC
L293D is a typical drive driver IC. This IC has 16 pins which are used to control a set of DC motor in any direction. This IC works on the principle of an H bridge. The H bridge is an electronic circuit that allows voltage to be applied across the load in any direction. This is generally used in robots to allow the DC motor to run forward or backward.
8051 microcontroller
A microcontroller is a highly integrated chip or microprocessor with all the peripheral devices like RAM, ROM, I/O ports, ADC timers etc. on a single chip. It is a dedicated chip called a single chip computer.
The 8051 microcontroller is a popular 8-bit microcontroller. It is based on the 8-bit CISC of the Harvard architecture. It is available as a 40-pin DIP chip and operates on a 5V DC input.
8051 microcontroller block diagram
8051 microcontroller block diagram
Salient Features of 8051 Microcontroller
4 KB on-chip program memory (ROM and EPROM).
On-chip data memory of 128 bytes (RAM).
8-bit data bus, 16-bit address bit and two 16-bit timers T0 and T1
32 general-purpose registers every 8 bits and five interrupts.
Four 8-bit parallel ports for a total of 32 I/O lines.
16-bit program counter, one heap pointer and 16-bit data pointer.
Single microsecond instruction cycle with 12MHz crystal.
Dual serial connection port.
Description Pin
The 8051 microcontroller is available in a 40-pin DIP configuration. Among the 40 pins, 32 are assigned to four parallel ports P0, P1, P2, and P3, each port occupying 8 pins. The remaining pins are VCC, GND, XTAL1, XTAL2, RST, EA and PSEN.
A quartz crystal oscillator is connected via pins XTAL1 and XTAL2 with a capacitor value of 30pF. If a source other than a crystal oscillator is used, pins XTAL1 and XTAL2 are left open.
Serial communication in the 8051 . microcontroller
The 8051 microcontroller contains pins for transmitting and receiving data through serial communication. These two terminals are part of port P3 (P3.0 and P3.1). These pins are TTL compliant and therefore require a line driver to make them RS232 compliant. The MAX232 is used as a line operator. Serial communication is controlled by an 8-bit register called the SCON register.
Connect DC motor to 8051
Connect DC motor with 8051 . microcontroller
A DC motor operates on direct current and produces torque using electrical energy and a magnetic field. A DC motor requires more torque in the initial stage than in the running stage. DC motors require large current to operate, which will destroy the microcontroller IC. Hence the driving circuit is used with optoisolator and L293 Dual H-Bridge driver. The optoisolator provides additional protection for the microcontroller.
Android apps
The Android operating system provides a platform for developing a variety of applications that run on smartphones to improve the lives of human beings.
Android is used to develop an accurate navigation and tracking system
It is used to develop various social media applications that provide network interaction.
Helps develop various mobile banking services and money transfer applications.
Easy to shop easily.
Helps develop various safety and security applications.
This is all about designing an Android-controlled car with an 8051 microcontroller that uses a built-in drive for movement and a smartphone for wireless communication via Bluetooth. For more information, reach us with such interesting projects through the comments section below
0 Comments
Post a Comment