Professional Documents
Culture Documents
CHAPTER 1
PROJECT
OVERVIEW
Chapter 1 Project Overview
CHAPTER 1
PROJECT OVERVIEW
1.1 INTRODUCTION
Visual impact is the most effective mode of influencing human minds which
is the main aim of Advertisements etc. A display device serves this purpose.
A display device is a device for presentation of information for visual or
tactile reception, acquired, stored, or transmitted in various forms. The
display devices used to display information on machines, clocks, railway
departure indicators and many other devices require a simple display of
limited resolution. The display consists of a matrix of lights or mechanical
indicators arranged in a rectangular configuration (other shapes are also
possible, although not common) such that by switching on or off selected
lights, text or graphics can be displayed. Various modifications has been
made in the display board.
Now LED display panels are widely used throughout the world in all
situations to create images for visual displays in a variety of applications
including communication and visual display devices. LED array display
board is a popular instrument for commercial usage. Many banks, shops and
cinemas are willing to install one piece of it because of its versatility. LED
array display board can be very bright and eye-catching. Display signs used
for advertising or for displaying direction or other information to motorists
have an important feature in common. They should be eye-catching and their
information should be easy to absorb. In advertising, a signboard made of an
LED display generally standing at a conspicuous location, such as a bustling
road, is widely used. The LED display comprises a plurality of LEDs
controlled by special hardware and software to perform moving images on a
screen thereof to attract the attention of passersby. The LED array display
board is used in a bank to show the current stock market value, currency
exchange rate and interests rate. It can also be used in a shop to tell people
the prices and other commercial information. LED display board serves the
above purposes with advantages rendered by LEDs.
Chapter 1 Project Overview
LEDs produce more light per watt than incandescent bulbs; this is
useful in battery powered or energy-saving devices.
LEDs can emit light of an intended color without the use of color
filters that traditional lighting methods require. This is more efficient
and can lower initial costs.
The solid package of the LED can be designed to focus its light.
Incandescent and fluorescent sources often require an external
reflector to collect light and direct it in a usable manner.
LEDs are ideal for use in applications that are subject to frequent on-
off cycling, unlike fluorescent lamps that burn out more quickly when
cycled frequently, or HID lamps that require a long time before
restarting.
Organic light emitting diodes (OLED) are a promising technology for flat
panel displays. Owing to high brightness, fast response speed, light weight,
thin and small features, full color, no viewing angle differences, no need for
an LCD back-light board and low electrical consumption, an organic light
emitting diode display takes the lead to substitute a twist nomadic (TN), a
super twist nomadic (STN) liquid crystal display, or a small-sized thin-film
transistor (TFT) LCD display. Light emitting diodes are useful in a wide
range of high and low resolution display devices.
1.2 OBJECTIVE
Display technology pervades all aspects of present day life, from televisions
to automobile dashboards to laptop computers to digital cameras. Single
colored LED display boards are very common nowadays. The same yellow
or red colored board is not attractive .The introduction of multicolored LEDs
into the display boards make them attractive. This project is oriented
towards the development of a prototype of a multicolored LED display
board which is being controlled by an LED driver. The use of multicolor
LED opens door to many applications. The display board is made on readily
available components. The important requirement is that the display board
should have long life expectancy, high tolerance to humidity, low power
consumption and minimal heat generation. The fundamental part is a 64X16
Chapter 1 Project Overview
LED module which could be repeated column wise or row wise to enlarge
the display without any change in circuitry. Both single line and double line
display could be affected. Motivation towards the project was to make
available a readily expandable multicolor display board which can be used
for multiple purposes.
1.3 PRINCIPLE
This project can be made by using following two principles they are as
follow:-
1. Co-ordinate drives.
2. Shift register.
1.4 SPECIFICATIONS
CHAPTER 2
SYSTEM
OVERVIEW
Chapter 2 System Overview
CHAPTER 2
SYSTEM OVERVIEW
A 64X16 LED module is the fundamental part of the display. LED display
panels use matrix addressing techniques to organize the light emitting
elements or pixels into a number of rows and columns with each pixel at an
intersection of a particular row and a particular column. A light emitting
device (LED) display is typically supplied with data addressed from
graphical memory location in accordance with a column-major display. The
LED display illuminates pixels on a column basis by providing sourcing and
sinking currents to diodes in the display. An LED display is typically made
up of various dots arranged in a matrix pattern having rows and columns.
The dots are usually called pixels where the pixels are made up of several
LEDs. Illuminating the pixel requires activating an intersecting row and
column thereby providing a closed current path that includes the pixel to be
illuminated.
The individual LEDs emit light of three basic colors: red, green and blue.
Typically, each pixel is composed of at least one LED of each color. In LED
Chapter 2 System Overview
The control of the LED display module is done by means of LED driver. It is
programmable using microcontroller. An LED Driver has a shift register
embedded that will take data in serial format and transfer it to parallel. It
performs following functions:
2.1.3 Microcontroller
It provides the communication between the User and display board. It also
can provide interfacing the microcontroller.
Advantages:
Applications:
CHAPTER 3
PROJECT DESIGN
CHAPTER 3
PROJECT DESIGN
Chapter 3 Project Design
Hardware requirements:
Specifications:
Cut in Voltage
Red: 1.6V.
Green: 1.8V.
Chapter 3 Project Design
LED driver used is MAX232. It can drive 64 single LEDs. The 232 can
source up to 40mA and control an 8x8 single LED matrix. (Here 2 MAX232
is used to control a 4X4 matrix). Individual LEDs can be turned on or off
with 3 wire serial interface (CLK, DATA, LOAD). 16 Brightness steps are
also provided, which can control the brightness of all the 64 LEDs. Thus it
provides both software and hardware control of brightness. It drives
common cathode LED display. It provides 100MHz serial interface.
The LED driver has a 16 bit shift register. Input signals are CLK, DIN, and
LOAD. Serial data at DIN, sent in 16-bit packets, is shifted into the internal
16-bit shift register with each rising edge of CLK regardless of the state of
LOAD. The data is then latched into either the digit or control registers on
the rising edge of LOAD/CS. LOAD/CS must go high concurrently with or
after the 16th rising clock edge, but before the next rising clock edge or data
will be lost. Data at DIN is propagated through the shift register and appears
at DOUT 16. 5 clock cycles later. Data is clocked out on the falling edge of
CLK.
Specifications:
3.2 DESIGN
For the expansion of the display, cascading of the MAX232s is done. This is
done by connecting LOAD and CLK inputs of all the devices together and
connecting DOUT to DIN on adjacent devices. DOUT is a CMOS logic-
level output that easily drives DIN of successively cascaded parts.
Chapter 3 Project Design
3.2.1 AT89S52
FEATURES:
Watchdog Timer.
Dual Data Pointer.
Power-off Flag.
Fast Programming Time.
Flexible ISP Programming. (Byte and Page Mode)
Green (Pb/Halide-free) Packaging Option.
Chapter 3 Project Design
GND Ground.
RST - Reset input. A high on this pin for two machine cycles while
the oscillator is running resets the device. This pin drives high for 98
oscillator periods after the Watchdog times out. The DISRTO bit in
SFR AUXR (address 8EH) can be used to disable this feature. In the
default state of bit DISRTO, the RESET HIGH out feature is enabled.
In digital circuits, a shift register is a cascade of flip flops, sharing the same
clock, in which the output of each flip-flop is connected to the "data" input
of the next flip-flop in the chain, resulting in a circuit that shifts by one
position the "bit array" stored in it, shifting in the data present at its input
and shifting out the last bit in the array, at each transition of the clock input.
More generally, a shift register may be multidimensional, such that it’s "data
in" and stage outputs are themselves bit arrays: this is implemented simply
by running several shift registers of the same bit-length in parallel.
The crystal oscillator is used to provide the clock for the PIC. A crystal
oscillator has a very stable Q. It is equivalent to an LCR circuit. It oscillates
at its resonating frequency. Here the crystal provides 20 MHz clock to the
PIC. It requires resistors and capacitors to oscillate properly.
Pin 1 Data.
Pin 2 Not Connected.
Pin 3 GND.
Pin 4 Vcc (+5V).
Pin 5 Clock.
Pin 6 Not Connected.
The PS/2 protocol can actually do two-way communication -- that is to say
you can actually send information to the keyboard. This can be used to set
the LED lights on the keyboard.
PS/2 Keyboard Protocol
As stated in the video, the PS/2 Interface is quite easy to implement. To send
a key stroke, the keyboard begins driving the clock line. On the falling edge
of the clock line, the data line represents the current bit. Each keystroke is
sent as 11 bits: first a start bit of 0, then the 8 bits of the scan code (least
significant bit first), then a parity bit (odd parity, which we did not
implement for simplicity's sake), and finally a stop bit (always 1).
All data is transmitted one byte at a time and each byte is sent in a frame
consisting of 11-12 bits. These bits are:
They show the state of USB. The various conditions are shown below.
3.2.8 Design
For providing the clock using crystal oscillator 22pF capacitors and 1Mohm
resistors are required. They make the crystal oscillate properly. A capacitor
0.47 μ F is connected across the pin 18. It is required for the proper
functioning of internal voltage regulator. A decoupling capacitor of value 0.1
μF is connected across the power pins of USB socket. Status LEDs are
connected at pins 19 and 20.
Hardware requirements:
3.3.1 Transformer
We use step down transformer which step down the voltage from 230V to
9V.
The bridge rectifier provides full wave rectification from a two wire AC
input. It is formed of power diode BY127. The ac input voltage is applied to
the diagonally opposite ends of the bridge. . The load resistance is connected
between the other two ends of the bridge. For the positive half cycle of the
input ac voltage, diodes D1 and D3 conduct, whereas diodes D2 and D4
remain in the OFF state. The conducting diodes will be in series with the
load resistance RL and hence the load current flows through RL. For the
negative half cycle of the input ac voltage, diodes D2 and D4 conduct
whereas, D1 and D3 remain OFF. The conducting diodes D2 and D4 will be
in series with the load resistance RL and hence the current flows through RL
in the same direction as in the previous half cycle. Thus a bi-directional
wave is converted into a unidirectional wave.
Specifications
3.3.4 Capacitor
3.3.5 Resistor
The current through a resistor is in direct proportion to the voltage across the
resistor's terminals. This relationship is represented by Ohm's law: I = V/R
CHAPTER 4
PCB DESIGN
Chapter 4 PCB Design
CHAPTER 4
PCB DESIGN
4.1 PCB DESIGINING PROCESS
4.2 MANUFACTURING
Laminates.
Copper-clad laminates.
Resin impregnated B-stage cloth (Pre-preg).
Copper foil.
4.3 PROCESS
1. Patterning (etching)
The majority of printed circuit boards today are made from purchased
laminate material with copper already applied to both sides. The unwanted
copper is removed by various methods leaving only the desired copper
traces, this is called subtractive. In an additive method, traces are
electroplated onto a bare substrate using a complex process with many steps.
The advantage of the additive method is less pollution of the environment.
The method chosen for PCB manufacture depends on the desired number of
boards to be produced. Double-sided boards or multi-layer boards use
plated-through holes, called vias, to connect traces on different layers of the
PWB.
2. Chemical etching
As more copper is consumed from the boards, the etchant becomes saturated
and less effective; different etchants have different capacities for copper,
with some as high as 150 grams of copper per liters of solution. In
commercial use, etchants can be regenerated to restore their activity, and the
dissolved copper recovered and sold. Small-scale etching requires attention
to disposal of used etchant, which is corrosive and toxic due to its metal
content.
3. Lamination
"Multi layer" printed circuit boards have trace layers inside the board. One
way to make a 4-layer PCB is to use a two-sided copper-clad laminate, etch
the circuitry on both sides, then laminate to the top and bottom prepreg and
copper foil. Lamination is done by placing the stack of materials in a press
and applying pressure and heat for a period of time. This results in an
inseparable one piece product. It is then drilled, plated, and etched again to
get traces on top and bottom layers. Finally the PCB is covered with solder
Chapter 4 PCB Design
mask, marking legend, and a surface finish may be applied. Multi-layer PCB
does allow for much higher component density.
4. Drilling
Holes through a PCB are typically drilled with small-diameter drill bits
made of solid coated tungsten carbide. Coated tungsten carbide is
recommended since many board materials are very abrasive and drilling
must be high RPM and high feed to be cost effective. Drill bits must also
remain sharp so as not to mar or tear the traces. Drilling with high-speed-
steel is simply not feasible since the drill bits will dull quickly and thus tear
the copper and ruin the boards. The drilling is performed by automated
drilling machines with placement controlled by a drill tape or drill file.
These computer-generated files are also called numerically controlled drill
(NCD) files or "Excellent files". The drill file describes the location and size
of each drilled hole. These holes are often filled with annular rings (hollow
rivets) to create vias. Vias allow the electrical and thermal connection of
conductors on opposite sides of the PCB.
When very small vias are required, drilling with mechanical bits is costly
because of high rates of wear and breakage. In this case, the vias may be
evaporated by lasers. Laser-drilled vias typically have an inferior surface
finish inside the hole. These holes are called micro vias.
The hole walls for boards with 2 or more layers can be made conductive and
then electroplated with copper to form plated-through holes. These holes
electrically connect the conducting layers of the PCB. For multilayer boards,
those with 3 layers or more, drilling typically produces a smear of the high
temperature decomposition products of bonding agent in the laminate
system. Before the holes can be plated through, this smear must be removed
by a chemical de-smear process, or by plasma-etch. The de-smear process
ensures that a good connection is made to the copper layers when the hole is
Chapter 4 PCB Design
PCBs are plated with solder, tin, or gold over nickel as a resist for etching
away the unneeded underlying copper.
After PCBs are etched and then rinsed with water, the solder mask is
applied, and then any exposed copper is coated with solder, nickel/gold, or
some other anti-corrosion coating.
It is important to use solder compatible with both the PCB and the parts
used. An example is Ball Grid Array (BGA) using tin-lead solder balls for
connections losing their balls on bare copper traces or using lead-free solder
paste.
Other plating used are OSP (organic surface protectant), immersion silver
(IAg), immersion tin, electro less nickel with immersion gold coating
(ENIG), and direct gold plating (over nickel). Edge connectors, placed along
one edge of some boards, are often nickel plated then gold plated. Another
coating consideration is rapid diffusion of coating metal into Tin solder. Tin
Chapter 4 PCB Design
forms intermetallics such as Cu5Sn6 and Ag3Cu that dissolve into the Tin
liquidus or solidus (@50C), stripping surface coating or leaving voids.
6. Solder resist
Areas that should not be soldered may be covered with "solder resist"
(solder mask). One of the most common solder resists used today is called
LPI (liquid photoimageable). A photo sensitive coating is applied to the
surface of the PWB, then exposed to light through the solder mask image
film, and finally developed where the unexposed areas are washed away.
Dry film solder mask is similar to the dry film used to image the PWB for
plating or etching. After being laminated to the PWB surface it is imaged
and develops as LPI. Once common but no longer commonly used because
of its low accuracy and resolution is to screen print epoxy ink. Solder resist
also provides protection from the environment.
7. Silkscreen
Line art and text may be printed onto the outer surfaces of a PCB usually by
screen printing epoxy ink in a contrasting color, but can also be done with
LPI or dry film like the solder resist. When space permits, the legend can
indicate component designators, switch setting requirements, test points, and
other features helpful in assembling, testing, and servicing the circuit board.
Some digital printing solutions are used instead of screen printing. This
technology allows printing variable data onto the PCB, including individual
serial numbers as text and bar code.
Chapter 4 PCB Design
8. Test
Many assembled PCBs are static sensitive, and therefore must be placed in
antistatic bags during transport. When handling these boards, the user must
be grounded (earthed). Improper handling techniques might transmit an
accumulated static charge through the board, damaging or destroying
components. Even bare boards are sometimes static sensitive. Traces have
become so fine that it's quite possible to blow an etch off the board (or
change its characteristics) with a static charge. This is especially true on
non-traditional PCBs such as MCMs and microwave PCBs.
4.4 DESINING
The software used for circuit design is EAGLE. The program consists of
three main modules: Layout Editor, Schematic Editor, Auto router which is
embedded in a single user interface. Therefore there is no need for
converting net lists between schematics and layouts. Its General features are:
It is a double sided PCB with the upper side of PCB comprising of the anode
lines of the LEDs .the cathode lines are laid on the bottom side of the PCB.
The anode lines are horizontal lines. The cathode lines are vertical lines. The
track width is 10 mils. ((for 1A current). a circular pad has been laid with
Chapter 4 PCB Design
Diameter of pad 0.5 mm greater than hole diameter. Pads are laid for nodes
on the top side and holes for cathodes and vice versa. Tracks have angles of
45 degree or so (never 90 degree).
This is designed as two layers PCB. The tracks never end at 90 degrees the
VCC tracks (20 mils) are having greater width than normal tracks. The
ground tracks are of width 40mils.
Chapter 4 PCB Design
CHAPTER 5
SOFTWARE
CHAPTER 5
SOFTWARE
Chapter 5 Software
5.1 INTRODUCTION
Simplicity and ease which higher programming languages bring in, as well
as broad application of microcontrollers today, were reasons to incite some
companies to adjust and upgrade BASIC programming language to better
suit needs of microcontroller programming. What did we thereby get? First
of all, developing applications is faster and easier with all the predefined
routines which BASIC brings in, whose programming in assembly would
take the largest amount of time. This allows programmer to concentrate on
solving the important tasks without wasting his time on, say, code for
printing on LCD display.
To avoid any confusion in the further text, we need to clarify several terms
we will be using frequently throughout the book:
HEX file is created for each module you have included in the project. In the
process of compiling, .mcl files will be linked together to output asm, lst and
hex files. If you want to distribute your module without disclosing the
source code, you can send your compiled library (file extension .mcl). User
will be able to use your library as if he had the source code. Although the
compiler is able to determine which routines are implemented in the library,
it is a common practice to provide routine prototypes in a separate text file.
HEX file is the one you need to program the microcontroller. Commonly,
generated HEX will be standard 8-bit Merged Intel HEX format, accepted
by the vast majority of the programming software. The programming device
(programmer) with accessory software installed on PC is in charge of
writing the physical contents of HEX file into the internal memory of a
microcontroller. The content of a file blink.hex is given below:
: 100000000428FF3FFF3FFF3F031383168601FF30A5
: 10001000831286000630F000FF30F100FF30F2005E
: 10002000F00B13281A28F10B16281928F20B1628A2
: 10003000132810281A30F000FF30F100F00B2128AF
: 100040002428F10B21281E284230F000F00B26282E
: 1000500086010630F000FF30F100FF30F200F00BB7
:1000600032283928F10B35283828F20B3528322868
: 100070002F281A30F000FF30F100F00B4028432801
: 10008000F10B40283D284230F000F00B45280428B1
: 100090004828FF3FFF3FFF3FFF3FFF3FFF3FFF3F3E
: 02400E007A3FF7
: 00000001FF
Chapter 5 Software
Note that the programming software should be used only for the
communication with the programming device — it is not suitable for code
writing.
Chapter 5 Software
CHAPTER 6
ADVANTAGES
&
APPLICATIONS
Chapter 6 Advantages & Applications
CHAPTER 6
ADVANTAGES & DISADVANTAGES
6.1 ADVANTAGES
Easy to implement.
More reliable.
Secured data transfer.
Can be used in places where human beings cannot work.
Robust system.
High accuracy because of sensors and microcontroller.
Can store the message in the memory.
It is user friendly.
Bright display in even day light.
High life span of LED’s.
Low power consumption.
6.2 DISADVANTAGES
6.3 APPLICATIONS
CHAPTER 7
CONCLUSION
&
FUTURE
ENHANCEMENT
Chapter 7 Conclusion & Future Enhancement
CHAPTER 7
CONCLUSION & FUTURE ENHANCEMENT
7.2 CONCLUSION
REFERENCES
http://mebss.blogspot.in/2012/09/step-down-transformers.html
http://www.electroschematics.com/5362/mobile-charger-using-
bike-battery/
http://www.talonix.com/shop/category.aspx?
catid=128#.UXLlTaI9HzE
http://www.westfloridacomponents.com/BridgeRectifiers.html
http://ram-e-shop.com/oscmax/catalog/index.php?cPath=32
http://ecbuddy.blogspot.in/2011/02/at89s52-pin-diagram.html
http://homepage.ntlworld.com/alanet.marshall1/WS-
page/X1CNC/X1CNCpage2.htm
https://www.physics.iitm.ac.in/courses_files/courses/eleclab03_od
d/regulated_power_supply.htm