SlideShare a Scribd company logo
IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE)
e-ISSN: 2278-1676,p-ISSN: 2320-3331, Volume 10, Issue 1 Ver. I (Jan – Feb. 2015), PP 80-87
www.iosrjournals.org
DOI: 10.9790/1676-10118087 www.iosrjournals.org 80 | Page
Microcontroller-Based Metal Detection System with GSM
Technology
1
B.O. Omijeh, 2
G.O.Ajabuego, 3
L.T. Osikibo
1
Department of Electronic and Computer Engineering, Rivers State University of Science & Technology, Rivers
State, Nigeria
2
Department of Electrical Engineering University of Port Harcourt, Rivers State, Nigeria
3
Department of Electrical Engineering, Rivers State University of Science & Technology, Rivers State, Nigeria
Abstract: In this paper, a Metal Detection System with GSM technology has been presented. The system senses
or detects a metallic object and sends an alert message in form of an SMS text to an embedded security GSM
number for further actions. The design methodology employed in this work, consist of the following stages:
Power Supply Unit , Metal Detectors, Modem for SMS and Call (cell phone), Graphical Liquid Crystal Display
(GLCD), Microcontroller and the Multiplexer unit for selecting detector ports. The design specification was
strictly followed with series of experimental tests. The results obtained were quite satisfactory. If design is fully
implemented in restricted areas like Banks, Airports etc, it would help to detect unwanted dangerous metallic
objects like guns or sharp objects carried by suspicious persons; and thereby contributing greatly to the
reduction of crime rate.
Key Words: Microcontroller-based, Metal Detection System, GSM Technology.
I. Introduction
Security of lives and property has always been a major concern for a very long time. In the olden days,
voodoo practices were very common in protection while in later times, traps made of sharp and harmful objects
came into use. In recent times, technology has introduced more sophisticated methods of preventing loss of lives
and property such as electronic security systems (alarms). Surveillance is defined as a close watch, especially
one kept over a prisoner (Lorimer et al 1995). The emphasis in the above definition is in the clause „a close
watch.‟ At this point, it is important to note that close watch can be kept on virtually everybody and not just
prisoners. Several techniques can be employed in executing this close watch and these are embedded in the
surveillance technology.
Surveillance Technology is used to scrutinize and sometimes record the actions of others either overtly
(openly) or covertly (secretly). It is not the actual technology but its use that brings a technology into this
category. Hence sociologists have suggested the term “surveillance-capable technology”.
Consider a situation where an intruder enters an environment with a harmful metal hidden somewhere.
A security personnel stationed at the entrance may not find the metal even after searching, due to a number of
reasons such as incomplete search. This may eventually lead to loss of property, and even lives because the
entire environment will be taken unawares.
With a metal detector, the metal will be automatically detected and an alarm will be raised, but in this
case, through a GSM cell phone (Grosvenor, 1998).
There is a power supply unit that supplies power to the metal detectors, microcontroller and the GLCD.
A serial data cable interface will be created to establish communication between the microcontroller and the cell
phone. The GLCD acts as a means of communication between the user and the metal detection system. A
multiplexer under the control of the microcontroller is present and it selects the right metal detector port to be
connected to the counter resource of the microcontroller. The microcontroller coordinates all activities in the
system. The metal detectors are responsible for recognising the presence of metals. The AT commands
compatible modem (cell phone) is used to call or send SMS to a stored phone number when a metal has been
detected.
Metal detectors use electromagnetic induction to detect metal. They are used in de-mining (the
detection of land mines), the detection of weapons such as knives and guns, especially at airports, geophysical
prospecting, archaeology and treasure hunting.
In its simplest form, a metal detector consists of an oscillator producing an alternating current that
passes through a coil producing an alternating magnetic field. If a piece of electrically conductive metal is close
to the coil, eddy currents will be induced in the metal, and this produces an alternating magnetic field of its own.
If another coil is used to measure the magnetic field (acting as a magnetometer), the change in the magnetic
field due to the metallic object can be detected.
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 81 | Page
II. History
The modern development of the metal detector began in the 1930s. Gerhard Fisher had developed a
system of radio direction-finding, which was to be used for accurate navigation. The system worked extremely
well, but Fisher noticed that there were anomalies in areas where the terrain contained ore-bearing rocks. He
reasoned that if a radio beam could be distorted by metal, then it should be possible to design a machine which
would detect metal using a search coil resonating at a radio frequency. In 1937 he applied for, and was granted,
the first patent for a metal detector. However, it was one Lieutenant Josef Stanislaw Kosacki, a Polish officer
attached to a unit stationed in St Andrews, Fife, Scotland during the early years of World War II, that refined the
design into a practical detector. They were heavy, ran on vacuum tubes, and needed separate battery packs
(Wikipedia, 2008).
A microcontroller is a single chip that contains the processor (the CPU), non-volatile memory for the
program (ROM or flash), volatile memory for input and output (RAM), a clock and an I/O control unit. It is also
called a “computer on a chip”.
There is a power supply unit that supplies power to the metal detectors, microcontroller and the GLCD.
A serial data cable interface will be created to establish communication between the microcontroller and the cell
phone. The GLCD acts as a means of communication between the user and the metal detection system. A
multiplexer under the control of the microcontroller is present and it selects the right metal detector port to be
connected to the counter resource of the microcontroller. The microcontroller coordinates all activities in the
system. The metal detectors are responsible for recognising the presence of metals. The AT commands
compatible modem (cell phone) is used to call or send SMS to a stored phone number when a metal has been
detected.
III. Design
Hardware Design
The hardware consists of Metal Detectors, Modem for SMS and Call (cell phone), Graphical Liquid
Crystal Display (GLCD), Microcontroller, Multiplexer for selecting detector ports, Switching devices, Power
Supply Unit (fig 1).
The metal detectors are based on the concept of change of inductance of an inductor which is caused by
mutual inductance with a neighbouring metal or ferromagnetic material. The diagram is shown in fig 2.
The modem is a device that interfaces our metal detection system to a remote using the existing
telecommunication (e.g. GSM) infrastructure. This modem could be any type compatible with the Hayes AT
commands standard.
The GLCD is based on EPSON‟s S1D15G14 colour LCD driver. A cheaply available source of this
LCD is the Nokia 3510i screen. This chip has the ability to realize a stable 12bit colour with onboard LCD
driving voltage generation capability. The LCD can be connected to a microcontroller directly via a serial or
parallel interface. The package we are using uses the serial interface mode. The controller is capable of driving
104 by 82 pixels at 12bits. A single dot of pixel on the screen corresponds to 4 bits on the DDRAM. The block
diagram is shown in fig 3.
This microcontroller is an intelligent manager that coordinates all activities. This includes reading
metal detector, communicating with the modem and a user interface via the menu style buttons. The selection of
the microcontroller was simply based availability. The ideal processor should be able to handle required
throughput of the GLCD, being the most demanding in terms of processing time. This is because of the sheer
amount of data to be clocked in every refresh cycle. The block diagram is shown in fig 4.
The multiplexer under the control of microcontroller selects the right metal detector port to be
connected to the counter resource of the controller. The multiplexer was “realized” from gates combined
together. The realization was done using three NAND gates, three NOT gates and an OR gate. The schematic is
shown in fig 5.
Switching devices are devices used for making or breaking circuits. They are of different types namely;
toggle switch, rotary switch and push button switch. In this project, we used push button switches.
Four push button switches were used and they serve the following purposes:
Menu Button: When this switch is pressed, the menu is displayed on the GLCD. The menus are; call level (call
threshold value), SMS level (SMS threshold value), clear errors, number location SIM.
Zero Button: When this button is pressed, the metal detector coils are zeroed. This is measuring the stable
frequency without any metal change. When there is a change in metal level, there is also a change in frequency.
Up and Down Buttons: These buttons are used for scrolling between the menus.
This project requires three voltage levels namely 12V to power the detector, 3.3Vvolts for the GLCD and 5V for
the digital logic and the microcontroller. The integrity and quality of the power supply to a great deal determine
the stability of components like the microcontroller and a steady image from the GLCD. The voltages are
generated from standard three-terminal fixed and variable voltage regulators. The step down transformer takes
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 82 | Page
in an unregulated 220V AC from the wall mains and steps it down to a more manageable 18V. This is in turn
rectified by a regular bridge rectifier and filtered with a 1000uf 25V aluminum oxide electrolytic capacitor. The
12V is generated from a 7812 fixed regulator. 5V is generated from 7805 and the 3.3V from the LM317. The
circuit diagram is shown in fig 6 (Tocci, 2004; Theraja, 2005)
Fig 1: Block Diagram of the Hardware
Fig 2: Metal Detector Schematic
Capacitor, C= 10nF, Number of turns, N=14, Diameter of the coil, D=22cm
Radius of the coil, r = = 11cm, Length of the coil, l=7.4cm = 0.074m
The cross-sectional area of the coil, which is circular, is given by,
, A = π×11² = 380.13cm²=0.038013m²
In accordance with electromagnetic theory, the inductance of an inductor is given by,
L= . Where µ is the permeability of the coil
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 83 | Page
, L= = × , ; but =
(Alexander, 2000).
, ,
Fig 3: Block Diagram of GLCD
Fig 4: Pin Diagram of the Microcontroller
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 84 | Page
Fig 5: Diagram of Multiplexer with Three Channels
Fig 6: Circuit Diagram of the Power Supply Unit
The DC power supply produces a steady and regulated flow of voltage to all components of the system except
the GSM phone. Fig. 7 shows a block diagram of the component parts and stages of the power supply system.
TRANSFORMER RECTIFIER FILTER REGULATOR
FROM
AC
MAINS
TO
LOAD
Fig 7: Block Diagram of Power Supply Unit
Transformer: The transformer is an electrical device that transforms energy from one circuit to another by
magnetic coupling with no moving parts. A transformer comprises two or more coupled windings or single
tapped winding and in most cases, a magnetic core to concentrate magnetic flux. Transformers are used to
convert between high and low voltages, to change impedance, and to provide electrical isolation between
circuits.
If a time-varying voltage, is applied to the primary winding of turns, a current will flow in it producing a
magneto-motive force ( ). Just as an electromotive force ( ) drives current around an electric circuit,
so drives magnetic flux through a magnetic circuit. The primary produces a varying magnetic flux
in the core, and with an open circuit secondary winding, induces a back electromotive force in opposite to
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 85 | Page
. In accordance with Faraday‟s law of induction, the voltage induced across the primary winding is
proportional to the rate of change of flux.
t
p
NpVp


 and
