Вы находитесь на странице: 1из 12

synopsis

on
major project

metro train prototype

GROUP MEMBERS:-
ANITA (0715226)
RAVI (0715257)
PARVEEN(0715242)
INTRODUCTION
METRO TRAIN PROTOTYPE:-

This Project is based on the concept of running of the metro train. In


this project we will get the information that how the metro train runs and
display the name of the stations from where it starts and stations that will
come in between till it reaches its final stop. In this project it will run both in
forward and reverse direction with the help of the various components used
in it. This project uses a microcontroller in which we executes a program on
the basis of which the train will run and stop at the next station for a fixed
time and will display the name of station on LCD display. We will use a
stepper motor for the purpose of running the train both in forward and
reverse direction and the command given to it is also controlled by
microcontroller.
CONTENTS
1. 8051 Microcontroller Architechture
2. Features of AT89c51, AT89c52 and AT89s51
3. Features of LCD Used
4. Fundamentals of Stepper Motor and its Driver
5. PCB Layout
6. Component List.

8051 Microcontroller Architechture


AT89C51:
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K
bytes of Flash programmable and erasable read only memory (PEROM). The device
is manufactured using Atmel’s high-density nonvolatile memory technology and is
compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip
Flash allows the program memory to be reprogrammed in-system or by a conventional
nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash
on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-
flexible and cost-effective solution to many embedded control applications.

AT89C52:
The AT89C52 is a low-power, high-performance CMOS 8-bit microcomputer with 8K bytes of
Flash programmable and erasable read only memory (PEROM). The device is manufactured
using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-
standard 80C51 and 80C52 instruction set and pinout. The on-chip Flash allows the program
memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By
combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C52 is a powerful
microcomputer which provides a highly-flexible and cost-effective solution to many embedded
control applications.

AT89S51:
The AT89LS51 is a low-voltage, high-performance CMOS 8-bit microcontroller with 4K
bytes of in-system programmable Flash memory. The device is manufactured using
Atmel’s high-density nonvolatile memory technology and is compatible with the industry-
standard 80C51 instruction set and pinout. The on-chip Flash allows the program
memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By
combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the
Atmel AT89LS51 is a powerful microcontroller which provides a
highly-flexible and cost-effective solution to many embedded control applications. The AT89LS51
provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines,
Watchdog timer, two data pointers, two 16-bit timer/counters, a
five-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator,
and clock circuitry. In addition, the AT89LS51 is designed with static logic for operation
down to zero frequency and supports two software selectable power saving modes.
The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and
interrupt system to continue functioning. The Power-down mode saves the RAM contents but
freezes the oscillator, disabling all other chip functions until the next external interrupt or
hardware reset.
Rest all function of this Atmel Series Microcontroller is same as its other members.

Liquid Crystal Display Fundamentals


• A general discussion of how liquid crystal displays work.
• A basic introduction to the chemistry, structure, and properties of liquid crystals used in
displays.
• An overview of display structure, assembly, and related technology is summarized.

Liquid Crystal Displays (LCDs) are categorized as nonemissive display devices, in that respect,
they do not produce any form of light like a Cathode Ray Tube (CRT). LCDs either pass or block
light that is reflected from an external light source or provided by a back/side lighting system.
There are two modes of operation for LCDs during the absence of an electric field (applied
Power); a mode describes the transmittance state of the liquid crystal elements. Normal White
mode: the display is white or clear and allows light to pass through and Normal Black Mode: the
display is dark and all light is diffused. Virtually all displays in production for PC/Workstation use
are normal white mode to optimize contrast and speed.

A simplified description of how a dot matrix LCD display works is as follows: A twisted nematic
(TN) LC display consists of two polarizers, two pieces of glass, some form of switching element or
electrode to define pixels, and driver Integrated Circuits (ICs) to address the rows and columns of
pixels. To define a pixel (or subpixel element for a color display), a rectangle is constructed out of
Indium Tin Oxide -- a semi-transparent metal oxide (ITO) and charge is applied to this area in
order to change the orientation of the LC material ( change from a white pixel to a dark pixel). The
method utilized to form a pixel in passive and active matrix displays differs and will be described
in later sections. Figure 1 illustrates a cross sectional view of a simple TN LC display. Figure 2
depicts a dot matrix display as viewed without its metal module/case exposing the IC drivers.

Looking directly at the display the gate or row drivers are located either on the left or the right
side of the display while the data or column drivers are located on the top (and or bottom) of the
display. New thin display module technology mounts the ICs on conductive tape that allows them
to be folded behind the display further reducing the size of the finished module. An IC will
address a number of rows or columns.

Figure 1: Cross Section of a Simple LC Display


viewer
///////////////////////////////////// Polarizer
_____________________________________ glass
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Liquid Crystal
_____________________________________ glass
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Polarizer
Backlight

Figure 2: LCD panel and IC driver locations

________________________________________
| |
| IC IC | Source/Column ICs
| | |
| | |
|IC---------------------Pixel |
| |
|IC <---- Gate Line/Row IC |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* An IC driver will address a number of row/column lines and not just the single pixel in the
diagram above

Polarizers are an integral part of a LCD display, possessing the unique property of only passing
light if it is oriented in a specific (oriented) direction. To utilize this phenomena in TN LC
displays, the bottom polarizer orients incoming light in one direction. The oriented light passes
through the LC material and is either unaltered or "bent" 90 degrees. Depending on the
orientation of the top polarizer, this light will either pass through or be diffused. If the light is
diffused, it will appear as a dark area. Figure 3 is a simple illustration of the sequence of events
that occur when light passes through a simple twisted nematic LC display.

Stepper Motor Fundamentals:


Introduction
Stepper motors are commonly used in accurate motion control. They allow to control
any motion with high precision by counting the number of steps applied to the motor.
Most of systems controlling stepper motors are embedded systems such as printer,
scanner or floppy disk drive. This application note describes how to drive a unipolar
stepper motor with the Programmable Counter Array of an Atmel C51/C251 microcontroller.
There are two major types of stepper motors: Permanent magnet stepper motors (unipolar
stepper motors and bipolar stepper motors) and variable reluctance stepper motors (hybrid
stepper motors).

Stepper Motor Driver IC ULN2003


SHCEMATIC DIAGRAM:
PCB Layout:
Component’s List for Project
AT89c51 1

ULN2003 1

Stepper Motor 1

2 Line LCD 1

Buzzer 1

LED 3

Resistances (10K) 5

4.7K 5

470 ohm 5

33picofarad Ceramic Disk Capacitor 2

Crystal Osci. (12 MHz) 1

Mini Switch 2

10K Pot (Preset) 1

Diode 1n4007 4

IC Base (16Pin, 40Pin, 8Pin) 1 each

Relimate (5 pin and 2 pin) 1 each

Relimate (16pin) 2

Power chord 1

Capacitor 100Microfarad/ 25v 1

Capacitor 470 Microfarad / 25v 1

Power IC 7805 1

Transformer (9-0-9) 1

Вам также может понравиться