Académique Documents
Professionnel Documents
Culture Documents
beneath the water level to alert monitors when the user is being
drown. When the user wares the device at hand the sensors is
rescuer him/her.
1
CHAPTER ONE: INTRODUCTION
the young.[2]
2
drowning very little water enters the lungs: a small amount of
the airway and prevents the passage of both air and water until
movements.[3]
3
many countries, drowning is one of the leading causes of death
for children under 12 years old. For example, in the United States,
with distressed non-swimmers, who may well drown but have not
drowning:
4
Eyes open, with fear evident on the face
Hyperventilating or gasping
headway
water.
inductive model.
c. It is limited to only infrared
alert managers when the user is already choked and the pulse
rate is reduced.
But in the cost of my design, it was made to work by the user
6
Chapter one carries the introduction, aim and objective, scope of
of the work along with other reviews of the project. Chapter three
Classification
categories:
Passive
Active
7
Passive systems provide lifeguards with views of below water
glare and into blind spots in the swimming pool tank. They are
Viewing aids
Remote monitoring
Viewing aids
8
without having to move. They can be used for all types of
vision for the lifeguards can also distract them from scanning the
needs to be identified but may not show their face below the
Remote monitoring
9
means that response time may be increased due to the nature of
usage.
10
known behaviors associated with drowning. These systems are
mainly limited to static water pools, and are not yet operational in
A. Anti-theft system
behaviors. From the invention of the first lock and key to the
11
systems have evolved to match the introduction of new
Anti Theft
factors for theft. Given that motives for theft are varied and
complex and are generally speaking not within the control of the
alert managers when the user is already choked and the pulse
rate is reduced.
12
But in the cost of my design, it was made to work by the user
drown by water.
13
Fig 3.1 Block diagram of the circuit
side
to the receiver
14
3.4 Design pattern
This includes the stages passed for the design and construction of
this project.
3.5 Information Gathering
The link which enhanced my knowledge to the design and
which was gotten from the internet research I did, some from the
then others was from my teacher and supervisor etc. all this
project.
when fully designed. From the origin of the design, from the list of
the circuit symbol, the way they operate help me to have a better
the test operation for each component for clarifications and better
understanding of them.
15
Before the design we first of all have our design designed using
designer, eagle, livewire and proteuslite which they all gave use
16
the components to the circuit printed or Vero boards before inter
off from the circuit which can cause permanent damage to the
component circuitry.
Clearing always cause before comes after soldering, as it is the
room for errors after design. This also helps to correct the network
for test and operation analysis, this helps to show the designer
17
existing design in other to convince the viewer for recommended
who gaze at it what it really is. The appearance of any design one
18
CHAPTER FOUR: DESIGN IMPLEMENTATION AND TESTING
not just came from anywhere even due a lot of information came
19
4.1.2 Project resource centers
This includes:
The materials I used were from the information I got from the
like the alarm unit and the infrared radio wave for the infrared
20
4.2.1 Circuit diagram analysis
system.
a. Microcontroller (Atmel89s52)
b. Voltage regulator (7805)
c. Resistors(1k,10k,4k7,5k6)
d. Transistor (c1815, Mosfet irf3205)
e. Rectifier diode (1n5408)
f. Buzzer (12v)
g. Infrared receiver
each other, from there the components used was named and
21
our choice of components. This is feather analysis in the circuit
diagram analysis.
in one direction with far greater ease than in the other. The most
devices, I > 1 A.
22
Fig 4.2 Diode operation: (a) Current flow is permitted; the diode is
reversed biased.
When the polarity of the battery is such that electrons are allowed
a flow of charge from the positive (+) side of the voltage source
23
points in the permitted direction of conventional flow, and against
Fig 4.3 Hydraulic check valve analogy: (a) Electron current flow
open and allow flow if the pressure across them is of the correct
polarity to open the gate (in the analogy shown, greater fluid
valve will close and hold the gate so that no flow occurs.
24
Like check valves, diodes are essentially pressure- operated
dropped across the diode. Let's take a closer look at the simple
25
reverse-bias mode), this behavior makes sense. The most
26
Fig 4.5 Diode representations: PN-junction model, schematic
on the symbol.
(Figure below)
27
Conversely, if a forward-biasing voltage is applied across the P-N
region thickness.
the diode accounts for its nominal forward voltage figure, which is
<="" a="">
equation:
29
The term kT/q describes the voltage produced within the P-N
as such:
30
You need not be familiar with the diode equation to analyze
of current going through it, but that this change is fairly small
remains constant at 0.7 volts for silicon and 0.3 volts for
diode, called the leakage current, but it can be ignored for most
31
is limited, as it is for any insulator. If the applied reverse-bias
Fig 4.7 Diode curve: showing knee at 0.7 V forward biases for Si,
Types of diode
32
There are many different types of diodes that are available for use
waveforms.
BARITT diode: This form of diode gains its name from the
IMPATT diode.
33
Laser diode: This type of diode is not the same as the ordinary
they are considerably more expensive than LEDs. They also have
a limited life.
colours, although the original colour was red. There are also very
many new LED developments that are changing the way displays
can be used and manufactured. High output LEDs and OLEDs are
two examples.
34
from the light can be easily detected. Photo-diodes can also be
has the standard P type and N-type areas, but between them
increasing the area of the depletion region which can be useful for
diodes. Other types may be intended for high current and high
currents the drop may be somewhere between 0.15 and 0.4 volts
35
as opposed to 0.6 volts for a silicon diode. To achieve this
applications.
diodes rely on a very fast turn off characteristic of the diode for
their operation.
Tunnel diode: Although not widely used today, the tunnel diode
bias placed upon it and this varies the width of the depletion layer
with the depletion region being the insulating dielectric and the
36
capacitor plates formed by the extent of the conduction regions.
as this will vary the width of the depletion region which will
37
are very many variants and different types of diode that enable all
Diode as a rectifier
Half-wave rectification
38
full-wave rectifiers, and much more filtering is needed to
Full-wave rectification
39
to pulsating DC (direct current), and yields a higher average
single components.
40
Fig 4.10: Full-wave rectifier using a center tap transformer and 2
diodes.
Fig 4.11: Full-wave rectifier, with vacuum tube having two anodes.
41
achieving full-wave rectification with positive output. The 5U4 and
Diode Bridge
output for either polarity of input. When used in its most common
42
to a rectifier with a 3-wire input from a transformer with a center-
4.4.2 Transistors
43
individually, but many more are found embedded in integrated
circuits.
Simplified operation
44
Fig 4.14 a simple circuit diagrams to show the labels of a npn
terminal (that is, flowing between the base and the emitter) can
labeled gate, source, and drain, and a voltage at the gate can
45
The image to the right represents a typical bipolar transistor in a
voltage drop develops between base and emitter while the base
Types
PNP P-channel
NPN N-channel
BJT JFET
BJT and JFET symbols
P-channel
46
N-channel
47
Maximum operating frequency: low, medium, high, radio (RF),
(transconductance).
48
Fig 4.16 infrared transmitter receiver image
Here in the figure the object can be any thing which has certain
shape and size, the IR LED transmits the IR signal on to the object
and the signal is reflected back from the surface of the object.
49
The reflected signals is received by an IR receiver. The IR receiver
IR Transmitter
the the modulated wave with the same carrier frequency of that
50
of a IR receiver module.
ON state = 10ms
transmitted for a short while and remains OFF for longer period of
time.
51
module will treat it as a noise and ignores receiving the
transmitted signal.
regulator
may get damaged if there is any deviation from the fixed rate.
52
voltage regulator 7805 along with capacitors and resistors with
Description:
input terminal and the output terminal of the IC regulator. For the
output filter, capacitors are used. While the bypass capacitors are
used to check the small period spikes on the input and output
level. Bypass capacitors are mainly of small values that are used
industry standard MCS-51 instruction set and pin out. The on-chip
54
highly flexible and cost effective solution to many embedded
control application.
modes. The idle mode stops the CPU while allowing the RAM,
functioning. The power down mode saves the RAM contents but
freezes the oscillator disabling all other chip functions until the
Features of AT89S52
55
8Kbytes of in-system Reprogrammable flash memory - Endurance:
56
Fig 4.18: Block diagram of AT89s52 internal circuitry
Pin description
Vcc
Supply voltage.
GND
Ground.
Port 0
port, each pin can sink eight TTL inputs. When 1s are written to
57
port 0 pins, the pins can be used as high impedance inputs. Port 0
the code bytes during Flash programming, and outputs the code
Port 1
Port 1 output buffers can sink/source four TTL inputs. When 1s are
written to Port 1 pins they are pulled high by the internal pull-ups
externally being pulled low will source current (IIL) because of the
Port 2
Port 2 output buffers can sink/source four TTL inputs. When 1s are
written to Port 2 pins they are pulled high by the internal pull-ups
58
and can be used as inputs. As inputs, Port 2 pins that are
externally being pulled low will source current (IIL) because of the
Port 2 also receives the high-order address bits and some control
Port 3
Port 3 output buffers can sink/source four TTL inputs. When 1s are
written to Port 3 pins they are pulled high by the internal pull-ups
Port 3 pins that are externally being pulled low will source current
59
Alternate functions of port 3
and verification.
RST
Reset input. A high on this pin for two machine cycles while the
ALE/PROG
Address Latch Enable output pulse for latching the low byte of the
can be disabled by setting bit 0 of SFR location 8EH. With the bit
mode.
PSEN
except that two PSEN activations are skipped during each access
EA/VPP
61
internal program executions. This pin also receives the 12-volt
XTAL1
4.4.7Resistors
k and M .
1 k = 1000 1 M = 1000000 .
or as high as 10 M .
62
Resistors connected in Series
63
R1 + R2
R = R1 + R2 + R3 + R4 + ...
Combined resistance of
64
special equation for the combined resistance of two resistors R1
and R2:
R:
use!
65
0 1 2 3 4 5 6 7 8 9
The mnemonic
Bad Boys Ravish Only Young Girls But Violet Gives Willingly
First find the tolerance band, it will typically be gold ( 5%) and
sometimes silver (10%). Starting from the other end, identify the
first band - write down the number associated with that color; in
this case Blue is 6. Now 'read' the next color, here it is red so
write down a '2' next to the six (you should have '62' so far.) Now
66
read the third or 'multiplier' band and write down that number of
zeros.
'multiplier' band is Black (for zero) don't write any zeros down. If
the 'multiplier' band is Gold move the decimal point one to the
left. If the 'multiplier' band is Silver move the decimal point two
places to the left. If the resistor has one more band past the
Read the number as the '% Failure rate per 1000 hour' this is
rated assuming full wattage being applied to the resistors. (To get
67
4.4 Component gathering
and the value read and recorded. Also for transistor test the DMM
68
The collector, base and emitter junctions were tested in the
following order. The collector, emitter and base pins were gotten
voltage regulator was also tested, the resulting output was 5.02v
5.00v.The LEDs were tested to ensure that they were all working
properly.
the mains power supply, the primary coil received 220v input; the
A. 4.5.6 Led
69
Blue, green, and red LEDs in 5 mm
diffused case
Working
Electroluminescence
principle
Oleg Losev (1927)[1]
James R. Biard
Invented (1961)[2]
Nick Holonyak
(1962)[3]
First
October 1962
production
Pin
Anode and cathode
configuration
Electronic symbol
70
Parts of an LED. Although unlabeled, the flat bottom surfaces of
the anvil and post embedded inside the epoxy act as anchors, to
sink, a light diffusing dome and E27 screw base, using a built-in
71
A light-emitting diode (LED) is a two-lead semiconductor light
activated.[4]
of the semiconductor.
73
4.5 Design Steps
This are the various steps we took on the design of this project
Here, the whole components were place into the vero board
according to its position in the circuit diagram, the legs were bend
The components were solder using a soft thick lead oxide and the
74
Software Development Process
was employed. This made it easier to check for errors and debug
process; the keil C51 compiler was used to translate from the
source code into the object code. The SDCC was employed to link
the program while the PACKIHX did the conversion from binary to
hex.
another.
75
to system-level programming, where these operations are
common.
the source code into the disk file. As noted earlier, the text editor
also functions to correct error in the program. The text editor used
#include "AT89x52.h"
#include "string.h"
76
#define lcd P2
sbit en = P3^6;
sbitrs = P3^7;
unsignedinta,b;
0x80 } ;
charnextline[]= {0xc0};
unsignedm,n ;
for(m=0;m<time;m++)
for(n=0;n<time;n++);
77
}
design
Then after that the microcontroller will now be inserted into the
78
After the implementation of the circuit diagram it has to be
and packaging.
4.8 Packaging
The final test was undergone for proper function and design
usage.
CHAPTER FIVE
79
a. In hospitals
b. In clinic centers
c. In military health issues
d. In sports
e. In security places
f. Etc.
After the design and implementation phase, the system built has
voltage regulator was also tested, the resulting output was 5.02v
5.00v.The LEDs were tested to ensure that they were all working
properly.
80
5.2.1 Test plan and Test data
users for which the project was targeted for, appreciate its
However, this involves checks made to ensure that all the various
subsystems.
81
Similar components like resistors were packed together. Other
display unit
and the value read and recorded. Also for transistor test the DMM
following order. The collector, emitter and base pins were gotten
than one button at the same time and noting the output
input at a time.
82
5.2.4 Other Tests
Light emitting diode (LED) emits rays when forward biased .For
capacitors the DMM was switched to the 22uf range and the
capacitors were inserted into the slot provided for it by the meter.
VALUE VALUE
Resistor 10000 10000
2000 2000
220 218 5%
10000 9980
Capacitor 10 10.20 f
10 10.15 f
30 29.82
f
Transistor Rbe 520 550
From the table above, shows the range between the expected
value and the actual value can be tolerated. As a result of this the
since the result current range was not also exceeded, also the
CHAPTER SIX
SUMMARY
This section of this project report forms the concluding part of the
84
suggestions for further improvement and/or enhancement for the
system design.
the expected result and the actual result was very close. The
During the course of the design of this system, there were series
85
to look through electrical catalogs to obtain replacements of some
also costly, this also affected the overall cost of the system.
The final packaging of the design was also another trouble, as this
components and also with the wiring. This was actually one of the
86
6.5: Conclusion
craftsmanship.
Reference
87
b) Bill Waters. "How Motion Sensors Work with a Security
System". theHomeSecurityAdviser.com.
c) "Bowmark Capital backs 32 million MBO of CSL DualCom".
12 Jan 2012.
d) Sampson, Rana, False Burglar Alarms 2nd Edition (PDF), US
06.
g) Harrelson, Chuck, Audio Verification Equals More
88