t
s
NsVs


 . Where,
and are the voltages across the primary and secondary windings.
and are the number of turns in the primary and secondary windings.
and are the derivatives of the flux with respect to time of the primary and secondary
windings.
For the primary and secondary windings to be perfectly coupled, = . Substituting and solving for the
voltages shows that,
Ns
Np
Vs
Vp
 .Where, and are voltages across primary and secondary respectively.
and are the number of turns in the primary and secondary respectively.
However, in this project, a 50Hz 220V/18V, step-down transformer is used. Thus, the ratio of the primary
windings to the secondary winding is approximately 12:1.
Rectifier: The rectifier is an electrical device comprising one or more semiconductor devices (such as diodes)
or vacuum tubes arranged for converting alternating current to direct current. When one diode is used to rectify
AC (by blocking the negative or positive portion of the waveform) it is called a rectifier. The difference between
the term diode and the term rectifier is merely one of usage. For example the diode retains its name when used
in DC to block flow of current. Fig.8 shows a typical sinusoidal measuring.
AVV = 0.637 × PV
V = 0.707 × VRMS P
VP
Fig 8: Measuring sinusoidal alternating current
A little algebra can be used to relate root mean square ( ) values to average values:
VpVav  637.0 (1)
VpVrms  707.0 (2)
From 2,
707.0
Vrms
Vp  (3)
Substituting the RHS of (3) and (1)
Vrms
Vrms
Vav  9.0
707.0
637.0 (For Full-wave cases)
VrmsVrmsVac  45.0
2
9.0
(For Half-wave cases)
In this work, a full-wave rectifier (bridge rectifier) was used.
Filter: A filter is a circuit used to remove AC components from pulsating DC just after rectification. There are
several filtering techniques used in electronic power supply circuits. In this work, a capacitive filter was used.
Regulator: Various kinds of regulators are used for voltage regulation in electronic power supply circuits. IC
regulator units contain the circuitry for reference source, comparator amplifier, control device and overload
protection all in a single IC. IC regulators provide regulation of a fixed positive voltage, fixed negative voltage,
or an adjustably set voltage. For this project, a three terminal IC regulator unit providing regulation of a fixed
positive voltage is used.
Various models of IC voltage regulators exist by virtue of the regulation provided. So, positive voltage
regulators in 7800 series include 7805, 7806, 7808, 7810 and so on. In this project, we used 7805, 7812 and
LM317 since 5V, 12V and 3.3V are required to power the metal detectors, microcontroller and GLCD
respectively.
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 86 | Page
Software Design
The software running on the microcontroller was edited compiled and programmed using Mikrobasic
V5.03 integrated development environment. It features a basic-like syntax and a large library for commonly
used peripherals. The programming style is basically a procedural structure with an element of multitasking
used in setting MODEM_DETEC flag (a flag used to signify modem detection). Two user-defined pre-compiled
libraries namely ATLIB.PBAS and NOKIA_3510i_LCD.pbas were used to communicate with the Modem and
GLCD respectively. The code consist basically of four routines namely (Mikro Elektronika ,2007; Anon, 2008)
1. Initialization
2. Metal Find
3. Modem Communicate
4. User Interface
Each of this procedure handle unique aspects as hinted by their names by calling many other set of functions.
The flow chart for the software design is shown in fig 8.
IV. Testing And Results
A scenario was created with a metallic objects brought close to the operational range of the
microcontroller-based metallic detector. It was strongly observed that the metallic object was detected by the
constructed device and the microcontroller sent a message through a data cable to GSM cell phone representing
a stored security number for necessary action . The data cable acts as an interface between the microcontroller
and the cell phone, there is also an interface between the microcontroller and a Liquid Crystal Display (LCD).
Sending this message to the stored security number was made possible by use of a high level language with the
help of a compiler. The programming language used is known as mikrobasic. Test was repeated several times
and the results obtained were very satisfactory.
Fig 9: Flow Chart for the Main Software
Microcontroller-Based Metal Detection System with GSM Technology
DOI: 10.9790/1676-10118087 www.iosrjournals.org 87 | Page
V. Conclusion
A metal detector controlled by a microcontroller with GSM technology been designed .With minimal
cost, a microcontroller based metal detection system with a GSM modem can be constructed with an efficient
performance. If the GSM phone must be put into another use beside its initial use (especially in domestic cases),
it is recommended that the interface between the microcontroller and GSM phone be wireless .
References
[1]. Alexander, C.K. and Sadiku, M.N.O. (2000): Fundamentals of Electric Circuits, McGraw-Hill Companies, USA, Pg. 212
[2]. Anon, 2008: www.bbc.co.uk/coast/programmes/09-john-o-groats-berwick.shtml, 25/09/2008
[3]. Grosvenor, Edwin S. and Wesson, Morgan (1997): Alexander Graham Bell: The Life and Times of the Man Who Invented the
Telephone, Harry N. Abrahms, Inc., New York, USA, Pg. 107. ISBN 0-8109-4005-1.
[4]. Microchip , 2001: www.microchip.com.
[5]. Mikro Elektronika (2007): Programming PIC Microcontrollers in BASIC, www.mikroelektronika.com
[6]. Lorimer and Lechner (1995): The New Webster’s Dictionary of the English Language, International Edition, Lexicon
Publications Incorporated, New York, USA, Pg. 996.
[7]. Theraja, B.L. and Theraja, A.K. (2005): A Textbook of Electrical Technology, Revised 24th
Edition, S. Chand & Company Ltd.,
New Delhi, India, Pg. 2408-2411
[8]. Tocci, R.J., Widmer, N.S. and Moss, G.L. (2004): Digital Systems Principles and Applications, 9th
Edition, Pearson Education,
Inc., New Jersey, USA, Pg 74-77
[9]. Wikipedia 2008:www.en.wikipedia.org, 25/09/2008
Authors Biography
Bourdillon .O. Omijeh holds a B.Eng degree in Electrical/Electronic Engineering, M.Eng and Ph.D Degrees
in Electronics/Telecommunications Engineering from the University of Port Harcourt & Ambrose Alli
University (A.A.U), Ekpoma respectively. His research areas include: Artificial Intelligence, Robotics,
Embedded Systems Design, Modeling and Simulation of Dynamic systems, Intelligent Metering Systems,
Automated Controls, Telecommunications and ICT. He has over thirty (30) technical papers & publications in
reputable International learned Journals and also, has developed over ten(10) application Software. He is a
member, Institute of Electronics and Electrical Engineers (MIEEE), Member, Nigeria Society of Engineers;
and also, a Registered Engineer (COREN). He is currently a Senior Lecturer & pioneer HOD, Department of
Electronic and Computer Engineering, University of Port Harcourt, Nigeria; and also, a consultant to companies
& Institutions. He is happily married with Children.
Ajabuego, G.O holds a B.Eng and M.Eng degrees in Electrical/Electronic Engineering. His research areas are
Electrical Service design, Power Electronic, Electromagnetic Fields & Waves, Renewable Energy etc. He has
quality Journal articles and publications. He is a member, Institute of Electronics and Electrical Engineers
(MIEEE), Member, Nigeria Society of Engineers; and also, a Registered Engineer (COREN). He is currently a
lecturer with wealth of experience in the department of Electrical Engineering, University of Port Harcourt. He
is happily married with Children.
Osikibo, L.T. holds B.Eng in Electrical/ Electronic Engineering, Rivers State University of Science and
Technology, and MSc in Instrument &Control Engr (UK).His research interest is in Telecommunication,
Instrumentation, Control, Automation, Robotics and Mechatronics. He is currently a lecturer in the Department
of Electrical and Computer Engineering, Rivers State University of Science and Technology,
Port Harcourt-Nigeria

