SlideShare une entreprise Scribd logo
1  sur  10
Télécharger pour lire hors ligne
IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE)
e-ISSN: 2278-1676,p-ISSN: 2320-3331, Volume 10, Issue 1 Ver. III (Jan – Feb. 2015), PP 27-36
www.iosrjournals.org
DOI: 10.9790/1676-10132736 www.iosrjournals.org 27 | Page
Implementation of an Improved Microcontroller Based Moving
Message Display System
Bakare B. I1
and Odeyemi F. M2
1,2
(Department of Electrical/Computer Engineering Rivers State University of Science and
Technology , Port Harcourt, Nigeria)
Abstract: The implementation of a Light Emitting Diodes (LEDs) dot matrix moving message display system
which show a text containing 23 characters (i.e., GREAT DEPT. OF ELECT. ENGRG) is achieved in this work
using a PIC16F648A Microcontroller, The microcontroller is programmed using Assembly language, with
MPLAB software and a PIC Programmer .The LEDs are controlled by signals from the microcontroller and
decade counters in a sequential manner which results in the moving message. In this work, we make use of a
49*8 dot matrix display made up of 392 low power Light Emitting Diodes (LEDs). The connection is done in
such a way that the cathodes of all the LEDs on a particular column are connected together while the anodes of
all the LEDs on a particular row are also connected together. This gives each row and column a separate line
and allows the LEDs on each of these rows or columns to be powered by the same line. A limiting resistor for
the eight (8) output lines of the microcontroller to the LEDs on the dot matrix is used. and a dynamic display
scheme is also employed.. In this system, the LEDs is not lit continuously but is sequentially lit by scanning in
a “vertical strobe” or “horizontal strobe”. In the vertical strobe mode, information is addressed to the display
by selecting a single row at a time, energizing the appropriate LED(s) in that row and proceeding to the next
row. In the horizontal strobe mode, a single column is chosen at a time The dynamic display scheme employed
in this work helped to improved the brightness of the display and also save energy consumed by the
hardware .
Keywords: Decade counter, Flow-chat , LED Display ,Microcontroller ,Programming.
I. Introduction
The use of Light Emitting Diodes (LEDs) dot matrix for creating a text display system is quite common
with its usage expanding greatly in recent time. Such displays can be found in airports, where they are used to
display flight information, in stock exchanges and banks to display share prices and exchange rate respectively.
The wide usage of LED displays is as a result of its ability to convey information to large audiences quickly and
efficiently. As LED displays are often controlled by digital technology the information can swiftly and easily be
updated. This feature of LED displays has led to a great flexibility of such products in countless applications.
An additional benefit of using this form of display is that LEDs are a very efficient form of illumination. Unlike
incandescent bulbs, LEDs do not generate a large amount of wasted energy in the form of heat. [1]
This paper, therefore, presents the design and implementation of a moving message display system
using Light emitting diode (LED) dot matrix display and a microcontroller with the following objectives:
 Designing and realizing the moving message display panel.
 Using a PIC Microcontroller to input, store, control and display the data for the message characters on a dot
matrix.
The figure below is the Building blocks diagram of a Moving Message Display System.
Figure. 1: Block diagram of a moving message display system
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 28 | Page
1.1 Power Supply Unit
In order to operate the system, Power. Supply is required as shown in figure 1 . The mode of
application of such power will form the basis for the design of the power supply unit and it’s characteristic. A
dc Power Supply is needed to power the microcontroller and all the other modules .
1.2 Control Circuit
The microcontroller is the brain behind the moving message display system. It is the meeting point for
all the other units. The microcontroller controls the decade counters and the rows of the dot matrix display to
produce the desired alphanumeric character.
1.3 Counting Unit
In this unit, the decade counter is used. it produces the shifting action of the alphanumeric characters on
the dot matrix display.
1.4 Display Unit
The display unit makes use of dot matrix to display information. The light emitting diodes are arranged
properly to make an array of rows and columns [2]
II. Materials And Methods
In the implementation of this work, certain logical steps were taken into consideration in determining
the hardware components. These steps followed the model of the design. Other necessary support components
were identified. The detailed circuit diagram is shown in Fig. 2 and Fig. 3.
Figure 2: Detailed Circuit Diagram of Moving Message Display System.
Figure 3: Power Supply Circuit
2 4 7 10 1 5 6 9
15
14 13 11 3
2 4 7 10 1 5 6 9
15
14 13 11 3
2 4 7 10 1 5 6 9
14 13 11 3
2 4 7 10 1 5 6 9
15
14 13 11 3
2 4 7 10 1 5 6 9
15
14 13 11 3
2 4 7 10 1 5 6 9
15
14 13 11 3
2 4 7 10 1 5 6 9
15
14 13 11 3
1 2 3 4 5 6 7
7408
14 13 12 11 10 9 8
1 2 3 4 5 6 7
7408
14 13 12 11 10 9 8
4017 4017 4017 4017 4017 4017 4017
10
11
12
13
14
15
16
17
18
9
8
7
6
5
4
3
2
1
4 MHz30pf
GND
Vcc
Vcc
Vcc
ToR8
ToR7
ToR6
ToR5
1k
1k
1k
1k1k
1k
1k
1k
ToR1
ToR2
ToR3
ToR4
PIC
16F
648
To
col
um
n1
To
colu
mn
2
To
colu
mn
3
To
colu
mn
4
To
colu
mn
5
To
colu
mn
6
To
colu
mn
7
To
colu
mn
8
To
col
um
n9
To
colu
mn
10
To
colu
mn
11
To
colu
mn
12
To
colu
mn
13
To
colu
mn
14
To
colu
mn
15
To
colu
mn
16
To
col
um
n
17
To
colu
mn
18
To
colu
mn
19
To
colu
mn
20
To
colu
mn
21
To
colu
mn
22
To
colu
mn
23
To
colu
mn
24
To
col
um
n
25
To
colu
mn
26
To
colu
mn
27
To
colu
mn
28
To
colu
mn
29
To
colu
mn
30
To
colu
mn
31
To
colu
mn
32
To
col
um
n
33
To
colu
mn
34
To
colu
mn
35
To
colu
mn
36
To
colu
mn
37
To
colu
mn
38
To
colu
mn
39
To
colu
mn
40
To
colu
mn
41
To
colu
mn
42
To
colu
mn
43
To
colu
mn
44
To
colu
mn
45
To
colu
mn
46
To
colu
mn
47
To
col
um
n
48
Spa
re
15
1k
1k
30pf
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 29 | Page
2.1 Working Principle:
The microcontroller used is the PIC16F648A shown in fig. 4. It comes with a wide variety of special
features which makes it useful for a wide range of applications. The features are;
 It has a maximum frequency of operation of 20MHz
 It has 4096 words of flash program memory
 It has 256 bytes of RAM Data memory it has 256 bytes of EEPROM Data memory
 3 timer module- TMRO, TMRI, TMR2
 2 comparators
 USART
 Internal voltage reference
 10 interrupt sources
 16 1/0 pins
 Voltage range of 2.0 – 5.5 volts
 Comes in an 18-pin dual- in-line package (DIP)
 Stand – by current – 100nA (a) 2.0v, typical
 Operating current - 12A (a) 32KHz , 2.0V, typical - 120A (a)1MHz , 2.0V, typical
 Watching timer current - 1A (a) 2.0V, typical
 Timer 1 oscillator current - 1.2A (a) 32KHz, 2.0V, typical
 Dual speed internal oscillator Run- time selectable b/w 4MHz and 3.7KHz
 4s wake-up from sleep, 3.0V, typical
