Top Banner
PROJECT TITLE METRO TRAIN PROTOTYPE USING 8051 MICROCONTROLLER By-Udit Chaturvedi
17
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Digital Bus

PROJECT TITLE

METRO TRAIN PROTOTYPE USING 8051

MICROCONTROLLER

By-Udit Chaturvedi

Page 2: Digital Bus

Project DescriptionDesigned to understand the technology used

in modern driver less metro train.

Trains are equipped with CPU, which control the train.

Train is programmed for specific path.

Every station on path is defined.

Stoppage timing of train and distance between two stations is predefined.

Page 3: Digital Bus

In This Project We try to make prototype for these type of Metro Trains.

We use 8051 as CPU.

The motion of Train is controlled by a Stepper Motor.

LCD Display of 2*16 characters is used for displaying messages in the train.

The stoppage time at a station is taken to be 3 seconds.

The time taken by train between two consecutive stations is taken as 6 seconds.

Page 4: Digital Bus

In This Project (Contd.)LEDs are used as Indicators to show the train

direction i.e. UP and DOWN path.

It also have BUZZER system. As train is going to leave a station, buzzer blows.

It also have an emergency brake system due to which train stops as soon as brakes are applied.

Can resume journey after emergency situation is over.

Page 5: Digital Bus

Basic CircuitBasically it has four parts

1. POWER SUPPLY

2. 8051 IC

3. DISPLAY UNIT

4. STEPPER MOTOR

Page 6: Digital Bus

List of Components Used

Page 7: Digital Bus

Block Diagram

Page 8: Digital Bus

LCD Interfacing With 8051

Page 9: Digital Bus

WHY WE USE ULN 2003? Microcontroller pins lack sufficient current to drive the

relay. They can provide a maximum of 1-2mA current. While the stepper motor’s coil needs around 10mA to be energized. For this reason, we place a driver so that stepper motor can work efficiently.

Page 10: Digital Bus

CIRCUIT DIAGRAM

Page 11: Digital Bus

PCB Layout

Page 12: Digital Bus

Power Supply Circuit

Page 13: Digital Bus

Working Of ProjectThe 230V AC supply is converted into 9 Volts by the

transformer used in power supply section.

Then it is rectified by the bridge rectifier made up of diodes.

Then the 9 v is regulated by 7805.

1000 micro farad capacitor is used to filter the DC voltage.

After supplying power to the circuit, it works according to the programming done in 8051.

Page 14: Digital Bus

Programming of 8051$mod51data equ p1 ;p0busy equ p0.7 ;p0.7 rs equ p3.2rw equ p3.1 en equ p3.0 org 400h show0: db 'Welcome To All','0‘show1: db 'Current Station','0‘show2: db 'Next Station','0' show3: db 'Aligarh','0' show4: db 'Ghaziabad','0' show5: db 'New Delhi','0‘ org 0000h here: mov p2,#00h

acall ini mov dptr,#show0 acall read clr p3.3 ;p1.0

Page 15: Digital Bus

acall delay mov a,#01h acall command; Now make memory clear cursor home mov dptr,#show1 acall read mov a,#0c0h acall command mov dptr,#show3 ......cjne r1,#00h,loop1 pop p1 pop acc ret end

Page 16: Digital Bus

FUTURE SCOPE OF THIS PROJECT

This Project is useful in developing countries & this project has a bright future as it is being used in countries like Germany, France & Japan. This project helps us to control train without a driver and the stations are shown on the LCD so the passenger doesn’t have any type of difficulty. This project will lead to increase in technological trends & this will help the people in many ways.

Page 17: Digital Bus