More Related Content

PDF
Applications Of Mems In Robotics And Bio Mems Using Psoc With Metal Detector ...
PDF
Zigbee Controlled Multi Functional Surveillance Spy Robot for Military Applic...
PDF
Poster_robotics (1)
PPTX
MILITARY ROBOT BASED ON IOT
PDF
IRJET- Wireless Multifunctional Robot for Military Applications
DOCX
Wireless industrial robot
PDF
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
PDF
Wireless AI based industrial security robot
Applications Of Mems In Robotics And Bio Mems Using Psoc With Metal Detector ...
Zigbee Controlled Multi Functional Surveillance Spy Robot for Military Applic...
Poster_robotics (1)
MILITARY ROBOT BASED ON IOT
IRJET- Wireless Multifunctional Robot for Military Applications
Wireless industrial robot
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
Wireless AI based industrial security robot

What's hot (11)

DOCX
Wireless Bomb Disposal Robot
PDF
IRJET - Footstep Power Generation using Piezo Electric Sensor
PDF
A Smart Handheld Measuring and Testing Electronic Device with Touch Screen
PPTX
Fingerprint Biometrics
PDF
Bachelors Project Report Presentation
DOCX
Smart door project report shivnaresh likhar
PPTX
Arduino interfacing with bluetooth.
PDF
PERSON ALIVE DETECTION
PPTX
Design, Construction and Performance Test of a Color Sorter
PDF
Epoch 2 single sheet english
PPTX
Home automatin
Wireless Bomb Disposal Robot
IRJET - Footstep Power Generation using Piezo Electric Sensor
A Smart Handheld Measuring and Testing Electronic Device with Touch Screen
Fingerprint Biometrics
Bachelors Project Report Presentation
Smart door project report shivnaresh likhar
Arduino interfacing with bluetooth.
PERSON ALIVE DETECTION
Design, Construction and Performance Test of a Color Sorter
Epoch 2 single sheet english
Home automatin
Ad