Pins 1 and 2 (i.e VREF & CMPI) are connected in a pull up manner to VCC through 1k resistors while pin 3
is not used. Pin 4 is connected directly to VCC. Pin 5 goes to ground. Pin 6 through 13 are input/output pins. In this
project, they function as output pins that carry the code data in term of Os (zero) and 1s (ones) from the
microcontroller and pass these signals to the 8 rows of the dot matrix display.
Pin 14 goes to VCC. Pins 15 and 16 are connected to an external oscillator (4MHz) that controls the timing sequence
of the microcontroller’s operation. Pin 7 is connected to pin 14 of the 1st
4017 decade counter. It activates the
clocking of the 1st
decade counter. [3],[4]
Pin 18 is connected to ground.
Figure 4: Pin Configuration of PIC16F648A
2.2 Peripheral Features:
• 16 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analogue comparator module with:
- Two analogue comparators
- Programmable on-chip voltage reference (VREF) module
- Selectable internal or external reference
- Comparator outputs are externally accessible
• Timer0: 8-bit timer/counter with 8-bit programmable prescaler
• Timer1: 16-bit timer/counter with external crystal/ clock capability
• Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler
• Capture, Compare, PWM module
- 16-bit Capture/Compare
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 30 | Page
- 10-bit PWM
• Addressable Universal Synchronous/Asynchronous Receiver/Transmitter USART
For the CPU to execute an instruction, it takes a certain number of clock cycles. The frequency of the crystal
connected to the PIC16FXX family varies from 4MHz to 37MHz, depending on the chip rating.[3], [4]
III. Hardware Design And Analysis
3.1 Size Of Transformer
 peakVrVmViVCC  (1)
Where voltagerectified
DC
V 
.
.max
1
voltageripplepeakVr
voltageCAimumorpeakVm
recgulatorCtoinputVi



