Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Quizz-03

Topic: Metal detector, guided by display and LED + sound beep.


Course Title: Introduction To Robotics

Course Code: CSE-444

Submitted To
Mahimul Islam Nadim
Lecturer Of Daffodil International University
Department Of CSE

Submitted By
S.M Shohanur Hossain Sourav(181-15-1965)

Section : PC-C

Group : 10

Submission Date: 17-08-2021


Content List:

1. Project Name ----------------------------------------------------- 2

2. Introduction ----------------------------------------------------- 2

3. Required Components ----------------------------------------------------- 2

4. Circuit Diagram ----------------------------------------------------- 3

5. Working Process ----------------------------------------------------- 3

6. Result ----------------------------------------------------- 4

7. About the project ----------------------------------------------------- 4

8. Conclusion ----------------------------------------------------- 5

9. Reference ----------------------------------------------------- 5

1
Project name:
Metal detector, guided by display and LED + sound beep.

Introduction:
Metal Detector is a security device which is used for detecting metals which can be
harmful, at various places like Airports, shopping malls, cinemas, etc. In this project,
we are going to use a coil and capacitor which will be responsible for the detection
of metals. Here we have used an Arduino Nano to build this metal detector project.
Wherever this detector detects any metal near it, the buzzer starts beeping very
rapidly.

Required Components:

The following components were used in our project

1. Arduino (any)
2. Coil
3. 10nF capacitor
4. Buzzer
5. The 1k resistor
6. 330-ohm resistor
7. LED
8. 1N4148 diode
9. Breadboard or PCB
10. LCD Display
11. Connecting Jumper Wire
12. 9v Battery

2
Circuit Diagram:

Working Process:
Working of this Metal Detector is a bit tricky. At first we completed all of the
connection as the diagram we drew. Here we provide the block wave or pulse,
generated by Arduino, to the LR (Resistor-Inductor Circuit) high pass filter. Due to
this, short spikes will be generated by the coil in every transition. The pulse length of
the generated spikes is proportional to the inductance of the coil. So with the help of
these spike pulses, we can measure the inductance of coil.

But here it is difficult to measure inductance precisely with those spikes because
those spikes are of very short duration (approx. 0.5 microseconds) and that is very

3
difficult to be measured by Arduino. So instead of this, we used a capacitor that is
charged by the rising pulse or spike. And it required few pulses to charge the
3capacitor to the point where its voltage can be read by Arduino analog pin A5. Then
Arduino read the voltage of this capacitor by using ADC.

We have connected a LCD display to our project so that we can print some text and
see through it.

After reading voltage, the capacitor quickly discharged by making the pin as output
and setting it to low. This whole process takes around 200 microseconds to
complete.

Result:
We print a text which says “Metal detected” in the LCD display if it sense a metal.
And when it can’t sense a metal it will print a text “No Metal detected” in the LCD
display. For better result, we repeat measurements and took an average of the
results. That’s how we can measure the approximate inductance of Coil. After
getting the result we transfer the results to the LED and buzzer to detect the
presence of metal.

About the project:


In this project we built a simple metal detector using Arduino nano. When it sense
a metal the LED will blink, buzzer will beep a sound and show a text in the LCD
display “Metal detected”. We wrote a code in the Arduino software to control all of
this. In the programming part of this project, we have used two Arduino pins, one
for generating block waves to be fed in Coil and second analog pin to read capacitor
voltage. Other than these two pins, we have used three more Arduino pins for
connecting LED, LCD Display and buzzer.

4
Conclusion:
We think this is a great project as a beginner. Though we have some limitations but
we think in future we can develop this project into a bigger one. Also we think we
have the ability to make more projects like this.

Reference:
https://circuitdigest.com/microcontroller-projects/arduino-metal-detector-circuit-
code

You might also like