Viewers also liked (20)

PDF
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
PDF
New Approach for Determination of Propagation Model Adapted To an Environment...
PDF
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
PDF
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
PDF
Car Dynamics using Quarter Model and Passive Suspension, Part VI: Sprung-mass...
PDF
Experimental Analysis on Performance Improvement of Diesel Engine Utilizing A...
PDF
Analysis of Spending Pattern on Credit Card Fraud Detection
PDF
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
PDF
Design and Analysis of Image as A Street Light
PDF
A Survey on Mobile Forensic for Android Smartphones
PDF
Data mining Algorithm’s Variant Analysis
PDF
Determination ofRadiological Quality Parameters Using Optical Densitometer an...
PDF
Modelling of PV Array with MPP Tracking & Boost DC-DC Converter
PDF
Security Issues in Next Generation IP and Migration Networks
PDF
Closed-Form Expressions for Moments of Two-Way Slabs under Concentrated Loads
PDF
Assessment of the Heavy Metal Levels in Feeds and Litters of Chickens Rose wi...
PDF
Encryption Technique for a Trusted Cloud Computing Environment
PDF
Numerical Simulation of 퐒퐢ퟏ−퐱퐆퐞퐱 Thin Film Solar Cell Using AMPS - 1D
PDF
Literature Survey on Detection of Brain Tumor from MRI Images
PDF
The Use of Non Wood Forest Product as Income Generation in Semi Arid Zone Cas...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
New Approach for Determination of Propagation Model Adapted To an Environment...
The Effect of Imbalance on the Performance of Unpaced Production Line – A Mat...
On Some Types of Fuzzy Separation Axioms in Fuzzy Topological Space on Fuzzy ...
Car Dynamics using Quarter Model and Passive Suspension, Part VI: Sprung-mass...
Experimental Analysis on Performance Improvement of Diesel Engine Utilizing A...
Analysis of Spending Pattern on Credit Card Fraud Detection
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Design and Analysis of Image as A Street Light
A Survey on Mobile Forensic for Android Smartphones
Data mining Algorithm’s Variant Analysis
Determination ofRadiological Quality Parameters Using Optical Densitometer an...
Modelling of PV Array with MPP Tracking & Boost DC-DC Converter
Security Issues in Next Generation IP and Migration Networks
Closed-Form Expressions for Moments of Two-Way Slabs under Concentrated Loads
Assessment of the Heavy Metal Levels in Feeds and Litters of Chickens Rose wi...
Encryption Technique for a Trusted Cloud Computing Environment
Numerical Simulation of 퐒퐢ퟏ−퐱퐆퐞퐱 Thin Film Solar Cell Using AMPS - 1D
Literature Survey on Detection of Brain Tumor from MRI Images
The Use of Non Wood Forest Product as Income Generation in Semi Arid Zone Cas...
Ad

