Professional Documents
Culture Documents
BY
ENGINEERING TECHNOLOGY
JANUARY, 2022
i
DECLARATION
I hereby declare that this project was done by me OSIEBE EMUOBO SOLOMON.
Under the strict supervision of Engr Abubakar Bala, Department of Electrical Electronics
Engineering, Air Force Institute of Technology Kaduna. Authors whose work has been referred
to in this project are duly acknowledged.
---------------------------------------------------- Date-----------------------------
--------------------------------------------------- Date------------------------------
Abubakar Bala
Supervisor
ii
CERTIFICATION
This Project titled “Design and Construction of an Electronic Digital Display System” meets
the regulations governing the award of Higher National Diploma of Air Force Institute of
Technology, Kaduna, and is approved for its contribution to knowledge and literary presentation.
----------------------------------- Date---------------------------------------
Engr Abubakar Bala
Project Supervisor
------------------------------------
Date---------------------------------------
Engr. C. D. Bala
Project Coordinator
------------------------------------
Date---------------------------------------
Prof. V. O. Mathew
HOD, Department of Electrical
and Electronics Engineering
iii
ACKNOWLEDGEMENT
My profound gratitude goes to God Almighty for His infinite Mercy, Guidance and Blessings
throughout this period, May His Name Be Praised and Glorified Amen.
I thank my project supervisor Engr Abubakar Bala who demonstrated his intellectual ability in
supervision of the project work. I appreciate the management of Electrical Electronics
Engineering for all the support put in place to ensure a smooth and comfortable stay of students
in the department. A big thanks to my late father Mr. Declan O. Osiebe for all his love, kindness
and support before death called him. I also thank my beloved mother, my siblings, and my
friends who took out the time out of no-time to support me in one way or the other. I sincerely
appreciate all my classmates and my Mentor, Air Commodore David Aluku and his lovely wife
Air Commodore Mrs David Aluku for being there by me from the beginning. I also want to
sincerely appreciate Miss Ossai Chinaza Pamela for standing by me. God bless you all.
iv
DEDICATION
This project work is dedicated to the Almighty God who sustained me through this program and
to my families that always go on their knees praying for me all through this journey to God Be
the Glory.
v
Table of Contents
TITLE PAGE....................................................................................................................................i
DECLARATION.............................................................................................................................ii
CERTIFICATION..........................................................................................................................iii
ACKNOWLEDGEMENT..............................................................................................................iv
DEDICATION.................................................................................................................................v
ABSTRACT....................................................................................................................................x
CHAPTER ONE..............................................................................................................................1
1.0 INTRODUCTION............................................................................................................1
1.3 Aim....................................................................................................................................2
1.4 Objectives..........................................................................................................................2
CHAPTER TWO.............................................................................................................................4
CHAPTER THREE.........................................................................................................................9
3.0 METHODOLOGY............................................................................................................9
vi
3.2 Design Procedure..............................................................................................................9
3.6.1 Transistor................................................................................................................25
3.6.2 Resistor...................................................................................................................25
CHAPTER FOUR.........................................................................................................................27
4.1 Introduction.....................................................................................................................27
4.3 Construction....................................................................................................................29
4.6 Testing.............................................................................................................................32
4.8 Packaging........................................................................................................................33
CHAPTER FIVE...........................................................................................................................36
vii
5.0 SUMMARY, CONCLUSION AND RECOMMENDATION.......................................36
5.1 Summary.........................................................................................................................36
5.2 Conclusion......................................................................................................................36
5.3 Recommendation............................................................................................................37
REFERENCES..............................................................................................................................38
APPENDIX 1.................................................................................................................................40
APPENDIX II................................................................................................................................41
viii
LIST OF FIGURES
ix
x
LIST OF TABLES
TABLE 5: SHOWING THE BILL OF QUANTITY WITH RESPECT TO THE PRICE OF EACH COMPONENT. 35
xi
ABSTRACT
The aim of this project work is to design and construct an electronic digital display system base
on light emitting diodes connected in an array that forms the information to be displayed. The
idea of making advertisements more attractive and Powerful brought about the purpose of this
project moving message display. The message is designed to appear on the display screen. This
could be seen as improved over the previously mentioned advertisement method as the sensation
of appearing text gives more attention and leaves a longtime impact on the passerby. Therefore,
the moving message display will be using microcontroller of which the content of the message
will be changed via mobile phone technology. This design employed both the use of hardware
and software to bring about the entire projects. The hardware components are solely coordinated
by the atmega32 microcontroller chip why the C-programming language is used to program the
chips. T3he system consist of power supply unit, uses alternating current from the means which
will be stepped down to 12v using a step down transformer, rectified with Bridge rectifier, fitted
with the actual capacitor and regulated to 9v using an IC regulator.
xii
CHAPTER ONE
1.0 INTRODUCTION
a little modification as new added features. An LED display system is a display device used to
show information in many places i.e. institutions common hotels.com and plugs Business Centre
CTC requiring is simple device displaying of limited resolution (Edwin, 1998). The display
consist of LED is arranged in a matrix configuration such that by switching on or off selected
LED command text can be displayed. An LED display system control circuit convert instructions
from microcontroller into signal which turns on or off lights in the Matrix so that the required
display is producing (Bhutan, 2010). The traditional electronic moving message display need to
be reprogrammed anytime the content needs to be changed letter uses computer interface to
change the content only without reprogramming the chip (Mishra, 2000). The purpose of the
project is to modify the existing design by adding mobile phone technology to change the
content of the display via Bluetooth. This design employed the use of both hardware and
software to bring about the entire project. The hardware components are solely coordinated by
the microcontroller chip come on why the C programming language is used to program the
microcontroller chip.
boards static and moving message display system in case of emergency where there is need for
remote sending of information among the following problems are mainly encountered.
1
1. The time required to program the chief via interface cable before a message can be updated
can be tiring.
2. How to come up with a dynamic system which enabled the modification of cold easily and
faster.
3. How to display text in a convenient manner for the public with less stress.
4. There is need for notice board which takes the message from the sender through some wireless
1.3 Aim
This project is particularly aimed at the design and construction of an LED display
system using Bluetooth editing ability which will replace the currently used programmable
electronic display system. The device will be designed to receive messages to a Bluetooth model
and transfer it to the microcontroller for necessary code conversion after which the message is
1.4 Objectives
The following objectives are crucial in this project work.
II. To use mobile phone technology to update the initial text via Bluetooth with
Android app.
2
1.5 Significant of the Project
This project research resolved the problem of time delay and cost of manual design of
billboard for advertisement. This will ensure that viewers will get meaningful information that
will be displayed electronically using LED. It also provides a means to update messages
remotely using phone by just compose and send new content via Bluetooth to the display board.
Microcontroller based LED display system is used in electronic scoreboard during football
matches to display when a goal is scored or above all, this system has contributed a lot in
boosting advertisements.
based on Smartphone technology to change the content using phone via Bluetooth.
The features of the microcontroller were exploited to achieve the desired sequence of
3
CHAPTER TWO
cardboard or tarpaulin at stores/shops, streamers, and electronic display devices. But the advent
of new technologies made the information display in the form of an electronic display most
common nowadays especially in the world of advertisements and promotions (Julius, 2001). The
development of information display electronic based system has covered numerous technologies
since its beginnings. Cathode ray tube and other significant technologies such as a liquid crystal
device (LCD) and light emitting diodes (LED) displays have all played an important role in the
evolution of electronic display systems. Electronic display devices nowadays and mostly
controlled by a microcontroller and the semiconductor that gives out light like an LED has been
successive stage improved upon the preceding one (S Maller, 1910). Over the years, the neon
tube display sign board has replaced the traditional hand-writing advertisement, it uses neon gas
low pressure discharge tube shape in form of the latter required to be displayed. The discharge
tube command filled with new gas low pressure required high voltage to enable it glow. The
Major setback of this design was its size and weight particularly in displaying long messages. As
a result of the limitation, an electronic display system using sequentially switched incandescent
bulb was designed. The bulbs were arranged in form of letters to spell out the desired message.
4
The design uses less space to display the same message as compared with neon discharge lamp
King Lim Sheng (2007), did a project on Multi-level LED display system. The overall
design of this project is to display the information on the Matrix display system by using Visual
Basic software through peripheral interface controller (PIC) microcontroller. In his paper, he
describes that changing the content was done by reprogramming the microcontroller. In other
words, to refresh the memory and download a new source code into it. The main components in
this project are LED and microcontroller. Information is programmed into the PIC 18F877A
microcontroller and decoded it to enable all the ports from Port A to give bits to 48 LED in the
Huang Wei (2008), improves the LED display on how to use web-based remote control
as user interface to change the contents in the LED dot matrix display. User can send data and
control this LED panel using web browser. Web controller will generate a web page after
connection is established from the computer. Instructions will appear in the web page on how to
enter messages. These data will be transferred to the web controller via internet protocol. This
data will be transmitted using IR transmitter to the LED matrix display. The whole process is a
one-way signal transmission. Siti, Isolehah (2009), used mobile phone with GSM modem to send
text messages to user in her project. Smart Security Alert System via SMS.
AT89852 chip was used to interface with sensor, GSM module and the alert circuit.
Whenever there is sign of break in program AT89852 chip will send signal to the relay driver
circuit. The driver will operate the GSM modem in the mobile phone to send alert SMS to the
user and switch on the alarm. According to the previous studies shown, different methods of
5
Ezeoke (1993), designed and construction of light sequence for advertisement. The
design was such that the display system was in stages. It employed integrated circuit (IC's) 555
timers, decade counter, transistors as switching circuits and OR logic gate. The timing circuits
generated some pulses which were being counted and decoded by a counter/decoder. The signal
was sent to the logic circuit whose main function was to make each lamb stay ON as it counts
from the first to the last lamp. From the logic circuit, the signal was fed to the switching circuit
the ON and OFF switching will then be noticed on the display screen. The output of this system
displayed four character words each formed the pattern John Ezeoke ("WE ARE THE BEST").
At the end of the last words the whole Cycles horses are start all over again.
Onuora (2009) designed and constructed an LED display board which displayed running
message display was designed and constructed in 2009 by Chukwuemeka Onuora. The design
State University Uri". The project superseded the order because of its ability to move the
messages across the display screen. In addition to other components ROM unit, which operate a
message display modules are using wired entry via computer keyboard or remote control. This
paper presents an experiment to give a start to the area of real-time noticing. This paper discuss
about writing the message which is to be displayed in mobile phone and send it via Bluetooth
with android apps. The received message is fetched into microcontroller and after authentication
This project former focused on application of LED in graphic displays. Main target of
designed and manufactured system was its versatility. It was obtained by projecting similar
6
segments that one can merge at will. A simple clock with one segment or sophisticated display
for advertisement has been built. LED Matrices have been driven by 8-bit shift registers, which
and personal computer is over RS232 interface. This provides possibility to drive display over
TCP/IP protocol. The prototype of the display toolkit was efficiently designed. This prototype
has facilities to be integrated with a display system thus making it truly mobile. They toolkit
accept the SMS, stores it, validate it and then displays it in the LED system. The SMS is
validated each time it is read from the Bluetooth, thus making room for the next message.
Bluetooth with Android smart phone using ATMega32 microcontroller. The objective of this
project is to design and integrate the hardware and software that interface in the Atmega32
microcontroller with Bluetooth module. This system receives messages through Bluetooth. It
will check the authorization of the phone number and the microcontroller will convert the
message that will be displayed into LED format. As for this project, the method proposed is
sending messages using a mobile phone, received by Bluetooth and transmit the information to
the microcontroller. Lastly, information stored in the microcontroller will be displayed in the
LED display system. The microcontroller chip used is ATmega32 chips from ATMEL Company.
Compared to PIC microcontroller, Atmel chip is relatively bigger in size compared to the PIC
chips. Atmel chip has serial capability whereas PIC does not have this feature.
Serial Capability allows coding to be programmed into the Atmel chip using serial to
USB converter connects to the Arduino software where sketch uploads can be done. PIC chip
7
uses pipelining which the Atmel did not. Pipelining means every instruction in memory has to be
supermarket, offices, event centre, shops, train stations, banks, filling stations, marketplaces,
schools, lecture halls etc. It is used for advertisement, notification, signs and display of different
kind of information.
8
CHAPTER THREE
3.0 METHODOLOGY
hardware design or electronic using processor chip microcontroller and the second part is the C
programming for the firmware design and implementation full-stop each of the parts will be
designed and tested separately to ensure its fully working condition the hardware comprised of
the circuitry and the interfacing with processor chip korma by the software comprised of the
programming aspect for both firmware and the graphic user interface to stop finally the
integration of the parts to complete the project the Figure 1 and 2 showedthe typical block
project chapter three takes a look at the design factors and present them in an analytical form to
achieve a functional circuit. In the circuit, the Amega16 provides the 8-bit raw data. HC4017 is
9
used to select the column one by one. Now, for shifting the column position, a clock is provided
by the Atmega16 to the HC4017. On every clock, the column is shifted (from right to left in this
case). The diagram below illustrates the circuit diagram of LED message display system.
Junction, electrons and holes flows across the depletion region. If the semiconductor is a gallium
arsenide semiconductor a light or proton is given off as the electrons and holes recombine. The
diode current is directly proportional to the recombination value and hence the output light
10
Figure 3: Symbol of Light Emitting Diode
To drive an LED with 12V supply without any damage, we need to connect a resistor in series
with the LED. In electronics camera load current always plays an important role in a circuit
design. Here the load current is the current flowing through early day. Suppose, we need 20mA
current to flow through the LED for better brightness there for the load current is 20mA and
the required power consumption of the entire cycle. Considering the 25mA required by each IC
and the 5mA required by each of the light emitting diodes of each matrix display, then the total
current required is about 400mA, to cope with this a 500mA 12V transformer was chosen, the
choice of 12V transformer is in line with the voltage requirement of the integrated circuit and the
display unit.
11
Figure 4: Circuit Diagram of Power Supply
IN400I Diode was chosen to serve as the bridge for its ability to handle up to 1A effectively as
well as its high peak inverse voltage. The filtering capacity was also chosen based on the
following calculations since the maximum load current = 400mA a 1A current was used at 0 –
12V so that the possible maximum voltage is 12V. Therefore, a 330µF, 50v capacitor was
choosing, to provide voltage to the integrated circuits and display circuit respectively, a 12V
regulator (LM7812) and 5v regulator (LM7805) were display circuit respectively, the regulator
were selected to provide Vss and Vcc for the system when considering their parameters and
abilities. These were then connected as shown in figure 3.4 to provide the complete power
vibrating crystal of piezoelectric material to create an electrical signal with a very precise
frequency for stop this frequency is commonly used to keep track of time (quartz crystal), to
provide a stable clock signal for digital integrated circuits and to stabilize frequencies for radio
transmitters and receivers. The most common type of piezoelectric resonator used is the quartz
crystal, so oscillator circuit designed around them become known as “crystal oscillator”. The
quartz crystal used in a Quartz Crystal Oscillator is very small, thin piece of cut quartz with the
two parallel surfaces metalized to make the required electrical connections. The physical size and
12
thickness of a piece of quartz crystal is tightly controlled since it affects the final or fundamental
frequency”. For resonators, the maximum frequency is 8 MHz with CKOPT of unprogrammed
and 16 MHz with CKOPT programmed. C1 and C2 should always be equal for both crystals and
resonators. The optimal value of the capacitors depends on the crystal or resonators in use, the
13
3.3.4 Serial communication with Bluetooth module
The HC-05 Bluetooth module is a very cool module which can add two-way (full duplex)
wireless functionality to your projects. You can use this module to communicate between two
microcontrollers like Arduino or communicate with any device with Bluetooth functionality like
a Phone or Laptop. There are many Android applications that are already available which makes
this process a lot easier. The module communicates with the help of USART at 9600 baud rate as
it is easy to interface with any microcontroller that supports USART. We can also configure the
default values of the module by using the command mode. So if you are looking for a wireless
module that could transfer data from your computer or mobile phone to microcontroller or vice
versa then this module might be the right choice for you. However, do not expect this module to
transfer multimedia like photos or songs; you might have to look into the CSR8645 module for
that.
Range: <100m
14
Can operate in Master, Slave or Master/Slave mode
voltage
ground
data.
15
5 RX – Receiver Receiver Serial Data Every serial data given to
is working properly.
command Mode.
Data Mode
Data Mode
The HC-05 has two operating modes, one is the data mode in which it can send and
receive data from other Bluetooth devices and the other is the AT command mode where the
default device settings can be changed. We can operate the device in either of these two modes
by using the key pin as explained in the pin description. It is very easy to pair the HC-05 module
with microcontrollers because it operates using the Serial Port Protocol (SPP). Simply power the
16
module with +5v and connect the Rx pin of the module to the Tx of MCU and Tx pin of module
will be default enter into the data mode as soon as the module is powered you should be able to
discover the Bluetooth device as HC 05 then connect with it using the default password 1234 and
start communicating with it. The name password and other default parameters can be changed by
v. Wireless Robots
17
vi. Home Automation
Vagard RISC) architecture. Reduced instruction set computer is executing powerful instructions
in a single clock cycle, the ATmega32 achieves throughputs approaching 1 Million Instruction
Per Second (MIPS) per MHz, allowing the system designed to optimize power consumption
Input)
18
I/O)
Input)
Positive I/P)
Negative I/P)
Match Output)
slave.
for programming)
pin.
19
for programming)
for programming}
controller.
Low Reset
11 GND GROUND
oscillator
oscillator
20
USART Serial Communication
programming)
programming)
Pin
21
26 PC4(TDO) Pin 4 of PORTC
Converter
31 GND GROUND
Converter) Channel 7
Converter) Channel 6
Converter) Channel 5
Converter) Channel 4
Converter) Channel 3
22
Converter) Channel 2
Converter) Channel 1
Converter) Channel 0
The atmega32 AVR is supported with a full suite of program and system development rules
programmed to generate different patterns on these LEDs. The individual LED current is
summed up and a large current flow into the ground terminal. Let us consider each LED takes
20mA current, therefore eight LED is current = 7*20mA. A total of 140mA current sinks into the
grand terminal.
23
3.5 Constructing 5X7 Matrix Array
By using single array of LEDs, we can generate different types of patterns. Let us
suppose if we arrange the LED arrays side by side with multiplexing techniques, it is also
possible to generate letters, symbols, numbers and animations. The LED Dot Matrix can be
constructed by connecting all the anode terminals of LED’s together in each row and all the
thereby, serves as drivers that drive the data which has been transformed to different patterns of
display from the data bus of the chips to the display unit LED.
3.6.1 Transistor
Transistors are electronic devices that are used as amplifiers, oscillators, or switches in
control and computer systems. A transistor consists of small layers of silicon or germanium that
have been duped, or treated with impurity atoms, to create n-type and p-type semi-conductors.
24
Figure 11: Symbols of NPN and PNP Transistor
3.6.2 Resistor
A Resistor is a passive two-terminal electrical component that implements electrical
resistance as a circuit element. In electronic circuits, the main function of resistors is to control
the flow of current through the components. Take an LED (light) for example. If too much
current flows through an LED it is used to limit the current. Resistor is used to reduce current
flow, adjust signal levels, to divide voltages, bias active elements, and terminates transmission
line.
are connected to shift register (4017). Each column contains eight LED’s therefore the total
current flowing through the column is the sum of current flowing through in each LED. Let us
suppose the current flowing through each LED is 20mA and the total current is 8*20mA =
160mA. But the shift register is not capable to sink such a large current (160mA), therefore we
need a large current sinker (IC ULN 2003) which is capable to sink 500mA current.
25
Figure 13: ULN2003 IC and Pin Configuration
CHAPTER FOUR
4.1 Introduction
This chapter discussed the construction procedure and the objective of the Bluetooth used
LED moving message display (matrix) project and also with elaborate details of the various tests
of the program written and load into the chip. The Atmel studio C language source files carried
with IDE and generate the hex file. Atmel Studio IDE (Integrated Development Environment)
26
Figure 14: Snapshot of Software Design Structure using C-language
Atmel studio is the software used to generate the hex file after successfully complied.
Programmer device allows the transfer of hex programs to microcontrollers without difficulties
27
Figure 15: Snapshot of Universal Programmer (SP 300)
It is more reliable than most programmers and can program many chip from different
USB 2.0 interface is the communication port and supply to the programmer.
Standards 40Pin socket provided, applicable to wide/narrow chips and general adapters.
The diagram below shows the typical steps to transfer the code to the microcontroller units.
28
Figure 16: The Programming Process
4.3 Construction
The construction explains the various components that were involved and how they were
connected. As in all engineering design, after the paperwork (blueprints i.e. design, calculations
and analysis), selection of components was made which is the next step, for which it is based on
availability, reliability, and affordability of components. After components analysis the preferred
values were choosing. They were first tested to make sure that they are in good conditions. They
LM7805 IC. The power supply components were first connected on a breadboard the
arrangement was powered and tested with a digital multi-meter, which gave the desired voltage
of 5v. The Microcontroller ICs were mounted on ICs sockets the respective pins for connection
were checked from IC data sheet. Both the SIM800L GSM module and the various shift register
29
(4017) were also tested. Components were placed close to each other as much as possible to
minimize delays in data transfer and circuit complexity. The power supply, switches and displays
were all mounted on board with connecting wires being used for data connections.
were carried out to ensure that the circuit construction and the whole project we are functioning
properly according to specification and its objectives. The test employed for the project work
includes various tests like the static test and dynamic test.
done to ensure that the connections on the board we are properly made to avoid damage. This
properly. All the components were checked individually even after the components were
mounted on the breadboard to ensure that they are working properly. After soldering, continuity
30
check was carried out for the entire components with the help of multi-meter to ensure that all
power common it is also known as signal test. This form of test is carried out from the power
supply. A voltmeter is used to test the power supplying up to the appropriate point on the circuit
board and the voltage at every point according to specifications. Dynamic test comprised of
1 Power supply was tested from the 12v transformer The voltage was giving 12.5v
2 LM7805 voltage regulator, the regulator was used After the test, the output was giving
3 Voltage at the transistor was tested and has The output was giving 2v at the
4 Voltage at the 4017-shift register was tested and The output was giving 5v
5 VCC and GND was tested at the PIN 10 and PIN Using 5v based on the
11 manufacturer specification
31
4.5 Performance Evaluation
The performance of the LED moving message display provide satisfactory and is
4.6 Testing
Testing is a vital process in the development and realization of any design be it hardware
based software-based or both. The various components and their secretary have to be tested to
ensure that all the components on board as certified okay and in good working condition first up
the components that did not give the required output specification we are isolated and
troubleshoot to determine the nature and cause of the component failure just careful analysis that
Component Failures
Shorts Circuits
I had issues with better or correct result, which I desired. And also the software problem.
32
I also had some soldering issues which were resolved using continuity checks performed
on the hardware.
I started testing the circuit from the power supply. There we got over first trouble. After
getting 12V from the transformer it was not converted to 5V and the circuit received 9V
As the solder was shorted IC7805 got burnt. So I replaced the IC7805. Also the circuit
part around the IC7805 was completely damaged. With the help of the solder I made the
necessary paths.
Construction of the circuit like this needs patience and diligence. The act of soldering
must be mastered and judiciously applied. It requires absolute concentration. Little mistake could
jeopardize the operation of the circuit. And it is usually difficult when one does not have
4.8 Packaging
During the packaging of the system the size of the case was determined after the
The space for envisaging modification and easy accessibility to the board or maintenance
Consequently, aluminum casing was considered for packaging of the system. For this
project the packaging was done using aluminum due to its durability portability and availability.
With the aluminum packaging the positioning and screen of various circuit boards we are very
easy.
33
Figure 19: Pictorial View of the Complete Project
4.9 Bill of Quantity
The table below shows the list of components for components purchased and their
Table 5: Showing the Bill of Quantity With Respect to the Price of Each Component
34
13. LM 7805 voltage regulator 400 1 400
35
CHAPTER FIVE
5.1 Summary
The content of this project comprises of five chapters, chapter one is the introductory
chapter that gives the statement of problem, aims and objectives, significance and scope of the
project.
Chapter two discusses the detailed literature review of related works and developments in
the industry. It deliberates on different related works done by several authors with dates.It also
Chapter three discusses the design analysis, the practical system analysis based on what a
microcontroller LED display system will do when fully constructed and installed. Also discusses
all the information gathered from a wide research on microcontroller based LED display system,
data analysis, system design approaches, data flow arrangement and the system flowchart are
also discussed.
Chapter four presents the construction which involved the layout diagram, packaging and
Chapter five contains the power supply testing, discussion of results and conclusion
5.2 Conclusion
The objective of this project was achieved at the end of the construction field trip LED
information display is all about the distribution of information and entertainment in dot matrix
format usually including software that allows viewers to interact with text. Most forms of
36
information can be published electronically by way of Led information display. The advent of
microcontroller has made it easier for us to display information in this format in a unique way.
5.3 Recommendation
This project can further be improved to enable the contents to be changed over the
internet network and also to display calendar, date and time. Take for example if the project were
constructed to have an interface Wi-Fi for network control and change of contents. Other
recommendations may include providing backup power supply system for the system board in
37
REFERENCES
Bhuyan, M.H. (2010), Microcontroller Based Display System Design Using LED Array. Dhaka:
J.Lim and A. Oppenheim, (1998), Advanced Topics in Digital Processing, New Delhi: Prentice
Hall Limited.
Julius, W, (2001), Moduleing and feedback control of color-tunable LED Jighting system.
Mishra A.,,pp.45-56.
Langkos, S. (2014). Research methodology: data collection method and research tools.
Leedy and Ormrod.(2001). Difference between Quantitative and Qualitative data collection
method.Seminar presentation.
38
Vossen.(1999). Data Models, Database languages and Databasemanagement system. New
Wilson. (2005). Research into identifying effective learning environment.In K. Fishe, effective
39
APPENDIX 1
START
TRANSFER SIGNAL
SIGNAL FOUND
COMPUTE SIGNAL
DISPLAY SIGNAL
END
40
APPENDIX II
Main program
******************************************************************************
******************************************************************************
#defineF_CPU80000000000L
#include<avr/io.h>
#include<util/delay.h>
#include”MatrixFonts.h”
#defineDATA PORTB
#defineclk PD6
#defineRST0_4017 PC0
#defineRST1_4017 PC1
#defineRST2_4017 PC2
#defineRST3_4017 PC3
#defineRST4_4017 PC4
#defineRST5_4017 PC5
#defineRST6_4017 PC6
#defineRST7_4017 PC7
#defineCOLUNMS64
#defineSPEED200
voidUSARTInit(unit6_tubrr_value);
chargetch();
voidputch(chardata);
voidsend(char*str);
41
voidinit();
voiddelay_ms(unsignedintdelay)
for(delay=2000;delay>0;delay--);
voidclock(void)
PORTD|=(1<<clk);
delay_ms(2000);
PORTD&=~(1<<clk);
Delay_ms(2000);
voidSendChar(unsignedchartext){
unsignedcharx;
PortA&=~RST0_4017;
for(x=0;x<5;x++){
data=MyFont[(((text-0x20)*5)=x)];
clock();
PORTA|=RST0_4017;
voidMassage(unsignedchar*text)//char
volatileunsignedcharz;
42
volatileunsignedchari;
volatileunsignedchary;
volatileunsignedcharx;
unsignedcharcount;//char
unsignedchartmp;
//spaces = COlUNMS;
for(x=0;x<255;x++)
data[x]=0;
cpont=COLUNMS/6;
while(*text)
for(x=0;x<5;x++)
tmp=*text-0x20;
data[count++]=MyFont[(tmp*5)+x];
count++;
text++;
count+=COLUNMS;
count--;
data[count]=0xFF;
x=0;
43
i=0;
count=0;
while(!count)
for(z=0;z<SPEED;z++){
for(y0;y<COLUNMS;y++)
PORTC|=(1<<RST0_4017)|(1<<RST2_4017)|(1<<RST3_4017)|
(1<<RST4_4017)|(1<<RST5_4017)|(1<<RST6_4017)|(1<<RST7_4017);
PORTC&~(1<<RST1_4017);
PORTC|=(1<<RST0_4017)|(1<<RST1_4017)|(1<<RST2_4017)|
(1<<RST4_4017)|(1<<RST5_4017)|(1<<RST6_4017)|(1<<RST7_4017);
PORTC&=~(1<<RST2_4017);
44
PORTC|=(1<<RST0_4017)|(1<<RST1_4017)|(1<<RST2_4017)
(1<<RST4_4017)|(1<<RST5_4017)|(1<<RST6_4017)|(1<<RST7_4017);
PORTC&=~(1<<RST3_4017);
PORTA=0X7F; //PORTC=0XBF
if(data[(i-(5+y))]==0xFF;
count=1;
break;
}else{
45
DATA=data[(i-(5+y))];
clock();
//PORTC=0xFF;
PORTC|=1<<RST0_4017;
PORTC|=1<<RST1_4017;
PORTC|=1<<RST2_4017;
PORTC|=1<<RST3_4017;
PORTC|=1<<RST4_4017;
PORTC|=1<<RST5_4017;
PORTC|=1<<RST6_4017;
PORTC|=1<<RST7_4017;
if(count)break;
i++
if(count)break;
intmain(void)
init();
charinput;
USARTInit(51);
46
while(1)
Message((unsignedchar*)”W”);
voidUSARTInit(uint16_tubrr_value)
UBRRL=ubrr_value;
UBRRH=(ubrr_value>>8;
UCSRC=(1<<URSEL)|(#<<UCSZ0);
UCSRB=(1<<RXEN)|(1<<TXEN);//|(1<<RXCIE);
//sei();
chargetch()
while(!(UCSRA&(1<<RXC)))
returnUDR
voidputch(chardata)
47
{
while(!(UCSRA&(1<<UDRE)))
UDR=data;
voidsend(char*str)
unsignedinti==0;
while(str[i]!==0)
putch(str[i]);
i++;
voidinit()
************************************************************************
**********************************************************************/
48
DDRD=0xff;
DDRB=0xff;
DDRC=0xff;
DDRA=0xff;
PORTD=0x00;
PORTB=0x00;
PORTC=0x00;
PORTA=0x00;
49