Project Report On Safety Boat
Project Report On Safety Boat
Project Report On Safety Boat
CONTENTS
Page No.
1 Introduction 1
2 Block Diagram 2
2. 1 Main Circuit 2
2. 2 Power Supply 2
3. 4 Micro-Controller 4
3. 5 Alarm 5
3. 6 Opto-Coupler Section 6
3. 10 Buzzer 7
3. 11 Display Section 8
3. 12 Power Supply 8
4 Circuit Diagram 9
1
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
6 Components List 15
7 Circuit Description 16
7. 4 AT 89C51 Microcontroller 17
7. 5 Alarm 18
7. 6 Opto-Coupler Circuit 18
8 PCB Layout 20
9 PCB Fabrication 21
10 Flow Chart 23
11 Program 24
12 Advantages 27
13 Disadvantages 28
14 Application 29
2
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
15 Conclusion 30
16 Bibliography 31
A1 Appendix 32
ABSTRACT
The “ MICROCONTROLLER BASED SAFETY BOAT” is
microcontroller based project. In which the input to the s/m provided from three
sensors. The sensor contain simple electronics components such as transistor, relay etc.
The tree sensors are overload sensor, lifejacket sensor and loop sensor which are used to
detect overload, to ensure that the passengers took the lifejacket and to detect the boat
3
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
crash respectively. Also it contains a transmitter which helps to send the information
regarding the boat accidents and the boat no to the control room.
Using this project we expect that the boat accident rate can be reduced. The main
objectives of our project are:-
1. Reduce the boat accident due to over load.
2. Increase the speed of rescue task as fast as possible.
3. Reduce the death rate.
The main features of the project are:-
1. It is based on 8051microcontroller operation.
2. The program used is simple.
1) INTRODUCTION
Now a day’s many Boat accidents are occurred at God’s own country
Kerala. These accidents are due to improper safety arrangements in boats. The presented
project is a ‘Micro-controller Based Safety Boat system’. This system is very necessary
in all boats. This safety boat consists of overload sensor, if overload occurs boat engine
4
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
will automatically stops. This also consists of a life jacket sensor and if any accident
occurred at that time automatically send boat number to boat monitoring station. The
heart of this project is AT89C51 micro-controller. The working of this system is very
2) BLOCK DIAGRAM
5
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Fig 2.1
230V
AC +5V
TRANSFORMER RECTIFIER FILTER REGULATOR +12V
GND
Fig 2.2
6
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
stops and again on only load will decrease. The overload sensor circuit consists of a
transistor switch circuit and relay driver circuit. Here BC 547 NPN transistor is used.
The base of transistor is connected to overload probe via 1K limiting resistor. The
emitter is connected to ground and collector is connected to one coil point of relay. The
second coil point is connected to direct 12V DC supply. In normal over load probe is
above water level. Hence no base voltage to BC547 and relay will not active. If over
load probe and BC 547 conducts and relay will active and a low pulse reach P1.O input
port through N/O and COM point of relay.
Loop sensor section is used for sense crash of boat. The loop
sensor section probe is placed at safe level of boat. The loop sensor section consists on a
transistor switch and a digital latch circuit. Loop sensor circuit consists of a transistor
switch based relay driver circuit explained same as above over load sensor circuit. If
water reaches safe level the transistor will switch and relay will active. The digital latch
circuit consists of two CD4049 NOT gate. This section produces a continuous 1 to loop
sensor transistor switch. If boat crash, the input pin 5 of latch is 1 and hence 4 pin is O
7
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
and again another NOT gate covert O to1 AND THE IN 4148 feedback diode produce
continues 1 to base of input port transistor.
3.4 MICRO-CONTROLLER
FEATURES OF MICROCONTROLLER
8
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
3.5 ALARM
9
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
element will also vibrate producing an electrical voltage in the same frequency. Out of
the two terminals one is connected to the positive rail, which is common to the above
circuit, and the other is connected to the base of the transistor via a current limiting
resistor. This arrangement will keep the oscillation from damping resulting in a
continuous sound. The entire arrangement will reduce the cost, weight and the external
circuitries. Hence the user is supposed to connect only a DC voltage across the two
wires, which are leading out from the enclosure. One of this is connected to the emitter
of the transistor. This must be connect to the negative terminal of the battery while the
other one to the positive terminal. This is why because this addition, there is an
advantage that the working voltage lays between a wide range of 1.5V and 27 volts.
10
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
relay coil is used to protect transistor from feedback voltage from relay coils.
(Freewheeling diode).
3.10 BUZZER
Buzzer is used for audio indication. In this 12V DC. Piezo buzzer is
used. If a theft vehicle passes check post at that time the buzzer inside control room will
produce a sound. For this purpose we can use a 12VPiezo electric buzzer. This contains
a piezo-electric crystal. The crystal is so cut that the natural frequency lies between 1
and 2 KHz. In order to oscillate this crystal at this frequency it is necessary to apply the
same frequency between the opposite faces. This crystal is stamped to a thin metal film.
This metal film is mounted on a plastic or acrylic enclosure, which produce a sufficient
air column. Whenever the buzzer is vibrating in its natural frequency the metal film will
also vibrate which results in an air column vibration or simply the audible sound. Since
the user do not know the exact natural frequency it is impossible to vibrate the crystal
efficiently. Hence the manufactures introduced an LC oscillator along with a transistor
inside the enclosure. The natural frequency of the LC tank circuit is so calibrated that it
will be exactly same as the natural frequency of the crystal. This internal oscillator will
contain a BC547 transistor with the above LC circuit connected at its collector. The
11
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
crystal is also connected in parallel to this LC circuit. There is feedback element, which
is also stamped in the metal frame. When the metal frame vibrates this feedback
element will also vibrate producing an electrical voltage in the same frequency. Out of
the two terminals one is connected to the positive rail, which is common to the above
circuit, and the other is connected to the base of the transistor via a current limiting
resistor. This arrangement will keep the oscillation from damping resulting in a
continuous sound. The entire arrangement will reduce the cost, weight and the external
circuitries. Hence the user is supposed to connect only a DC voltage across the two
wires, which are leading out from the enclosure. One of this is connected to the emitter
of the transistor. This must be connect to the negative terminal of the battery while the
other one to the positive terminal. This is why because this addition, there is an
advantage that the working voltage lays between a wide range of 1.5V and 27 volts.
12
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
A regulator circuit removes the ripples and also remains the same dc value even
if the input dc voltage varies, or the load connected to the output dc voltage changes.
This voltage regulation is usually obtained using one of the popular voltage regulator IC
units.
3.12.1 Transformer
The potential transformer will step down the power supply voltage (0-230V) to
(0-6V) level. Then the secondary of the potential transformer will be connected to the
precision rectifier, which is constructed with the help of op–amp. The advantages of
using precision rectifier are it will give peak voltage output as DC, rest of the circuits
will give only RMS output.
Let us assume that the transformer is working properly and there is a positive
potential, at point A and a negative potential at point B. the positive potential at point A
will forward bias D3 and reverse bias D4.
The negative potential at point B will forward bias D1 and reverse D2. At this
time D3 and D1 are forward biased and will allow current flow to pass through them;
D4 and D2 are reverse biased and will block current flow.
The path for current flow is from point B through D1, up through RL, through
D3, through the secondary of the transformer back to point B. this path is indicated by
the solid arrows. Waveforms (1) and (2) can be observed across D1 and D3.
13
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
One-half cycle later the polarity across the secondary of the transformer reverse,
forward biasing D2 and D4 and reverse biasing D1 and D3. Current flow will now be
from point A through D4, up through RL, through D2, through the secondary of T1, and
back to point A. This path is indicated by the broken arrows. Waveforms (3) and (4) can
be observed across D2 and D4. The current flow through RL is always in the same
direction. In flowing through RL this current develops a voltage corresponding to that
shown waveform (5). Since current flows through the load (RL) during both half cycles
of the applied voltage, this bridge rectifier is a full-wave rectifier.
Fig 3.13.3.1
14
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
control device, and overload protection all in a single IC. IC units provide regulation of
either a fixed positive voltage, a fixed negative voltage, or an adjustably set voltage.
The regulators can be selected for operation with load currents from hundreds of milli
amperes to tens of amperes, corresponding to power ratings from milli watts to tens of
watts. A fixed three-terminal voltage regulator has an unregulated dc input voltage, Vi,
applied to one input terminal, a regulated dc output voltage, Vo, from a second terminal,
with the third terminal connected to ground.
4) CIRCUIT DIAGRAM
15
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Fig 4.1
4.2 Boat Control Room
16
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Fig 4.2
Fig 4.3
5) WORKING OF THE SYSTEM
17
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
6) COMPONENTS LIST
18
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
7805 - 5V Regulator
12V/Piezo buzzer
Transformer 230V/12-0-12V/1A
Diode - IN 4007
1000mF/25V Capacitor
12MHZ Crystal
IC Base
7447-BCD decoder IC
PCB
Wires
Resistors, Capacitors
Cabinet
7) CIRCUIT DESCRIPTION
19
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
20
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
7.5 ALARM
21
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
a sound. For this purpose we can use a 12VPiezo electric buzzer. This contains a piezo-
electric crystal. The crystal is so cut that the natural frequency lies between 1 and 2
KHz. In order to oscillate this crystal at this frequency it is necessary to apply the same
frequency between the opposite faces. This crystal is stamped to a thin metal film. This
metal film is mounted on a plastic or acrylic enclosure, which produce a sufficient air
column. Whenever the buzzer is vibrating in its natural frequency the metal film will
also vibrate which results in an air column vibration or simply the audible sound. Since
the user do not know the exact natural frequency it is impossible to vibrate the crystal
efficiently. Hence the manufactures introduced an LC oscillator along with a transistor
inside the enclosure. The natural frequency of the LC tank circuit is so calibrated that it
will be exactly same as the natural frequency of the crystal. This internal oscillator will
contain a BC547 transistor with the above LC circuit connected at its collector. The
crystal is also connected in parallel to this LC circuit. There is feedback element, which
is also stamped in the metal frame. When the metal frame vibrates this feedback
element will also vibrate producing an electrical voltage in the same frequency. Out of
the two terminals one is connected to the positive rail, which is common to the above
circuit, and the other is connected to the base of the transistor via a current limiting
resistor. This arrangement will keep the oscillation from damping resulting in a
continuous sound.
The entire arrangement will reduce the cost, weight and the external
circuitries. Hence the user is supposed to connect only a DC voltage across the two
wires, which are leading out from the enclosure. One of this is connected to the emitter
of the transistor. This must be connect to the negative terminal of the battery while the
other one to the positive terminal. This is why because this addition, there is an
advantage that the working voltage lays between a wide range of 1.5V and 27 volts.
22
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
23
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
9) PCB FABRICATION
24
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
1) First the layout of the PCB is generated using the software ORCAD. First step
involves drawing the circuit CIS which is a section of ORCAD. Then the layout is
obtained using layout plus. This layout is printed on a paper.
2) This printed layout is transferred to a Mylar sheet and touched with black ink.
3) The solder side of the Mylar sheet is placed on the shining side of the copper board
and is placed in a frame. It is than exposed to sunlight, with the Mylar sheet facing
the sunlight.
4) The exposed copper board is put in hydrogen peroxide solution. It is then put in hot
water; shook till unexposed region becomes transparent.
5) This is put in cold water and then the rough side is struck in to the skill screen. This
is then pressed and dried well.
6) The plastic sheet of the five - star is removed leaving the pattern on the screen.
7) A copper clad sheet is cut to the size and cleaned. This is then placed under the
screen.
25
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
8) Acid resist ink is spread on the screen, So that the pattern of the tracks and pad is
obtained on the copper clad sheet. It is dried.
9) The dried sheet is then etched using ferric chloride solution till all the unwanted
copper is etched away.
10) The unwanted resist ink is removed using sodium hydroxide solution, holes are then
drilled.
11) The components are soldered neatly on the board without dry soldering.
26
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
11) PROGRAM
ASM. LST
27
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Initialization
START: ------------------------------------------------------------
-------------------------------------------------------
28
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
CLR, 80H
MOV A, # R0
MOV A, @ R1
L2 CJNE A. @ 63H L3
MOV A, @ R3
CLR A;
NOP
NOP
NOP
NOP
29
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
NOP
--------------------------------------------------------------------------
PC check ok
12) ADVANTAGES
30
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Advantages
13) DISADVANTAGES
31
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Disadvantages
14) APPLICATION
32
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Applications
15) CONCLUSION
33
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
16) BIBLIOGRAPHY
Books Referred
a) Microcontroller & Advanced Microprocessors
34
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
Website Referred
a) http/www.Atmal.com
b) http/[email protected]
c) http/www.datasheetarchieveve.com
d) http/www.ieee.org.discover.com
35
DEPARTMENT OF E&C MZC, KADAMMANITTA
MINI PROJECT 2010 µC BASED SAFETY BOAT
APPENDIX
36
DEPARTMENT OF E&C MZC, KADAMMANITTA