Similar to Microcontroller-Based Metal Detection System with GSM Technology (20)

DOCX
Babatunde undergraduate project
DOC
CBSE Class XII physics practical project on Metal detector
PDF
Design and Implementation of a Sophisticated Metal Detector Used in the Field...
PDF
DEVELOPMENT OF AUTOMATIC GEOFENCING AND ACCIDENTAL MONITORING SYSTEM BASED ON...
PDF
Theory of metal detector by Amit sahu
PPTX
new slide jshdvshsbnsksbsbsjsj1_091409.pptx
PDF
Design and implementation of a directional
PDF
Technovision-paper
PDF
Micro mdh 6001-6001o datasheet
PDF
MICRO بوابات كشف المعادن والاسلحة الكورية مايكرو
PDF
REMOTE MEASUREMENT SYSTEM GROUND SHIFT WITH GSM
PDF
RFID based women safety system with Autonomus Street
PDF
Ieeepro techno solutions ieee 2014 embedded project design and constructio...
PPTX
PDF
Coalmine safety system with zigbee specification
PDF
Online monitoring of greenhouse gases leakage by using gsm
PPT
Super sensitive industrial security system ppt
PDF
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
PDF
IRJET- Low-Cost DTMF Controlled Landmine Detection Rover
PDF
Mg3620962101
Babatunde undergraduate project
CBSE Class XII physics practical project on Metal detector
Design and Implementation of a Sophisticated Metal Detector Used in the Field...
DEVELOPMENT OF AUTOMATIC GEOFENCING AND ACCIDENTAL MONITORING SYSTEM BASED ON...
Theory of metal detector by Amit sahu
new slide jshdvshsbnsksbsbsjsj1_091409.pptx
Design and implementation of a directional
Technovision-paper
Micro mdh 6001-6001o datasheet
MICRO بوابات كشف المعادن والاسلحة الكورية مايكرو
REMOTE MEASUREMENT SYSTEM GROUND SHIFT WITH GSM
RFID based women safety system with Autonomus Street
Ieeepro techno solutions ieee 2014 embedded project design and constructio...
Coalmine safety system with zigbee specification
Online monitoring of greenhouse gases leakage by using gsm
Super sensitive industrial security system ppt
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IRJET- Low-Cost DTMF Controlled Landmine Detection Rover
Mg3620962101

More from IOSR Journals (20)

PDF
A011140104
PDF
M0111397100
PDF
L011138596
PDF
K011138084
PDF
J011137479
PDF
I011136673
PDF
G011134454
PDF
H011135565
PDF
F011134043
PDF
E011133639
PDF
D011132635
PDF
C011131925
PDF
B011130918
PDF
A011130108
PDF
I011125160
PDF
H011124050
PDF
G011123539
PDF
F011123134
PDF
E011122530
PDF
D011121524
A011140104
M0111397100
L011138596
K011138084
J011137479
I011136673
G011134454
H011135565
F011134043
E011133639
D011132635
C011131925
B011130918
A011130108
I011125160
H011124050
G011123539
F011123134
E011122530
D011121524

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Project quality management in manufacturing
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
additive manufacturing of ss316l using mig welding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
web development for engineering and engineering
PDF
Well-logging-methods_new................
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
Internet of Things (IOT) - A guide to understanding
Operating System & Kernel Study Guide-1 - converted.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Project quality management in manufacturing
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
additive manufacturing of ss316l using mig welding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
web development for engineering and engineering
Well-logging-methods_new................
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mechanical Engineering MATERIALS Selection
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Foundation to blockchain - A guide to Blockchain Tech
CH1 Production IntroductoryConcepts.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
bas. eng. economics group 4 presentation 1.pptx
Sustainable Sites - Green Building Construction
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Digital Logic Computer Design lecture notes
Internet of Things (IOT) - A guide to understanding