But, Vr (peak) =  smrVr ..3 (2)
Where, Vr (r.m.s) is the root mean square value of the ripple voltage. The rectified signal,
fc
CAsmrVr
34
.
1
)..(  (3)
Where f = frequency in Hertz
C = filter capacitor
To maintain regulation
Vr (peak)  Vm - Vi (min) (4)
For IC regulator 7805:
Vi (min) = 7.5v
From equation (4), for regulation to be maintained, then:
Vm  Vi (min) (5)
For the choice of transformer
Vm = 12v
Also,
ID.C = 0.62 IA.C (6)
Were 1 D.C is the total dc load in amperes drawn by the display circuit at which regulation is to be maintained.
IA.C is the A.C current capacity of the transform
From eqn 6
IA.C =
62.0
.CDI
(7)
Now, for the message display circuit, total bad in amperes is given as
mA
mCD
I
CA
I
242
62.0
150
62.0
.
.


Hence, the current size or capacity of the transformer should be
mAI CA 242. 
Let mAI CA 300. 
Also,
Since 12  7.5, equations (4) and (5) are satisfied, hence; regulation is possible Therefore, the size of
transformer is 240v/12v, 300mA, 50Hz A.C [5]
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 31 | Page
3.2 Size of Filter Capacitor
Using equation (3)
 
fc
smrVr CD
34
1
.. .

 smrfVr
C CD
..34
1
1 .
 (8)
From equation (2):
   smrVrpeakVr ..3
   
3
..
peakVr
smrVr  (9)
Putting equation (9) into (8)
 peakfVr
I
C CD
34
3
1 .

 peak
CD
fVr
I
C
4
1 .

Where f = 50Hz
 peak
CD
Vr
I
C
200
1 .

 peak
CD
Vr
I
C .
3
105
1


 (10)
Now, from equation (4)
   minViVmpeakVr 
Where   vVivVm 5.7min;12 
  VViVm 5.47512min 
Hence,
  vpeakVr 5.4
Let   vpeakVr 7.0
But mAI CD 150. 
7.0
150105
1
3
m
C



7.0
105.7 4


f
f
1051
1005.1 3

 
Choosing closest standard value,
fC 10001 
With fC 10001 
 
C
I
V CD
peakr
.
3
105 


1000
150105 3
m


Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 32 | Page
v75.0
Hence,    peakVrVmVi min
75.012
V25.11
Since 11.25 > 7.5v, the regulation is very possible.
Now, the maximum operating voltage Vw of the capacitor C1 is given by
Vw = 1.4 VD.C (11)
Where  peakrCD VVmViV .
25.1175.012 
25.1114 Vw
v75.15
Let vVw 16
Thus, the size of the filter capacitor is
vfC 16,10001 
3.3 Voltage Regulation
The output voltage of the power supply unit is regulated by means of a positive IC voltage regulator:
7805
For regulation to be maintained:
   peakVrVmVi min
Where  minVi is the minimum input voltage to the IC voltage regulator.
For 7805
 
cdvVout
cdvVi
.5
.5.7min


Thus; to maintain the regulated +5v dc supply from the output of the IC regulator 7805,
  vVi 5.7min 
Now, ;12vVm 
  vV peakr 75.0
  vVi 25.1175.012min 
Hence, since + 11.25 > +7.5v, regulation is possible. Thus, a regulated output of +15v d.c is supplied to the
moving message display by the power supply unit.
3.4 Limiting Resistance For Power Indicator Led 1
The power indicator LED1 is used to indicate when power is supplied to the circuit. A green LED is used.
Figure 5: Power Supply Unit LED and limiting resistance.
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 33 | Page
L
D
I
V
R
7.1
1


Where mAIVV LD 22,25.11 
m
R
22
7.125.11
1


 1.434
Let  4701R
In summary, the list of rated components value for the power supply unit is as follows:
 Transformer = 240v / 12v, 300mA, 50Hz A.C
 D1− D4 = 1N4001
 C1 = 1000f, 16v
 IC Regulator = 7805
 LED1 = Green
 Battery = 9v d.c
3.5 Dot Matrix Display
In this work, we make use of a 49*8 dot matrix display made up of 392 low power Light Emitting
Diodes (LEDs). The connection is done such that the cathodes of all the LEDs on a particular column are
connected together while the anodes of all the LEDs on a particular row are also connected together. This gives
each row and column a separate line and allows the LEDs on each of these rows or columns to be powered by
the same line.
The various alphanumeric characters are displayed by lighting up the LED(s) located in specific
positions in the array. For better brightness of display and economy in hardware, a dynamic display scheme is
used. In this scheme, the LEDs are not lit continuously but are sequentially lit by scanning in a “vertical strobe”
or “horizontal strobe”. In the vertical strobe mode, information is addressed to the display by selecting a single
row at a time, energizing the appropriate LED(s) in that row and proceeding to the next row. In the horizontal
strobe mode, a single column is chosen at a time [2]
Figure. 6 Dot Matrix Display
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 34 | Page
IV. Software Design & Analysis
4.1 Assembly Language Program
. "Assembly language" and "assembler" are two different notions. The first represents a set of rules used in
writing a program for a microcontroller, and the other is a program on the personal computer which translates
assembly language into a language of zeros and ones. A program that is translated into "zeros" and "ones" is
also called "machine language"
4.2 Representation of numbers in assembly Language
In assembly language MPLAB, numbers can be represented in decimal, hexadecimal or binary form.
Table 1: Representation of Numbers in Assembly Language
Instruction Format Numerical Class
.240 Decimal
0Xf0 Hexadecimal
b'11110000' Binary
Decimal numbers start with a dot, hexadecimal with 0x, and binary start with b with the number itself
under quotes.
4.3 Instruction Set Description Of PIC16series Microcontroller
The Microcontroller is not like any other integrated circuit. In order to "make" a microcontroller
perform a task, it has to be told exactly what to do, in other words we must write the program that the
microcontroller will execute. This contains instructions, which make up the assembler or lower-level program
language for PIC microcontrollers. [6]
Letters are used to represent the following parts of the instruction.
w = working register
k = Literal data, constant or variable
f = file registers
d = destination bit
b = bit position in 'f' register
4.4 The Character Map Design
The character map describes or defines the look of each character that will be displayed on the dot matrix. We
have;
Table 2: Dot Matrix Display Character Map
Figure. 7 Dot Matrix Display
4.5 Flow Chart Design
The Flow Chart of the Assembly code is shown below.
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 35 | Page
Implementation of an Improved Microcontroller Based Moving Message Display System
DOI: 10.9790/1676-10132736 www.iosrjournals.org 36 | Page
Figure 7: Flow Chart of the Assembly code.
V. Conclusion
A Moving Message Display system has been designed, analysed and implemented. The completed
system was able to display the message of. text containing 23 characters (i.e., GREAT DEPT. OF ELECT.
ENGRG) The system would be found useful in applications which require information to be displayed in a
legible and intelligible form such as in Restaurants, Banks, Museums, etc. Its benefits cannot be over-
emphasized in these days of technological advancements; however, this system design could be further
improved on. On this ground, the following recommendations could be considered; A solar panel could be
added to outdoor models to provide constant power supply to the system. and a Radio frequency transmitter and
receiver module could be added to the system to send the information to be displayed wirelessly from a remote
computer.
References
[1]. Fahmy, F. H., Sadek, S. M., Ahamed, N. M., Zahran, M. B. and Nafeh, A. A., Microcontroller-Based Moving Message Display
powered by Photovoltaic Energy In: International Conference on Renewable Energies and Power Quality, Spain .2010 [Online],
Available: http://www.icrepq.com/icrepq'10/726-Sadek. pdf[ visited 2010, July 1]
[2]. Gupta, J.B., A Course in Electronics and Electrical measurements and instrumentation (13th
Edition, S.K.kataria &Son, inc, New
Delhi, 2008)
[3]. PIC Microcontroller. [Online] Available: http://en.wikipedia.org/wiki/PIC Microcontroller
[4]. CD4017B Data Sheet (1999). [Online] Available: http://www.datasheetsdir.com/cd4017+download [visited 2010, July1]
[5]. Mmom, W. ,Design of Wireless Bulletin Board, Final year Electrical Engineering Project, Faculty of Engineering, Federal
University of Technology, Owerri, Nigeria, 2008.
[6]. Neboja, M., The PIC Microcontroller Book 1( Microchip Technology, Inc., USA, pp. 1 – 600. 2003)
[7]. Neamen, D. A., Electronic Circuit Analysis and Design ( 2nd
Edition, McGraw-Hill, Inc., New York.,2001)
[8]. Boylestad, R. L. and Nashelsky, L.,Electronic Devices and Circuit Theory ( 7th
Edition, Prentice-Hall Publications, Inc., New Jersey
1999).
[9]. Bob-Manuel, K. D. H. ,Technical Report Writing for Students, Engineers and Scientists (1st
Edition, VoTex Publications, Inc., Port-
Harcourt. 2003)
[10]. Wikipedia. [Online] Available: http://en.wikipedia.org/wiki [visited 2010, July 1.

Contenu connexe

Tendances

Network Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerNetwork Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerCSCJournals
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemRkrishna Mishra
 
Development of Distributed Mains Monitoring and Switching System for Indus Co...
Development of Distributed Mains Monitoring and Switching System for Indus Co...Development of Distributed Mains Monitoring and Switching System for Indus Co...
Development of Distributed Mains Monitoring and Switching System for Indus Co...iosrjce
 
TFT LCD Module Display Manufacturer
TFT LCD Module Display ManufacturerTFT LCD Module Display Manufacturer
TFT LCD Module Display ManufacturerKeatonParker2
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Alexander Decker
 
embedded systems and robotics on avr platform
embedded systems and robotics on avr platformembedded systems and robotics on avr platform
embedded systems and robotics on avr platformNeha Sharma
 
Tft touch screen manufacturers
Tft touch screen manufacturersTft touch screen manufacturers
Tft touch screen manufacturersKeatonParker2
 
Application of Microcontroller in Transmitter Section of Wireless System
Application of Microcontroller in Transmitter Section of Wireless SystemApplication of Microcontroller in Transmitter Section of Wireless System
Application of Microcontroller in Transmitter Section of Wireless Systemijceronline
 
Implementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interfaceImplementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interfaceeSAT Publishing House
 
Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.Abee Sharma
 
Thesis on Solar Based Hecto Robotic Vehicle
Thesis on Solar Based Hecto Robotic VehicleThesis on Solar Based Hecto Robotic Vehicle
Thesis on Solar Based Hecto Robotic VehicleAkhil Reddy Rondla
 

Tendances (16)

Embedded two mark question
Embedded two mark questionEmbedded two mark question
Embedded two mark question
 
Ju2416921695
Ju2416921695Ju2416921695
Ju2416921695
 
Report (2)
Report (2)Report (2)
Report (2)
 
Network Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerNetwork Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC Microcontroller
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded System
 
Development of Distributed Mains Monitoring and Switching System for Indus Co...
Development of Distributed Mains Monitoring and Switching System for Indus Co...Development of Distributed Mains Monitoring and Switching System for Indus Co...
Development of Distributed Mains Monitoring and Switching System for Indus Co...
 
TFT LCD Module Display Manufacturer
TFT LCD Module Display ManufacturerTFT LCD Module Display Manufacturer
TFT LCD Module Display Manufacturer
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...
 
Es 2 mark
Es 2 markEs 2 mark
Es 2 mark
 
embedded systems and robotics on avr platform
embedded systems and robotics on avr platformembedded systems and robotics on avr platform
embedded systems and robotics on avr platform
 
Tft touch screen manufacturers
Tft touch screen manufacturersTft touch screen manufacturers
Tft touch screen manufacturers
 
Application of Microcontroller in Transmitter Section of Wireless System
Application of Microcontroller in Transmitter Section of Wireless SystemApplication of Microcontroller in Transmitter Section of Wireless System
Application of Microcontroller in Transmitter Section of Wireless System
 
Implementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interfaceImplementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interface
 
Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.
 
project 3 full report
project 3 full reportproject 3 full report
project 3 full report
 
Thesis on Solar Based Hecto Robotic Vehicle
Thesis on Solar Based Hecto Robotic VehicleThesis on Solar Based Hecto Robotic Vehicle
Thesis on Solar Based Hecto Robotic Vehicle
 

En vedette

En vedette (20)

I010235966
I010235966I010235966
I010235966
 
E1303041923
E1303041923E1303041923
E1303041923
 
B1804010610
B1804010610B1804010610
B1804010610
 
H012134550
H012134550H012134550
H012134550
 
B010320711
B010320711B010320711
B010320711
 
G013154045
G013154045G013154045
G013154045
 
E010313141
E010313141E010313141
E010313141
 
H012544751
H012544751H012544751
H012544751
 
A0560106
A0560106A0560106
A0560106
 
N010617783
N010617783N010617783
N010617783
 
A010240107
A010240107A010240107
A010240107
 
L012137992
L012137992L012137992
L012137992
 
F1803063236
F1803063236F1803063236
F1803063236
 
H010235358
H010235358H010235358
H010235358
 
K010126874
K010126874K010126874
K010126874
 
H012214651
H012214651H012214651
H012214651
 
G017264447
G017264447G017264447
G017264447
 
Numerical Solution for the Design of a Traditional Aerospike Nozzle using Met...
Numerical Solution for the Design of a Traditional Aerospike Nozzle using Met...Numerical Solution for the Design of a Traditional Aerospike Nozzle using Met...
Numerical Solution for the Design of a Traditional Aerospike Nozzle using Met...
 
Practical Investigation of the Environmental Hazards of Idle Time and Speed o...
Practical Investigation of the Environmental Hazards of Idle Time and Speed o...Practical Investigation of the Environmental Hazards of Idle Time and Speed o...
Practical Investigation of the Environmental Hazards of Idle Time and Speed o...
 
Design, Construction and Operation of a 4-Bit Counting Circuit
Design, Construction and Operation of a 4-Bit Counting CircuitDesign, Construction and Operation of a 4-Bit Counting Circuit
Design, Construction and Operation of a 4-Bit Counting Circuit
 

Similaire à Implementation of an Improved Microcontroller Based Moving Message Display System

Ijeee 33-36-surveillance system for coal mines based on wireless sensor network
Ijeee 33-36-surveillance system for coal mines based on wireless sensor networkIjeee 33-36-surveillance system for coal mines based on wireless sensor network
Ijeee 33-36-surveillance system for coal mines based on wireless sensor networkKumar Goud
 
IRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can ProtocolIRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can ProtocolIRJET Journal
 
IRJET- Explosive Ordinanace Disposal Robot
IRJET- Explosive Ordinanace Disposal RobotIRJET- Explosive Ordinanace Disposal Robot
IRJET- Explosive Ordinanace Disposal RobotIRJET Journal
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project reportkaushal chaubey
 
Real-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for IndustryReal-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for Industryijsrd.com
 
Remote Monitoring System for Solar Inverters
Remote Monitoring System for Solar InvertersRemote Monitoring System for Solar Inverters
Remote Monitoring System for Solar InvertersIRJET Journal
 
Ijater 03 06
Ijater 03 06Ijater 03 06
Ijater 03 06nandhu458
 
IRJET- Android based Home Automation System with Power Optimization Modes
IRJET-  	  Android based Home Automation System with Power Optimization ModesIRJET-  	  Android based Home Automation System with Power Optimization Modes
IRJET- Android based Home Automation System with Power Optimization ModesIRJET Journal
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfidSaurabh Uniyal
 
Monitoring and Control System for Building Application Using Modbus Remote Te...
Monitoring and Control System for Building Application Using Modbus Remote Te...Monitoring and Control System for Building Application Using Modbus Remote Te...
Monitoring and Control System for Building Application Using Modbus Remote Te...IJITCA Journal
 
Touchpad Monitored Car
Touchpad Monitored Car Touchpad Monitored Car
Touchpad Monitored Car IOSR Journals
 
Touchpad Monitored Car
Touchpad Monitored CarTouchpad Monitored Car
Touchpad Monitored CarIOSR Journals
 
intelligent braking system report
intelligent braking system reportintelligent braking system report
intelligent braking system reportSumit Kumar
 
Embedded systems presentation
Embedded systems presentationEmbedded systems presentation
Embedded systems presentationSurender Singh
 
Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...
Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...
Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...IRJET Journal
 
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerDesigning and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerIRJET Journal
 
IRJET- Note to Coin Converter using Digital Image Correlation Technique i...
IRJET-  	  Note to Coin Converter using Digital Image Correlation Technique i...IRJET-  	  Note to Coin Converter using Digital Image Correlation Technique i...
IRJET- Note to Coin Converter using Digital Image Correlation Technique i...IRJET Journal
 
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...IRJET Journal
 

Similaire à Implementation of an Improved Microcontroller Based Moving Message Display System (20)

Ijeee 33-36-surveillance system for coal mines based on wireless sensor network
Ijeee 33-36-surveillance system for coal mines based on wireless sensor networkIjeee 33-36-surveillance system for coal mines based on wireless sensor network
Ijeee 33-36-surveillance system for coal mines based on wireless sensor network
 
IRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can ProtocolIRJET- Patient Health Monitoring System using Can Protocol
IRJET- Patient Health Monitoring System using Can Protocol
 
IRJET- Explosive Ordinanace Disposal Robot
IRJET- Explosive Ordinanace Disposal RobotIRJET- Explosive Ordinanace Disposal Robot
IRJET- Explosive Ordinanace Disposal Robot
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
Real-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for IndustryReal-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for Industry
 
Remote Monitoring System for Solar Inverters
Remote Monitoring System for Solar InvertersRemote Monitoring System for Solar Inverters
Remote Monitoring System for Solar Inverters
 
Ijater 03 06
Ijater 03 06Ijater 03 06
Ijater 03 06
 
IRJET- Android based Home Automation System with Power Optimization Modes
IRJET-  	  Android based Home Automation System with Power Optimization ModesIRJET-  	  Android based Home Automation System with Power Optimization Modes
IRJET- Android based Home Automation System with Power Optimization Modes
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
 
Monitoring and Control System for Building Application Using Modbus Remote Te...
Monitoring and Control System for Building Application Using Modbus Remote Te...Monitoring and Control System for Building Application Using Modbus Remote Te...
Monitoring and Control System for Building Application Using Modbus Remote Te...
 
Touchpad Monitored Car
Touchpad Monitored Car Touchpad Monitored Car
Touchpad Monitored Car
 
Touchpad Monitored Car
Touchpad Monitored CarTouchpad Monitored Car
Touchpad Monitored Car
 
intelligent braking system report
intelligent braking system reportintelligent braking system report
intelligent braking system report
 
Embedded systems presentation
Embedded systems presentationEmbedded systems presentation
Embedded systems presentation
 
Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...
Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...
Modeling & Design of Dtmf Technique Based Automatic Mobile Switching & Contro...
 
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerDesigning and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
 
K010137378
K010137378K010137378
K010137378
 
IRJET- Note to Coin Converter using Digital Image Correlation Technique i...
IRJET-  	  Note to Coin Converter using Digital Image Correlation Technique i...IRJET-  	  Note to Coin Converter using Digital Image Correlation Technique i...
IRJET- Note to Coin Converter using Digital Image Correlation Technique i...
 
E044081720
E044081720E044081720
E044081720
 
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
IRJET- CAN based Data Acquisition and Data Logging System for Vehicular Commu...
 

Plus de IOSR Journals (20)

A011140104
A011140104A011140104
A011140104
 
M0111397100
M0111397100M0111397100
M0111397100
 
L011138596
L011138596L011138596
L011138596
 
K011138084
K011138084K011138084
K011138084
 
J011137479
J011137479J011137479
J011137479
 
I011136673
I011136673I011136673
I011136673
 
G011134454
G011134454G011134454
G011134454
 
H011135565
H011135565H011135565
H011135565
 
F011134043
F011134043F011134043
F011134043
 
E011133639
E011133639E011133639
E011133639
 
D011132635
D011132635D011132635
D011132635
 
C011131925
C011131925C011131925
C011131925
 
B011130918
B011130918B011130918
B011130918
 
A011130108
A011130108A011130108
A011130108
 
I011125160
I011125160I011125160
I011125160
 
H011124050
H011124050H011124050
H011124050
 
G011123539
G011123539G011123539
G011123539
 
F011123134
F011123134F011123134
F011123134
 
E011122530
E011122530E011122530
E011122530
 
D011121524
D011121524D011121524
D011121524
 

Dernier

signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsapna80328
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfNainaShrivastava14
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 

Dernier (20)

signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveying
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 

Implementation of an Improved Microcontroller Based Moving Message Display System

  • 1. IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-ISSN: 2278-1676,p-ISSN: 2320-3331, Volume 10, Issue 1 Ver. III (Jan – Feb. 2015), PP 27-36 www.iosrjournals.org DOI: 10.9790/1676-10132736 www.iosrjournals.org 27 | Page Implementation of an Improved Microcontroller Based Moving Message Display System Bakare B. I1 and Odeyemi F. M2 1,2 (Department of Electrical/Computer Engineering Rivers State University of Science and Technology , Port Harcourt, Nigeria) Abstract: The implementation of a Light Emitting Diodes (LEDs) dot matrix moving message display system which show a text containing 23 characters (i.e., GREAT DEPT. OF ELECT. ENGRG) is achieved in this work using a PIC16F648A Microcontroller, The microcontroller is programmed using Assembly language, with MPLAB software and a PIC Programmer .The LEDs are controlled by signals from the microcontroller and decade counters in a sequential manner which results in the moving message. In this work, we make use of a 49*8 dot matrix display made up of 392 low power Light Emitting Diodes (LEDs). The connection is done in such a way that the cathodes of all the LEDs on a particular column are connected together while the anodes of all the LEDs on a particular row are also connected together. This gives each row and column a separate line and allows the LEDs on each of these rows or columns to be powered by the same line. A limiting resistor for the eight (8) output lines of the microcontroller to the LEDs on the dot matrix is used. and a dynamic display scheme is also employed.. In this system, the LEDs is not lit continuously but is sequentially lit by scanning in a “vertical strobe” or “horizontal strobe”. In the vertical strobe mode, information is addressed to the display by selecting a single row at a time, energizing the appropriate LED(s) in that row and proceeding to the next row. In the horizontal strobe mode, a single column is chosen at a time The dynamic display scheme employed in this work helped to improved the brightness of the display and also save energy consumed by the hardware . Keywords: Decade counter, Flow-chat , LED Display ,Microcontroller ,Programming. I. Introduction The use of Light Emitting Diodes (LEDs) dot matrix for creating a text display system is quite common with its usage expanding greatly in recent time. Such displays can be found in airports, where they are used to display flight information, in stock exchanges and banks to display share prices and exchange rate respectively. The wide usage of LED displays is as a result of its ability to convey information to large audiences quickly and efficiently. As LED displays are often controlled by digital technology the information can swiftly and easily be updated. This feature of LED displays has led to a great flexibility of such products in countless applications. An additional benefit of using this form of display is that LEDs are a very efficient form of illumination. Unlike incandescent bulbs, LEDs do not generate a large amount of wasted energy in the form of heat. [1] This paper, therefore, presents the design and implementation of a moving message display system using Light emitting diode (LED) dot matrix display and a microcontroller with the following objectives:  Designing and realizing the moving message display panel.  Using a PIC Microcontroller to input, store, control and display the data for the message characters on a dot matrix. The figure below is the Building blocks diagram of a Moving Message Display System. Figure. 1: Block diagram of a moving message display system
  • 2. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 28 | Page 1.1 Power Supply Unit In order to operate the system, Power. Supply is required as shown in figure 1 . The mode of application of such power will form the basis for the design of the power supply unit and it’s characteristic. A dc Power Supply is needed to power the microcontroller and all the other modules . 1.2 Control Circuit The microcontroller is the brain behind the moving message display system. It is the meeting point for all the other units. The microcontroller controls the decade counters and the rows of the dot matrix display to produce the desired alphanumeric character. 1.3 Counting Unit In this unit, the decade counter is used. it produces the shifting action of the alphanumeric characters on the dot matrix display. 1.4 Display Unit The display unit makes use of dot matrix to display information. The light emitting diodes are arranged properly to make an array of rows and columns [2] II. Materials And Methods In the implementation of this work, certain logical steps were taken into consideration in determining the hardware components. These steps followed the model of the design. Other necessary support components were identified. The detailed circuit diagram is shown in Fig. 2 and Fig. 3. Figure 2: Detailed Circuit Diagram of Moving Message Display System. Figure 3: Power Supply Circuit 2 4 7 10 1 5 6 9 15 14 13 11 3 2 4 7 10 1 5 6 9 15 14 13 11 3 2 4 7 10 1 5 6 9 14 13 11 3 2 4 7 10 1 5 6 9 15 14 13 11 3 2 4 7 10 1 5 6 9 15 14 13 11 3 2 4 7 10 1 5 6 9 15 14 13 11 3 2 4 7 10 1 5 6 9 15 14 13 11 3 1 2 3 4 5 6 7 7408 14 13 12 11 10 9 8 1 2 3 4 5 6 7 7408 14 13 12 11 10 9 8 4017 4017 4017 4017 4017 4017 4017 10 11 12 13 14 15 16 17 18 9 8 7 6 5 4 3 2 1 4 MHz30pf GND Vcc Vcc Vcc ToR8 ToR7 ToR6 ToR5 1k 1k 1k 1k1k 1k 1k 1k ToR1 ToR2 ToR3 ToR4 PIC 16F 648 To col um n1 To colu mn 2 To colu mn 3 To colu mn 4 To colu mn 5 To colu mn 6 To colu mn 7 To colu mn 8 To col um n9 To colu mn 10 To colu mn 11 To colu mn 12 To colu mn 13 To colu mn 14 To colu mn 15 To colu mn 16 To col um n 17 To colu mn 18 To colu mn 19 To colu mn 20 To colu mn 21 To colu mn 22 To colu mn 23 To colu mn 24 To col um n 25 To colu mn 26 To colu mn 27 To colu mn 28 To colu mn 29 To colu mn 30 To colu mn 31 To colu mn 32 To col um n 33 To colu mn 34 To colu mn 35 To colu mn 36 To colu mn 37 To colu mn 38 To colu mn 39 To colu mn 40 To colu mn 41 To colu mn 42 To colu mn 43 To colu mn 44 To colu mn 45 To colu mn 46 To colu mn 47 To col um n 48 Spa re 15 1k 1k 30pf
  • 3. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 29 | Page 2.1 Working Principle: The microcontroller used is the PIC16F648A shown in fig. 4. It comes with a wide variety of special features which makes it useful for a wide range of applications. The features are;  It has a maximum frequency of operation of 20MHz  It has 4096 words of flash program memory  It has 256 bytes of RAM Data memory it has 256 bytes of EEPROM Data memory  3 timer module- TMRO, TMRI, TMR2  2 comparators  USART  Internal voltage reference  10 interrupt sources  16 1/0 pins  Voltage range of 2.0 – 5.5 volts  Comes in an 18-pin dual- in-line package (DIP)  Stand – by current – 100nA (a) 2.0v, typical  Operating current - 12A (a) 32KHz , 2.0V, typical - 120A (a)1MHz , 2.0V, typical  Watching timer current - 1A (a) 2.0V, typical  Timer 1 oscillator current - 1.2A (a) 32KHz, 2.0V, typical  Dual speed internal oscillator Run- time selectable b/w 4MHz and 3.7KHz  4s wake-up from sleep, 3.0V, typical Pins 1 and 2 (i.e VREF & CMPI) are connected in a pull up manner to VCC through 1k resistors while pin 3 is not used. Pin 4 is connected directly to VCC. Pin 5 goes to ground. Pin 6 through 13 are input/output pins. In this project, they function as output pins that carry the code data in term of Os (zero) and 1s (ones) from the microcontroller and pass these signals to the 8 rows of the dot matrix display. Pin 14 goes to VCC. Pins 15 and 16 are connected to an external oscillator (4MHz) that controls the timing sequence of the microcontroller’s operation. Pin 7 is connected to pin 14 of the 1st 4017 decade counter. It activates the clocking of the 1st decade counter. [3],[4] Pin 18 is connected to ground. Figure 4: Pin Configuration of PIC16F648A 2.2 Peripheral Features: • 16 I/O pins with individual direction control • High current sink/source for direct LED drive • Analogue comparator module with: - Two analogue comparators - Programmable on-chip voltage reference (VREF) module - Selectable internal or external reference - Comparator outputs are externally accessible • Timer0: 8-bit timer/counter with 8-bit programmable prescaler • Timer1: 16-bit timer/counter with external crystal/ clock capability • Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler • Capture, Compare, PWM module - 16-bit Capture/Compare
  • 4. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 30 | Page - 10-bit PWM • Addressable Universal Synchronous/Asynchronous Receiver/Transmitter USART For the CPU to execute an instruction, it takes a certain number of clock cycles. The frequency of the crystal connected to the PIC16FXX family varies from 4MHz to 37MHz, depending on the chip rating.[3], [4] III. Hardware Design And Analysis 3.1 Size Of Transformer  peakVrVmViVCC  (1) Where voltagerectified DC V  . .max 1 voltageripplepeakVr voltageCAimumorpeakVm recgulatorCtoinputVi    But, Vr (peak) =  smrVr ..3 (2) Where, Vr (r.m.s) is the root mean square value of the ripple voltage. The rectified signal, fc CAsmrVr 34 . 1 )..(  (3) Where f = frequency in Hertz C = filter capacitor To maintain regulation Vr (peak)  Vm - Vi (min) (4) For IC regulator 7805: Vi (min) = 7.5v From equation (4), for regulation to be maintained, then: Vm  Vi (min) (5) For the choice of transformer Vm = 12v Also, ID.C = 0.62 IA.C (6) Were 1 D.C is the total dc load in amperes drawn by the display circuit at which regulation is to be maintained. IA.C is the A.C current capacity of the transform From eqn 6 IA.C = 62.0 .CDI (7) Now, for the message display circuit, total bad in amperes is given as mA mCD I CA I 242 62.0 150 62.0 . .   Hence, the current size or capacity of the transformer should be mAI CA 242.  Let mAI CA 300.  Also, Since 12  7.5, equations (4) and (5) are satisfied, hence; regulation is possible Therefore, the size of transformer is 240v/12v, 300mA, 50Hz A.C [5]
  • 5. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 31 | Page 3.2 Size of Filter Capacitor Using equation (3)   fc smrVr CD 34 1 .. .   smrfVr C CD ..34 1 1 .  (8) From equation (2):    smrVrpeakVr ..3     3 .. peakVr smrVr  (9) Putting equation (9) into (8)  peakfVr I C CD 34 3 1 .   peak CD fVr I C 4 1 .  Where f = 50Hz  peak CD Vr I C 200 1 .   peak CD Vr I C . 3 105 1    (10) Now, from equation (4)    minViVmpeakVr  Where   vVivVm 5.7min;12    VViVm 5.47512min  Hence,   vpeakVr 5.4 Let   vpeakVr 7.0 But mAI CD 150.  7.0 150105 1 3 m C    7.0 105.7 4   f f 1051 1005.1 3    Choosing closest standard value, fC 10001  With fC 10001    C I V CD peakr . 3 105    1000 150105 3 m  
  • 6. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 32 | Page v75.0 Hence,    peakVrVmVi min 75.012 V25.11 Since 11.25 > 7.5v, the regulation is very possible. Now, the maximum operating voltage Vw of the capacitor C1 is given by Vw = 1.4 VD.C (11) Where  peakrCD VVmViV . 25.1175.012  25.1114 Vw v75.15 Let vVw 16 Thus, the size of the filter capacitor is vfC 16,10001  3.3 Voltage Regulation The output voltage of the power supply unit is regulated by means of a positive IC voltage regulator: 7805 For regulation to be maintained:    peakVrVmVi min Where  minVi is the minimum input voltage to the IC voltage regulator. For 7805   cdvVout cdvVi .5 .5.7min   Thus; to maintain the regulated +5v dc supply from the output of the IC regulator 7805,   vVi 5.7min  Now, ;12vVm    vV peakr 75.0   vVi 25.1175.012min  Hence, since + 11.25 > +7.5v, regulation is possible. Thus, a regulated output of +15v d.c is supplied to the moving message display by the power supply unit. 3.4 Limiting Resistance For Power Indicator Led 1 The power indicator LED1 is used to indicate when power is supplied to the circuit. A green LED is used. Figure 5: Power Supply Unit LED and limiting resistance.
  • 7. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 33 | Page L D I V R 7.1 1   Where mAIVV LD 22,25.11  m R 22 7.125.11 1    1.434 Let  4701R In summary, the list of rated components value for the power supply unit is as follows:  Transformer = 240v / 12v, 300mA, 50Hz A.C  D1− D4 = 1N4001  C1 = 1000f, 16v  IC Regulator = 7805  LED1 = Green  Battery = 9v d.c 3.5 Dot Matrix Display In this work, we make use of a 49*8 dot matrix display made up of 392 low power Light Emitting Diodes (LEDs). The connection is done such that the cathodes of all the LEDs on a particular column are connected together while the anodes of all the LEDs on a particular row are also connected together. This gives each row and column a separate line and allows the LEDs on each of these rows or columns to be powered by the same line. The various alphanumeric characters are displayed by lighting up the LED(s) located in specific positions in the array. For better brightness of display and economy in hardware, a dynamic display scheme is used. In this scheme, the LEDs are not lit continuously but are sequentially lit by scanning in a “vertical strobe” or “horizontal strobe”. In the vertical strobe mode, information is addressed to the display by selecting a single row at a time, energizing the appropriate LED(s) in that row and proceeding to the next row. In the horizontal strobe mode, a single column is chosen at a time [2] Figure. 6 Dot Matrix Display
  • 8. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 34 | Page IV. Software Design & Analysis 4.1 Assembly Language Program . "Assembly language" and "assembler" are two different notions. The first represents a set of rules used in writing a program for a microcontroller, and the other is a program on the personal computer which translates assembly language into a language of zeros and ones. A program that is translated into "zeros" and "ones" is also called "machine language" 4.2 Representation of numbers in assembly Language In assembly language MPLAB, numbers can be represented in decimal, hexadecimal or binary form. Table 1: Representation of Numbers in Assembly Language Instruction Format Numerical Class .240 Decimal 0Xf0 Hexadecimal b'11110000' Binary Decimal numbers start with a dot, hexadecimal with 0x, and binary start with b with the number itself under quotes. 4.3 Instruction Set Description Of PIC16series Microcontroller The Microcontroller is not like any other integrated circuit. In order to "make" a microcontroller perform a task, it has to be told exactly what to do, in other words we must write the program that the microcontroller will execute. This contains instructions, which make up the assembler or lower-level program language for PIC microcontrollers. [6] Letters are used to represent the following parts of the instruction. w = working register k = Literal data, constant or variable f = file registers d = destination bit b = bit position in 'f' register 4.4 The Character Map Design The character map describes or defines the look of each character that will be displayed on the dot matrix. We have; Table 2: Dot Matrix Display Character Map Figure. 7 Dot Matrix Display 4.5 Flow Chart Design The Flow Chart of the Assembly code is shown below.
  • 9. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 35 | Page
  • 10. Implementation of an Improved Microcontroller Based Moving Message Display System DOI: 10.9790/1676-10132736 www.iosrjournals.org 36 | Page Figure 7: Flow Chart of the Assembly code. V. Conclusion A Moving Message Display system has been designed, analysed and implemented. The completed system was able to display the message of. text containing 23 characters (i.e., GREAT DEPT. OF ELECT. ENGRG) The system would be found useful in applications which require information to be displayed in a legible and intelligible form such as in Restaurants, Banks, Museums, etc. Its benefits cannot be over- emphasized in these days of technological advancements; however, this system design could be further improved on. On this ground, the following recommendations could be considered; A solar panel could be added to outdoor models to provide constant power supply to the system. and a Radio frequency transmitter and receiver module could be added to the system to send the information to be displayed wirelessly from a remote computer. References [1]. Fahmy, F. H., Sadek, S. M., Ahamed, N. M., Zahran, M. B. and Nafeh, A. A., Microcontroller-Based Moving Message Display powered by Photovoltaic Energy In: International Conference on Renewable Energies and Power Quality, Spain .2010 [Online], Available: http://www.icrepq.com/icrepq'10/726-Sadek. pdf[ visited 2010, July 1] [2]. Gupta, J.B., A Course in Electronics and Electrical measurements and instrumentation (13th Edition, S.K.kataria &Son, inc, New Delhi, 2008) [3]. PIC Microcontroller. [Online] Available: http://en.wikipedia.org/wiki/PIC Microcontroller [4]. CD4017B Data Sheet (1999). [Online] Available: http://www.datasheetsdir.com/cd4017+download [visited 2010, July1] [5]. Mmom, W. ,Design of Wireless Bulletin Board, Final year Electrical Engineering Project, Faculty of Engineering, Federal University of Technology, Owerri, Nigeria, 2008. [6]. Neboja, M., The PIC Microcontroller Book 1( Microchip Technology, Inc., USA, pp. 1 – 600. 2003) [7]. Neamen, D. A., Electronic Circuit Analysis and Design ( 2nd Edition, McGraw-Hill, Inc., New York.,2001) [8]. Boylestad, R. L. and Nashelsky, L.,Electronic Devices and Circuit Theory ( 7th Edition, Prentice-Hall Publications, Inc., New Jersey 1999). [9]. Bob-Manuel, K. D. H. ,Technical Report Writing for Students, Engineers and Scientists (1st Edition, VoTex Publications, Inc., Port- Harcourt. 2003) [10]. Wikipedia. [Online] Available: http://en.wikipedia.org/wiki [visited 2010, July 1.