Mini Project Report
Mini Project Report
Mini Project Report
Today Tsunami is a very wild natural disaster that threatens the existence of
mankind. In this project we present the implementation of low cost model of a
tsunami detection and warning system, to detect the occurrence of Tsunami, at a
small laboratory scale. Our project detects the seabed movement caused by the
underwater earthquake and sirens will be produced as well as warning messages
will be sent to people living in coastal areas using mobile computing, so that the
people will have enough time to relocate themselves and thus save many lives and
property.
INTRODUCTION
The Tsunami is caused when a powerful earthquake occurs underwater. Seabed moves
causing a large shift in water. In an attempt to fill the gap in seabed, water flows in or
is pushed out and a shallow but an extremely deep wave is created which radiates
outside from epicenter.
The aim of this project is to implement a lost cost model of a TSUNAMI
DETECTION AND WARNING SYSTEM, to detect the occurrence of a Tsunami and
to provide adequate warnings, at a small laboratory scale.
Our project detects this seabed movement caused by the underwater earthquake and
sirens will be produced as well as warning messages will be sent to people living in
coastal areas using mobile computing, so that the people will have enough time to
relocate themselves.
BLOCK DIAGRAM
Power supply
ATMEGA16
3 axis accelerometer ADXL335
Buzzer
16*2 LCD screen
Max 232 IC
CIRCUIT DIAGRAM
ATMEGA16 MICROCONTROLLER
Peripheral Features
Special Features
Programmable Brown-out Detection
Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Powerdown, Standby and Extended Standby
Other Features
LCD DISPLAY
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide
range of applications. A 16x2 LCD display is very basic module and is very commonly
used in various devices and circuits
Economical
Easily programmable
no limitation of displaying special & even custom characters
it can display 16 characters per line and there are 2 such lines
each character is displayed in 5x7 pixel matrix
LCD has two registers, namely, Command and Data
command register stores the command instructions given to
the LCD
data register stores the data to be displayed on the LCD
+ 5V power supply
Pin Diagram:
Pin Description:
Pin
No
Function
Name
Ground (0V)
Ground
Vcc
VEE
when high
Select
Read/write
register
6
Enable
given
7
8
DB0
DB1
DB2
10
DB3
11
DB4
12
DB5
13
DB6
14
DB7
15
Led+
16
Led-
MAX 232
The MAX232 is an IC, first created in 1987 by Maxim Integrated Products, that
converts signals from an RS 232 serial port to signals suitable for use in TTL
compatible digital logic circuits and vice versa.
Commonly known as a RS-232 Transceiver, it consists of a pair of drivers and a pair
of receivers.
The drivers provide RS-232 voltage level outputs (approx. 7.5 V) from a single
+ 5 V supply via on-chip charge pumps and external capacitors. This makes it useful
for implementing RS-232 for serial port communications. The receiver performs the
reverse conversion
BUZZER
The PCB mounting buzzers have a loud but pleasant 85dB tone and operate from a
either 5 or 12VDC supply. They are only 7.5mm high when mounted on the PCB. They
will work with supply voltages ranging from 3 to 8V DC or 8 to 15V DC depending which
version is required. Supply polarity is marked on the bottom of the top of the housing
as an aid to installation. The case is finished in black.
The base of the device is potted to maximise protection against flux
contamination
Masking label is included over the sound emission hole to permit board
cleaning
Encapsulated in a low profile housing making them particularly suitable for
inclusion in miniature electronics instrumentation
Supplied with PCB pins for direct mounting to PCBs
Small / low profile design
Compact rich sound
Pitch 7.6mm
FLOWCHART
PROGRAM
{
Buzzer=1;// Buzzer ON
Lcd_Out(1, 3, "Tsunami Detected");//LCD displays warnings
UART1_Write('a');//Send to serial port as case 'a'
}
else
{
Buzzer=0; Buzzer OFF
Lcd_Out(1, 3, "Casual"); LCD displays casual conditions
UART1_Write('b'); //Send to serial port as case 'b'
}
}
void main()
{
clc;// Clear
s=serial('COM3') //Select Serial Com 3 for communication
set(s,'Baud Rate',9600)// Set baud rate at 9600 bps
fopen(s); //open serial port for data transmission
while(1)
A = fscanf(s,'%s') //Read value (case a or b) from Serial COM3
if A=='a'
{
tx='AT+CMGS="9946268993" //The AT+CMGS command sends an SMS .
fprintf(s,'%s',tx);
//message to a GSM phone
a='Tsunami Observed';
fprintf(s,'%s',a);
}
}
PCB LAYOUT
PCB FABRICATION
The materials required for PCB fabrication are
copper clad sheet, a little paint, drilling machine
and ferric chloride solution.
The following steps are involved in making a PCB:
1. Preparation of the layout of the track.
2. Transferring the layout on to the copper.
Drilling
The holes are made by a drilling machine for
the component insertion.
SOLDERING
The residues which remain after soldering may be washed out with
more water accomplished by brushing.
SOLDER
Solder is used for joining two or more metals at temperature below
its melting point. The popularly used solders are the alloy of tin
(60%) and lead(40%) that metals at 375F(190C) used solidifies when
it cools. Most of the solder wires are flux cored type. When such
solder wires are used extra soldering flux is not required.
SOLDERING TOOLS
Soldering iron
It is used to melt the solder and apply at the joints in the circuit. It
operates in 230v main supply, the normal power rating of
soldering iron are 10w,25w,35w and 125w.The iron bit at the tip of
it gets heated up within a few minutes.10w and 25w soldering iron
are sufficient select for proper soldering iron for work.
Tin the bit before soldering.
Keep the tined bit always clean from oxide formed while
soldering.
Do not overheat the PCB and the device.
Do not excess solder or flux
Clean the surface of the lead to be joined using a blade for light
work.
Soldering gun
It is a gun shaped soldering tool use especially when more heat is
required. Its triggering is a switch that controls the ac powers.
Soldering station
Its the removal of solders from a previously soldered joint .De-solder
pump is a commonly used device for this purpose .When the solder
melts by the action of the soldering iron a trigger on the de-soldering
pump should be activated to create a vacuum. This vacuum pulls the
solder into the tube.
SOLDERING RULES
The problem with the existing system is that there is a chance to produce false
alarms often which threatens our government and public. So, in future Tsunami
occurrence can be decided and alarm can be raised only after checking many
criteria. Four criteria to be checked out before giving the tsunami alarm are as
follows:
Pressure inside the sea bed.
Tide level.
Biological changes in the marine living organisms.
Sea shore level.
If all these four criteria get detected then it can be concluded that there is
occurrence of natural disaster (Tsunami).
I.
II.
III.
IV.
V.
VI.
VII.
The ATMEGA16 used has in built ADC thus avoiding the use of
separate ADC units
Easy operation
The alert message can be send anywhere [indicating wide
range]
The SMS message can be replaced with voice alert.
These small units are placed at various earthquake epicenters
and coastal areas and can be monitored by using a central
monopolized system.
It can also guide the ships by detecting in which direction or
areas of the ocean larger waves are created.
It is somewhat affordable by states and nation and can be
implemented easily as it is less complex as compared to other
large instruments
DISADVANTAGES
I.
II.
The project is low cost and simple BUT for the advanced high
quality system one need to improve the sensor quality, while
the cost also proportionally increases.
Message sending fails if no network coverage.
Sl.no
Components
Specification
Price(Rs)
MICROCONTROLLER
ATMEGA16
250
CRYSTAL OSCILLATOR
XTAL 12 MHz
15
CAPACITOR
22pF,1000F
24
RESISTOR
10K
POTENTIOMETER
10K
25
LCD
VOLTAGE REGULAR
16*2
LM7805
XYZ ACCELEROMETER
ADXL335
675
WIRES
15
TOTAL
RESULT
250
10
1265
CONCLUSION
The circuit has been successfully completed and the output was demonstrated which
was quite satisfactory Here we implement a mini project on TSUNAMI
DETECTION AND WARNING SYSTEM. We managed to complete our project in
time with the help of our guide. Our drawback is that we cannot ensure that coastal
people receive warning messages if there is no network coverage.
BIBLIOGRAPHY
Wikipedia
www.atmel.com
www.datasheetarchive.com
www.electroctronics foru.com
Introduction to Embedded Systems Shibu K V