Microcontroller-Based Metal Detection System with GSM Technology

  • 1. IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-ISSN: 2278-1676,p-ISSN: 2320-3331, Volume 10, Issue 1 Ver. I (Jan – Feb. 2015), PP 80-87 www.iosrjournals.org DOI: 10.9790/1676-10118087 www.iosrjournals.org 80 | Page Microcontroller-Based Metal Detection System with GSM Technology 1 B.O. Omijeh, 2 G.O.Ajabuego, 3 L.T. Osikibo 1 Department of Electronic and Computer Engineering, Rivers State University of Science & Technology, Rivers State, Nigeria 2 Department of Electrical Engineering University of Port Harcourt, Rivers State, Nigeria 3 Department of Electrical Engineering, Rivers State University of Science & Technology, Rivers State, Nigeria Abstract: In this paper, a Metal Detection System with GSM technology has been presented. The system senses or detects a metallic object and sends an alert message in form of an SMS text to an embedded security GSM number for further actions. The design methodology employed in this work, consist of the following stages: Power Supply Unit , Metal Detectors, Modem for SMS and Call (cell phone), Graphical Liquid Crystal Display (GLCD), Microcontroller and the Multiplexer unit for selecting detector ports. The design specification was strictly followed with series of experimental tests. The results obtained were quite satisfactory. If design is fully implemented in restricted areas like Banks, Airports etc, it would help to detect unwanted dangerous metallic objects like guns or sharp objects carried by suspicious persons; and thereby contributing greatly to the reduction of crime rate. Key Words: Microcontroller-based, Metal Detection System, GSM Technology. I. Introduction Security of lives and property has always been a major concern for a very long time. In the olden days, voodoo practices were very common in protection while in later times, traps made of sharp and harmful objects came into use. In recent times, technology has introduced more sophisticated methods of preventing loss of lives and property such as electronic security systems (alarms). Surveillance is defined as a close watch, especially one kept over a prisoner (Lorimer et al 1995). The emphasis in the above definition is in the clause „a close watch.‟ At this point, it is important to note that close watch can be kept on virtually everybody and not just prisoners. Several techniques can be employed in executing this close watch and these are embedded in the surveillance technology. Surveillance Technology is used to scrutinize and sometimes record the actions of others either overtly (openly) or covertly (secretly). It is not the actual technology but its use that brings a technology into this category. Hence sociologists have suggested the term “surveillance-capable technology”. Consider a situation where an intruder enters an environment with a harmful metal hidden somewhere. A security personnel stationed at the entrance may not find the metal even after searching, due to a number of reasons such as incomplete search. This may eventually lead to loss of property, and even lives because the entire environment will be taken unawares. With a metal detector, the metal will be automatically detected and an alarm will be raised, but in this case, through a GSM cell phone (Grosvenor, 1998). There is a power supply unit that supplies power to the metal detectors, microcontroller and the GLCD. A serial data cable interface will be created to establish communication between the microcontroller and the cell phone. The GLCD acts as a means of communication between the user and the metal detection system. A multiplexer under the control of the microcontroller is present and it selects the right metal detector port to be connected to the counter resource of the microcontroller. The microcontroller coordinates all activities in the system. The metal detectors are responsible for recognising the presence of metals. The AT commands compatible modem (cell phone) is used to call or send SMS to a stored phone number when a metal has been detected. Metal detectors use electromagnetic induction to detect metal. They are used in de-mining (the detection of land mines), the detection of weapons such as knives and guns, especially at airports, geophysical prospecting, archaeology and treasure hunting. In its simplest form, a metal detector consists of an oscillator producing an alternating current that passes through a coil producing an alternating magnetic field. If a piece of electrically conductive metal is close to the coil, eddy currents will be induced in the metal, and this produces an alternating magnetic field of its own. If another coil is used to measure the magnetic field (acting as a magnetometer), the change in the magnetic field due to the metallic object can be detected.
  • 2. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 81 | Page II. History The modern development of the metal detector began in the 1930s. Gerhard Fisher had developed a system of radio direction-finding, which was to be used for accurate navigation. The system worked extremely well, but Fisher noticed that there were anomalies in areas where the terrain contained ore-bearing rocks. He reasoned that if a radio beam could be distorted by metal, then it should be possible to design a machine which would detect metal using a search coil resonating at a radio frequency. In 1937 he applied for, and was granted, the first patent for a metal detector. However, it was one Lieutenant Josef Stanislaw Kosacki, a Polish officer attached to a unit stationed in St Andrews, Fife, Scotland during the early years of World War II, that refined the design into a practical detector. They were heavy, ran on vacuum tubes, and needed separate battery packs (Wikipedia, 2008). A microcontroller is a single chip that contains the processor (the CPU), non-volatile memory for the program (ROM or flash), volatile memory for input and output (RAM), a clock and an I/O control unit. It is also called a “computer on a chip”. There is a power supply unit that supplies power to the metal detectors, microcontroller and the GLCD. A serial data cable interface will be created to establish communication between the microcontroller and the cell phone. The GLCD acts as a means of communication between the user and the metal detection system. A multiplexer under the control of the microcontroller is present and it selects the right metal detector port to be connected to the counter resource of the microcontroller. The microcontroller coordinates all activities in the system. The metal detectors are responsible for recognising the presence of metals. The AT commands compatible modem (cell phone) is used to call or send SMS to a stored phone number when a metal has been detected. III. Design Hardware Design The hardware consists of Metal Detectors, Modem for SMS and Call (cell phone), Graphical Liquid Crystal Display (GLCD), Microcontroller, Multiplexer for selecting detector ports, Switching devices, Power Supply Unit (fig 1). The metal detectors are based on the concept of change of inductance of an inductor which is caused by mutual inductance with a neighbouring metal or ferromagnetic material. The diagram is shown in fig 2. The modem is a device that interfaces our metal detection system to a remote using the existing telecommunication (e.g. GSM) infrastructure. This modem could be any type compatible with the Hayes AT commands standard. The GLCD is based on EPSON‟s S1D15G14 colour LCD driver. A cheaply available source of this LCD is the Nokia 3510i screen. This chip has the ability to realize a stable 12bit colour with onboard LCD driving voltage generation capability. The LCD can be connected to a microcontroller directly via a serial or parallel interface. The package we are using uses the serial interface mode. The controller is capable of driving 104 by 82 pixels at 12bits. A single dot of pixel on the screen corresponds to 4 bits on the DDRAM. The block diagram is shown in fig 3. This microcontroller is an intelligent manager that coordinates all activities. This includes reading metal detector, communicating with the modem and a user interface via the menu style buttons. The selection of the microcontroller was simply based availability. The ideal processor should be able to handle required throughput of the GLCD, being the most demanding in terms of processing time. This is because of the sheer amount of data to be clocked in every refresh cycle. The block diagram is shown in fig 4. The multiplexer under the control of microcontroller selects the right metal detector port to be connected to the counter resource of the controller. The multiplexer was “realized” from gates combined together. The realization was done using three NAND gates, three NOT gates and an OR gate. The schematic is shown in fig 5. Switching devices are devices used for making or breaking circuits. They are of different types namely; toggle switch, rotary switch and push button switch. In this project, we used push button switches. Four push button switches were used and they serve the following purposes: Menu Button: When this switch is pressed, the menu is displayed on the GLCD. The menus are; call level (call threshold value), SMS level (SMS threshold value), clear errors, number location SIM. Zero Button: When this button is pressed, the metal detector coils are zeroed. This is measuring the stable frequency without any metal change. When there is a change in metal level, there is also a change in frequency. Up and Down Buttons: These buttons are used for scrolling between the menus. This project requires three voltage levels namely 12V to power the detector, 3.3Vvolts for the GLCD and 5V for the digital logic and the microcontroller. The integrity and quality of the power supply to a great deal determine the stability of components like the microcontroller and a steady image from the GLCD. The voltages are generated from standard three-terminal fixed and variable voltage regulators. The step down transformer takes
  • 3. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 82 | Page in an unregulated 220V AC from the wall mains and steps it down to a more manageable 18V. This is in turn rectified by a regular bridge rectifier and filtered with a 1000uf 25V aluminum oxide electrolytic capacitor. The 12V is generated from a 7812 fixed regulator. 5V is generated from 7805 and the 3.3V from the LM317. The circuit diagram is shown in fig 6 (Tocci, 2004; Theraja, 2005) Fig 1: Block Diagram of the Hardware Fig 2: Metal Detector Schematic Capacitor, C= 10nF, Number of turns, N=14, Diameter of the coil, D=22cm Radius of the coil, r = = 11cm, Length of the coil, l=7.4cm = 0.074m The cross-sectional area of the coil, which is circular, is given by, , A = π×11² = 380.13cm²=0.038013m² In accordance with electromagnetic theory, the inductance of an inductor is given by, L= . Where µ is the permeability of the coil
  • 4. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 83 | Page , L= = × , ; but = (Alexander, 2000). , , Fig 3: Block Diagram of GLCD Fig 4: Pin Diagram of the Microcontroller
  • 5. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 84 | Page Fig 5: Diagram of Multiplexer with Three Channels Fig 6: Circuit Diagram of the Power Supply Unit The DC power supply produces a steady and regulated flow of voltage to all components of the system except the GSM phone. Fig. 7 shows a block diagram of the component parts and stages of the power supply system. TRANSFORMER RECTIFIER FILTER REGULATOR FROM AC MAINS TO LOAD Fig 7: Block Diagram of Power Supply Unit Transformer: The transformer is an electrical device that transforms energy from one circuit to another by magnetic coupling with no moving parts. A transformer comprises two or more coupled windings or single tapped winding and in most cases, a magnetic core to concentrate magnetic flux. Transformers are used to convert between high and low voltages, to change impedance, and to provide electrical isolation between circuits. If a time-varying voltage, is applied to the primary winding of turns, a current will flow in it producing a magneto-motive force ( ). Just as an electromotive force ( ) drives current around an electric circuit, so drives magnetic flux through a magnetic circuit. The primary produces a varying magnetic flux in the core, and with an open circuit secondary winding, induces a back electromotive force in opposite to
  • 6. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 85 | Page . In accordance with Faraday‟s law of induction, the voltage induced across the primary winding is proportional to the rate of change of flux. t p NpVp    and t s NsVs    . Where, and are the voltages across the primary and secondary windings. and are the number of turns in the primary and secondary windings. and are the derivatives of the flux with respect to time of the primary and secondary windings. For the primary and secondary windings to be perfectly coupled, = . Substituting and solving for the voltages shows that, Ns Np Vs Vp  .Where, and are voltages across primary and secondary respectively. and are the number of turns in the primary and secondary respectively. However, in this project, a 50Hz 220V/18V, step-down transformer is used. Thus, the ratio of the primary windings to the secondary winding is approximately 12:1. Rectifier: The rectifier is an electrical device comprising one or more semiconductor devices (such as diodes) or vacuum tubes arranged for converting alternating current to direct current. When one diode is used to rectify AC (by blocking the negative or positive portion of the waveform) it is called a rectifier. The difference between the term diode and the term rectifier is merely one of usage. For example the diode retains its name when used in DC to block flow of current. Fig.8 shows a typical sinusoidal measuring. AVV = 0.637 × PV V = 0.707 × VRMS P VP Fig 8: Measuring sinusoidal alternating current A little algebra can be used to relate root mean square ( ) values to average values: VpVav  637.0 (1) VpVrms  707.0 (2) From 2, 707.0 Vrms Vp  (3) Substituting the RHS of (3) and (1) Vrms Vrms Vav  9.0 707.0 637.0 (For Full-wave cases) VrmsVrmsVac  45.0 2 9.0 (For Half-wave cases) In this work, a full-wave rectifier (bridge rectifier) was used. Filter: A filter is a circuit used to remove AC components from pulsating DC just after rectification. There are several filtering techniques used in electronic power supply circuits. In this work, a capacitive filter was used. Regulator: Various kinds of regulators are used for voltage regulation in electronic power supply circuits. IC regulator units contain the circuitry for reference source, comparator amplifier, control device and overload protection all in a single IC. IC regulators provide regulation of a fixed positive voltage, fixed negative voltage, or an adjustably set voltage. For this project, a three terminal IC regulator unit providing regulation of a fixed positive voltage is used. Various models of IC voltage regulators exist by virtue of the regulation provided. So, positive voltage regulators in 7800 series include 7805, 7806, 7808, 7810 and so on. In this project, we used 7805, 7812 and LM317 since 5V, 12V and 3.3V are required to power the metal detectors, microcontroller and GLCD respectively.
  • 7. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 86 | Page Software Design The software running on the microcontroller was edited compiled and programmed using Mikrobasic V5.03 integrated development environment. It features a basic-like syntax and a large library for commonly used peripherals. The programming style is basically a procedural structure with an element of multitasking used in setting MODEM_DETEC flag (a flag used to signify modem detection). Two user-defined pre-compiled libraries namely ATLIB.PBAS and NOKIA_3510i_LCD.pbas were used to communicate with the Modem and GLCD respectively. The code consist basically of four routines namely (Mikro Elektronika ,2007; Anon, 2008) 1. Initialization 2. Metal Find 3. Modem Communicate 4. User Interface Each of this procedure handle unique aspects as hinted by their names by calling many other set of functions. The flow chart for the software design is shown in fig 8. IV. Testing And Results A scenario was created with a metallic objects brought close to the operational range of the microcontroller-based metallic detector. It was strongly observed that the metallic object was detected by the constructed device and the microcontroller sent a message through a data cable to GSM cell phone representing a stored security number for necessary action . The data cable acts as an interface between the microcontroller and the cell phone, there is also an interface between the microcontroller and a Liquid Crystal Display (LCD). Sending this message to the stored security number was made possible by use of a high level language with the help of a compiler. The programming language used is known as mikrobasic. Test was repeated several times and the results obtained were very satisfactory. Fig 9: Flow Chart for the Main Software
  • 8. Microcontroller-Based Metal Detection System with GSM Technology DOI: 10.9790/1676-10118087 www.iosrjournals.org 87 | Page V. Conclusion A metal detector controlled by a microcontroller with GSM technology been designed .With minimal cost, a microcontroller based metal detection system with a GSM modem can be constructed with an efficient performance. If the GSM phone must be put into another use beside its initial use (especially in domestic cases), it is recommended that the interface between the microcontroller and GSM phone be wireless . References [1]. Alexander, C.K. and Sadiku, M.N.O. (2000): Fundamentals of Electric Circuits, McGraw-Hill Companies, USA, Pg. 212 [2]. Anon, 2008: www.bbc.co.uk/coast/programmes/09-john-o-groats-berwick.shtml, 25/09/2008 [3]. Grosvenor, Edwin S. and Wesson, Morgan (1997): Alexander Graham Bell: The Life and Times of the Man Who Invented the Telephone, Harry N. Abrahms, Inc., New York, USA, Pg. 107. ISBN 0-8109-4005-1. [4]. Microchip , 2001: www.microchip.com. [5]. Mikro Elektronika (2007): Programming PIC Microcontrollers in BASIC, www.mikroelektronika.com [6]. Lorimer and Lechner (1995): The New Webster’s Dictionary of the English Language, International Edition, Lexicon Publications Incorporated, New York, USA, Pg. 996. [7]. Theraja, B.L. and Theraja, A.K. (2005): A Textbook of Electrical Technology, Revised 24th Edition, S. Chand & Company Ltd., New Delhi, India, Pg. 2408-2411 [8]. Tocci, R.J., Widmer, N.S. and Moss, G.L. (2004): Digital Systems Principles and Applications, 9th Edition, Pearson Education, Inc., New Jersey, USA, Pg 74-77 [9]. Wikipedia 2008:www.en.wikipedia.org, 25/09/2008 Authors Biography Bourdillon .O. Omijeh holds a B.Eng degree in Electrical/Electronic Engineering, M.Eng and Ph.D Degrees in Electronics/Telecommunications Engineering from the University of Port Harcourt & Ambrose Alli University (A.A.U), Ekpoma respectively. His research areas include: Artificial Intelligence, Robotics, Embedded Systems Design, Modeling and Simulation of Dynamic systems, Intelligent Metering Systems, Automated Controls, Telecommunications and ICT. He has over thirty (30) technical papers & publications in reputable International learned Journals and also, has developed over ten(10) application Software. He is a member, Institute of Electronics and Electrical Engineers (MIEEE), Member, Nigeria Society of Engineers; and also, a Registered Engineer (COREN). He is currently a Senior Lecturer & pioneer HOD, Department of Electronic and Computer Engineering, University of Port Harcourt, Nigeria; and also, a consultant to companies & Institutions. He is happily married with Children. Ajabuego, G.O holds a B.Eng and M.Eng degrees in Electrical/Electronic Engineering. His research areas are Electrical Service design, Power Electronic, Electromagnetic Fields & Waves, Renewable Energy etc. He has quality Journal articles and publications. He is a member, Institute of Electronics and Electrical Engineers (MIEEE), Member, Nigeria Society of Engineers; and also, a Registered Engineer (COREN). He is currently a lecturer with wealth of experience in the department of Electrical Engineering, University of Port Harcourt. He is happily married with Children. Osikibo, L.T. holds B.Eng in Electrical/ Electronic Engineering, Rivers State University of Science and Technology, and MSc in Instrument &Control Engr (UK).His research interest is in Telecommunication, Instrumentation, Control, Automation, Robotics and Mechatronics. He is currently a lecturer in the Department of Electrical and Computer Engineering, Rivers State University of Science and Technology, Port Harcourt-Nigeria