Design of Single Phase Automatic Power
Design of Single Phase Automatic Power
BY
SUPPERVISED BY:
APRIL, 2023
CERTIFICATION
Chimamkpam Vincent work has been supervised and approved by the supervisor in the
department electrical electronics department (option) instrumentation and control
1
Abstract
The main objective of the project is to develop a Bluetooth based LED notice board by using
PIC18F452 microcontroller and HC-05 Bluetooth module. By using microcontroller as the
main circuitry, the input message would be received from the user’s android application
device. Remote operation is achieved by any smart-phone / Tablet etc., with Android O S.
While the user sends the message from the Android application device, it is received and
retrieved by the Bluetooth device at the display unit. The Bluetooth access password will only
be known to the user for the first attempt. It is then sent to the microcontroller that further
displays the notice sent from the user on to the LED display board. Bluetooth wireless
technology is becoming a popular standard in the communication arena, and it is one of the
fastest growing fields in the wireless technologies. Bluetooth technology handles the wireless
part of the communication channel it transmits and receives data wirelessly between these
devices. While a mobile phone is simply more than a phone these days, the number of
applications being built on a wide range of platforms for mobile phones is astounding.
2
CHAPTER ONE
INTRODUCTION
The use of light emitting diodes (LEDs) has become more and more commonplace.
Their relatively low power consumption, high output, high contrast, and long lifetimes (up to
one million hours) makes them an ideal choice for display screens. Current LED display
products include single and multi-line monochrome scrolling models and full color video
screens. However, none of the single line models are both wireless and modular.
A full, working LED displayis composed of several components and includes both hardware
and software. The display board i composed of LEDs and drivers that provide power to the
LEDs. Drivers can range from simple circuits that provide only power to complex chips that
provide ASCII support and display grid multiplexing. Registers are used to hold and supply a
value to the drivers. Commonly, the control is handled by amicro process or which provides
the switching control and the data input for the registers. Onboard memory may provide
storage for the ASCII character set, depending on the complexity and feature set of the LED
driver. Onboard memory also stores the data being displayed and the software that controls
the microprocessor. A regulated power supply powers the processor, memory, and LEDs. The
LED display is comprised of LED grid arrays, registers, drivers, BJTs, the microprocessor,
memory, and a power supply.
3
1.2 PROBLEMSTATEMENT:
Designing and implementing this project will able to solve several difficult ways by which
spreading of information to the public will be reduce and solved in this various platform:
1.3 AIMOFTHEPROJECT
The aim of this project is to design and implement a Bluetooth Based Led matrix display
board using PIC18F452 microcontroller.
1.4 OBJECTIVES:
These are the main objectives of the project:
i. Development of Bluetooth based LED display.
1.5 MOTIVATION
While many LED screens currently on the market offer wireless connectivity, they do not
offer the modularity and input choices proposed for this product. Combining wireless
connectivity and modularity into one product will allow the customer to place the display
anywhere within the range of the transmitter and near a standard power outlet. Since the
wireless connection obviates the need for running communication wires between the board
and android application device, the placement and installation of the board will be much
easier than that of a wired counterpoint.
1.6 SCOPEOFTHEPROJECT:
SMS is sent by user using android-OS mobile phone.
BLUETOOTH module is use disinter mediate between the mobile phone and
information display board for connection.
PIC18F452 microcontroller to control the operations.
4
Information display board shows the message to be delivered by mobile phone.
1.8. REPORTORGANIZATION
Chapter two contains the literature review, summarization of previously read articles and
researchfindingpreviouslydonerelatingtotheproject.Thetheoryofdesignisalsocontained in this
chapter i.e. the theoretical principle behind the techniques used in the project construction.
The system specifications, practical details, system behavior and characteristics are also
contained in this chapter.
Chapter three tails methodology or technique use din implementing the project. It also talks
about how the project was simulated before construction and also how it was tested.
Chapter four compares the objective earlier out to be achieved with the final result obtained.
Chapter five is the concluding and final chapter. It talks about the summary of findings from
the results obtained and also the problem encountered. It also contained the conclusion, goals
achieved and also the strong and weak points of the project. It also points out
recommendation for future research. It contains articles, books and data with were referenced
in the course of working.
5
CHAPTERTWO
LITERATURE REVIEW
With the development of cellular networks in the 1970’s for increasing the lack off
requencies in the radiotelephone services which in turn lead to introduction of AMPS
(Advanced Mobile Phone System) where the transmission was analog based. This was known
to be the first generation in cellular networks. The second generation was based on digital
transmission and was called with various abbreviations as GSM (Global System for Mobile
communications), ERMES (European Radio Messaging System). Various Cord less
telephone standards were also introduced during this time only. The third generation has risen
with the unification of different technologies; some of them which are popularly known are
FPLMTS (Future Public Land Mobile Telecommunications System), UMTS (Universal
Mobile Telecommunication System), and IMT 2000 (International Mobile communication).
These days, BLUETOOTH technology has become one of the most popular medium for
wireless data transfer. It has a wide range and is efficient in its work. Android is a set of
software for mobile devices including Operation System, Middleware and Core Application,
and a new Mobile Platform of Google. It is a complete mobile plat form based on LINUX2.6
Kernel that provides universal set of powerful Operation System, Comprehensive Library Set,
abundant Multimedia User Interface and Phone Application. Android platform is produced to
make new and innovative mobile application program for the developers to make full use of
all functions connected to hand set internet. The Android platform was developed by Google
and later the Open Handset Alliance (OHA).
Nivetha, Puritha, Preethi and Yashvanthini (2013) designed an SMS driven automatic
display using ARM-LPC2148 to interface multiple graphical display. With this
technology, a single notice could be sent to several e-notice boards via ARM-LPC2148.
Rahul Kamboj and Preeti Abrol (2013) designed and developed a GSM based multiple
LED display boards using AT89S52 microcontroller, GSM module, LCD and several
moving LED displays. Multiple moving LED displays were connected via different
GSM modules at different geographical locations such that the same SMS sent was
displayed on all the moving LED displays. Though with few limitations, this work
proved to be cost-effective, secured and efficient as compared to previous works.
6
Gowrishankar Kasilingam, Mritha Ramalingam and Chandra Sekar (2014) proposed
developmentofGSMbaseddigitalnoticeboard.Thecompletesystemwouldhaveadual system
in terms of changing message display, dual power supply switchable between solar power
system and alternating current (AC) from the utility supply, and inbuilt motion detector that
could automatically switch OFF the whole system after working hours and would automatically
switch ON if any motionissensed by the motion detector after the programmed working hours.
This work would probably prove highly efficient in terms of ensuring better communication and
continuous power supply.
Raj Hakani (2014) worked on GSM based alphanumeric scrolling display system using
PIC16F877A microcontroller interface with GSM modem via MAX232 level convertor.
Hardware also include DS1307 real time clock, alphanumerical panel and multiple 16×2
character LCD displays and microcontroller coding was done using Embedded C and
MpLab. In this research, multiple users were authorized to update notices on the digital
notice board. This design can only maximum of 60 characters on the board.
The PIC 18F452 is a 28/40 pin high performance flash based micro controller swith 32
Kbytes of program memory and 1.5Kbytes of RAM. Also 256 bytes of EEPROM data
memory is provided to store data. The 18F452 microcontroller operates from DC to 40 MHz
clock/oscillator input with 16 bit instructions and two priority levels forinterrupts. One of the
main additional feature of this microcontroller is its 8 * 8 single cycle hardware multiplier.
This will make multiplication easier and faster than the software routines used in previous
controllers like 16 F series.
PIC18F452 microcontroller is available in various packages like DIP (Dual Inline Package),
PLCC(Plastic Leaded Chip Carrier), and TQFP (Tetra Quad Flat Package) the total number
of interrupt sources in 18F452 microcontroller is 18, with an instruction set
having75instructionsunlike35instructionsin16Fseries.TheI/Oportsinthemicrocontroller is
divided into 5 ports like 16 F series :- PORTA(6 pins), PORTB(8 pins), PORTC(8
pins),PORTD(8 pins) and PORTE(3 pins)
7
Fig 2.1. Pin diagram (PIC18F452microcontroller)
2.3.2. WIRELESSTECHNOLOGY
Wireless technology has replaced the situation where wires are no longer required for
applications and mobility is deemed essentialin operations. The criteria for choosing a wireless
technology include the following requirements.
I. Range
II. Reliability
III. Compliancy(standards)
IV. Cost
V. Power consumption
VI. Transmission rate
In the current market, the 3 most widely used wireless technologies include Zig-bee, Wi-Fiand
Bluetooth.
8
2.3.3. 74H164SHIFTREGISTER
9
Fig2.4.PinconfigurationandfunctionofULN2803driverIC
10
2.3.5. CRYSTALOSCILLATOR.
A cry staloscillator is an electronic oscillator circuit that use sapiezo electric resonator,
acrystal, as its frequency-determining element. Amore accurate term forit is piezo electric
resonator. Crystals are also used in other types of electronic circuits, such as crystal filters.
2.3.6. CAPACITOR
TYPE SOFCAPACITOR
Size-Sizebothintermsofphysicalvolumeandcapacitance.It’snotuncommonfora
capacitor to be the largest component in a circuit. They can also be very tiny. More
capacitance typically requires a larger capacitor.
Maximum voltage - Each capacitor is rated for a maximum voltage that can be
droppedacrossit.Somecapacitorsmightberatedfor1.5V, others might be rated for
100V. Exceeding them aximum voltage will usually result in destroying the
capacitor.
11
Leakagecurrent-Capacitorsaren’tperfect.Everycapispronetoleakingsometiny
amount of current through the dielectric, from one terminal to the other. This tiny
current loss (usually Nano amps or less) is called leakage. Leakage causes energy
stored in the capacitor to slowly, but surely drain away.
Equivalent series resistance (ESR) - The terminals of a capacitor aren’t 100%
conductive, they’ll always have at in amount of resistance (usually less than 0.01Ω)
to them. This resistance becomes a problem when a lot of current runs through the
cap, producing heat and power loss.
Tolerance- Capacitors also can’t be made to have an exact, precise capacitance.
Each cap will be rated for their nominal capacitance, but, depending on the type, the
exact value might vary anywhere from ±1% to ±20% of the desired value.
There are many different types of capacitor that can be used – most of the major types are
outlined below:
Silver Mica Capacitor: Silver mica capacitors are not as widely used these days,
but they still off every high levels of stability, low loss and accuracy where space is
not an issue. They are primarily used for RF applications and they are limited to maximum
values of 1000 pF or so.
12
Polystyrene Film Capacitor: Polystyrene capacitors area relatively cheap form of
capacitor but of feraclose tolerance capacitor where needed. They are tubular in
shape resulting from the fact that the plate / dielectric sandwich is rolled together,
but this adds inductance limiting their frequency response to a few hundred kHz.
They are generally only available as leaded electronics components.
Polyester Film Capacitor: Polyester film capacitors are used where cost is a
consideration as they do not offer a high tolerance. Many polyester film capacitors
have a tolerance of 5% or 10%, which is adequate for many applications. They are
generally only available as leaded electronics components.
Glass capacitors: As the name implies, this capacitor type uses glass as the
dielectric.Althoughexpensive,thesecapacitorsofferveryhighlevelsorperformance
13
In term sofextremely low loss, high R F current capability, no piezo-electric noise
and other features making them ideal for many performance RF applications.
Super cap: Also known as a super capacitor or ultra-capacitor, as the name implies
these capacitors have very large values of capacitance, of up to several thousand
Farads. They find uses for providing a memory hold-up supply and also within
automotive applications.
Alight- emitting diode (LED) is a two-lead semi conduct or light source. It is apn junction
diode, which emits light when activated. When a suitable voltage is applied to the leads,
electrons are able to recombine with electron holes within the device, releasing energy in the
form of photons. The wavelength of the light emitted, and thus its color, depends on the band
gap energy of the materials forming the p-n junction. In silicon orgermanium diodes, the
electrons and holes usually recombine by a non-radioactive transition, which produces no
opticalemission,becausetheseareindirectbandgapmaterials.ThematerialsusedfortheLED
haveadirectbandgapwithenergiescorrespondingtonear-infrared,visible,ornear-ultraviolet light.
Fig2.7.LEDstructure
14
2.3.8. PRINTED CIRCUIT BOARD(PCB)
There are three major types of printed circuit board construction: single-sided, double-sided,
andmulti-layered.Single-sidedboardshavethecomponentsononesideofthesubstrate.When the
number of components becomes too much for a single-sided board, a double-sided board may
be used. Electrical connections between the circuits on each side are made by drilling holes
through the substrate in appropriate locations and plating the inside of the holes with a
conducting material. The third type, a multi-layered board, has a substrate made up of layers
of printed circuits separated by layers of insulation. The components on the surface connect
through plated holes drilled down to the appropriate circuit layer. This greatly simplifies the
circuit pattern.
Componentsonaprintedcircuitboardareelectricallyconnectedtothecircuitsbytwodifferent
methods: the older "through whole technology" and the newer "surface mount technology."
With through whole technology, each component has thin wires, or leads, which are pushed
through small holes in the substrate and soldered to connection pads in the circuits on the
opposite side. Gravity and friction between the leads and the sides of the holes keeps the
components in place until they are soldered. With surface mount technology, stubbyJ-shaped
or L-shaped legs on each component contact the printed circuits directly. A solder paste
consisting of glue, flux, and solder are applied at the point of contact to hold the components
in place until the solder is melted, or "reflowed," in an oven to make the final connection.
Althoughsurfacemounttechnologyrequiresgreatercareintheplacementofthecomponents, it
eliminates the time-consuming drilling process and the space-consuming connection pads
inherent with through whole technology. Both technologies are used today.
Two other types of circuit assemblies are related to the printed circuit board. An integrated
circuit, sometimes called an IC or microchip, performs similar functions to aprinted circuit
15
board except the IC contains many more circuits and components that are electrochemically
"grown" in place on the surface of a very small chip of silicon.
Fig2.8.Etched PCBlayoutandblankPCB
Advantagesof PCBoverVEROBOARD
Veroboardiseasilyavailable.PCB’sareimpossibleoratbesthardtoobtainfor older
projects.
Making your own PCB can prove to be difficult. You’ll need some extrakit and
chemicals and then there’s the drilling to contend with!
16
2.3.9. RESISTOR
17
TYPESOFRESISTOR
i. Linear resistor: They are resistor through which the current is directly proportional to
the applied voltage. Their values don’t change with variation in voltage.
ii. Non-Linear resistor: They are resistor through which the current is not directly
proportional to the applied voltage. Their value change with variation in applied
voltage.
Formula forcal culating resistor
𝑉=𝐼𝑅
𝑉𝑅= 𝐼
RESISTORCOLORCODE
18
19