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

Sign In (https://www.hackster.io/users/auth/arduino?

current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmircemk%2Fdiy-simple-sensitive-metal-detector-

7f34ad)

DIY Simple Sensitive Metal Detector © GPL3+


(http://opensource.org/licenses/GPL-3.0)

Pulse induction Metal Detector. It can detect a metal coin at a distance of 15 cm


and a larger metal object at a distance of 40 cm and more.
metal detector (/projecthub/projects/tags/metal+detector)

pulse induction (/projecthub/projects/tags/pulse+induction)

sensitive (/projecthub/projects/tags/sensitive)

3,444 VIEWS 8 COMMENTS 13 RESPECTS

COMPONENTS AND SUPPLIES 

Arduino Nano R3
(/projecthub/products/buy/19172
× 1 
?
( (/proj (/projecthub/produ
s=BAhJIhMzNzQyMjQsUHJvamVjd
/ ecthu cts/buy/19172?
AY6BkVG%0A)
p b/pro s=BAhJIhMzNzQyMj
(/projecthub/pro
r ducts QsUHJvamVjdAY6B
ducts/buy/19172?
o /buy/ kVG%0A)
s=BAhJIhMzNzQy
j 19172
MjQsUHJvamVjdA
e ?
Y6BkVG%0A)
c s=BA
t hJIhM
h zNzQ
u yMjQs
b UHJva
/ mVjd
p AY6B
r kVG%
o 0A)
d
u
c
t
s
/
b
u
u
y
/
1
9
1
7
2
?
s
=
B
A
h
JI
h
M
z
N
z
Q
y
M
j
Q
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
k
V
G
%
0
A
)

Operational Amplifier, Op Amp +


Comparator + Reference
× 1 
(/projecthub/products/buy/5073
( (/proj (/projecthub/produ
8?
/ ecthu cts/buy/50738?
s=BAhJIhMzNzQyMjQsUHJvamVjd
p b/pro s=BAhJIhMzNzQyMj
(/projecthub/pro AY6BkVG%0A)
ducts/buy/50738 r ducts QsUHJvamVjdAY6B
? o /buy/ kVG%0A)
j 50738
s=BAhJIhMzNzQy
MjQsUHJvamVjdA e ?
Y6BkVG%0A) c s=BA
t hJIhM
h zNzQ
u yMjQs
b UHJva
/ mVjd
p AY6B
r kVG%
o 0A)
d
u
c
t
s
/
b
u
y
/
5
0
7
3
3
8
?
s
=
B
A
h
JI
h
M
z
N
z
Q
y
M
j
Q
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
V
G
%
0
A
)
)

IRF840 Poweer Mosfet × 1

LED (generic)
(/projecthub/products/buy/4275
× 6 
1?
( (/proj (/projecthub/produ
s=BAhJIhMzNzQyMjQsUHJvamVjd
/ ecthu cts/buy/42751?
AY6BkVG%0A)
p b/pro s=BAhJIhMzNzQyMj
(/projecthub/pro
r ducts QsUHJvamVjdAY6B
ducts/buy/42751
? o /buy/ kVG%0A)
s=BAhJIhMzNzQy j 42751
e ?
MjQsUHJvamVjdA
Y6BkVG%0A) c s=BA
t hJIhM
h zNzQ
u yMjQs
b UHJva
/ mVjd
p AY6B
r kVG%
o 0A)
d
u
c
t
s
/
b
u
y
/
4
2
7
5
1
?
s
=
B
A
h
JI
h
M
z
N
z
Q
y
M
j
Q
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
V
G
%
0
A
)

Resistors, capacitors, diodes × 1


NECESSARY TOOLS AND MACHINES 

Soldering iron (generic)

APPS AND ONLINE SERVICES 

Arduino IDE 
(https://www.arduino.cc/en/main/ (https://www.arduino.cc/en/
(https://www.ar software) main/software)
duino.cc/en/mai
n/software)

ABOUT THIS PROJECT 

This is a modified version of the well-known Russian pulse induction metal detector
called "PIRAT", this time made with the help of Arduino Nano, which greatly simplifies its
production.
DIY simple sensitive Arduino Metal Detector

It can detect a metal coin at a distance of 15 cm and a larger metal object at a distance
of 40 cm and more. That's a relatively good result considering its simplicity.
Pulse Induction (PI) Metal detector use a single coil as both transmitter and receiver. This
technology sends powerful, short bursts (pulses) of current through a coil of wire. Each
pulse generates a brief magnetic field. When the pulse ends, the magnetic field reverses
polarity and collapses very suddenly, resulting in a sharp electrical spike. This spike lasts
a few microseconds and causes another current to run through the coil. This current is
called the reflected pulse and is extremely short, lasting only about 30 microseconds.
Another pulse is then sent and the process repeats. If a piece of metal comes inside the
range of the magnetic field lines, the receive coil can detect a change in both amplitude
and phase of the received signal. The amount of amplitude change and phase change is
an indication for the size and distance of the metal, and can also be used to discriminate
between ferrous and non-ferrous metals.
The device is very simple and easy to make and contains several components:
- Arduino Nano microcontroller
- Power Mosfet transistor
- Operational Amplifier
- Few resistors and capacitors
- Search coil
- And Leds and Buzzer for indication

I presented a similar metal detector in one of my previous videos but it used a


smartphone as an indicator and needed to be calibrated very often. Unlike it, this is a
standalone device that self-calibrates by resetting the Arduino. Two lithium ion batteries
connected in series are used to power the device. This time the detector is much easier
to operate because it contains light and sound indication. Approaching the object
increases the frequency and intensity of the LED. The search coil has a diameter of 20 cm
and contains 25 turns of insulated copper wire with a cross section of 0.3 -0.5 mm
square.

CODE 

Arduino Code C/C++   (/PROJECTHUB/CODE_FILES/493828/DOWNLOAD)


2
1 // PI metal detector for arduino version_18_min (C) alex --- 1967 2015
3 int ss0 = 0;
4 int ss1 = 0;
5 int ss2 = 0;
6 long c0 = 0;
7 long c1 = 0;
8 long c2 = 0;
9 byte i = 0;
10 int sss0 = 0;
11 int sss1 = 0;
12 int sss2 = 0;
13 int s0 = 0;
14 int s1 = 0;
15 int s2 = 0;

SCHEMATICS 

S
c
h
e
m
a
t
i DOWNLOAD (HTTPS://HACKSTERIO.S3.AMAZONAWS.COM/UPLOADS/ATTACHMENTS/1233637/UNTITLED_SKETCH
c
COMMENTS 

Please log in (/projecthub/users/sign_in?


id=374224&m=project&reason=comment&redirect_to=%2Fprojecthub%2Fmircemk%2F
diy-simple-sensitive-metal-detector-7f34ad%23comments) or sign up
(/projecthub/users/sign_up?
id=374224&m=project&reason=comment&redirect_to=%2Fprojecthub%2Fmircemk%2F
diy-simple-sensitive-metal-detector-7f34ad%23comments&source=popup) to comment.

siddharth mourya (/projecthub/mouryasiddharth8)


12 days ago
(/pr
This
ojectis very nice project. Very well explained schematics concept .... but i find it hard
understanding
hub/ code. Can You please make a video explaining code, if possible.That would
be
mou very helpful. That doesn't look like regular arduino code.
ryasi
1 thank
ddha
rth8
)
johnjces (/projecthub/johnjces)
9 days ago
(/pr
The
oject"schematic" does not show ground or minus (-) dc volts connected to the Arduino
Nano.
hub/ This might cause some confusion for some as it would never work without + & -
DC power.
johnj
ces)

Mirko Pavleski (/projecthub/mircemk)


8 days ago
(/pr
Ioject
apologize, a mistake was made, now it has been corrected
hub/
1 thank
mirc
emk
)

GREII (/projecthub/greii)
4 days ago
(/pr
Hey.
oject I want to repeat your project. I do not understand the brand of the wires of the coil
of 0.4 mm or 0.4mm² ... please refine
hub/
greii
)

Mirko Pavleski (/projecthub/mircemk)


3 days ago
(/pr
.04mm
oject square
hub/
mirc
emk
)jumperd1981 (/projecthub/jumperd1981)
in 5 hours
(/pr
Do you know if I can use other N-chanel Power Mosfet? I am having a hard time finding
oject
one
hub/in my stuff...but find a ton of others...it would be helpful to know how specific I
need
jum to be.
perd
1981)
jumperd1981 (/projecthub/jumperd1981)
in 5 hours
(/pr
one
ojectmore question. What did you use to make your schematic? I have been using
various
hub/ tools to make them but that looks rather elegant in it's simplicity which I
would
jum love. Thanks.
perd
1981)

jumperd1981 (/projecthub/jumperd1981)
in 6 hours
(/pr
Ioject
am looking to see that I understand everything and have all the needed parts
etc...and
hub/ I am reviewing your code. It does not look like you declared pin outs like I
am
jumuse to seeing at the beginning. Any chance that your listed code is missing
something?
perd
1981)

AUTHOR

(/projecthub/mircemk)

Mirko Pavleski (/projecthub/mircemk)


71 PROJECTS 353 FOLLOWERS

FOLLOW (/PROJECTHUB/USERS/SIGN_UP?ID=168805&M=USER&REASON=FOLLOW&REDIRECT_

PUBLISHED ON

December 12, 2020

 RESPECT PROJECT (/PROJECTHUB/USERS/SIGN_UP?ID=374224&M=ARTICLE&REASON=RESPECT&R...

 WRITE A COMMENT

 Share

MEMBERS WHO RESPECT THIS PROJECT


(/projecthub/reyadyosf88) (/projecthub/krishanmohank974) (/projecthub/rian-

duminy-b-scs) (/projecthub/aula-jazmati) (/projecthub/randumbum)

(/projecthub/raey-abebe) (/projecthub/spearhead_robotics)
and 6 others

SEE SIMILAR PROJECTS


YOU MIGHT LIKE

SIMILAR PROJECTS YOU MIGHT LIKE

(/projecthub/mircemk/diy-arduino-based-pulse-induction-metal-detector-c6f244?
ref=similar&ref_id=374224&offset=0)
DIY Arduino Based Pulse Induction Metal Detector
(/projecthub/mircemk/diy-arduino-based-pulse-induction-metal-
detector-c6f244?ref=similar&ref_id=374224&offset=0)
Project tutorial by Mirko Pavleski (/projecthub/mircemk)
37,516 VIEWS 12 COMMENTS 35 RESPECTS

(/projecthub/mircemk/diy-pin-pointer-metal-detector-1391ff?
ref=similar&ref_id=374224&offset=1)

DIY Pin Pointer Metal Detector (/projecthub/mircemk/diy-pin-


pointer-metal-detector-1391ff?ref=similar&ref_id=374224&offset=1)
Project tutorial by Mirko Pavleski (/projecthub/mircemk)
3,149 VIEWS 1 COMMENT 6 RESPECTS

(/projecthub/mircemk/diy-ultra-sensitive-emf-detector-4be895?
ref=similar&ref_id=374224&offset=2)
DIY Ultra Sensitive EMF Detector (/projecthub/mircemk/diy-ultra-
sensitive-emf-detector-4be895?
ref=similar&ref_id=374224&offset=2)
Project tutorial by Mirko Pavleski (/projecthub/mircemk)
13,787 VIEWS 10 COMMENTS 41 RESPECTS

(/projecthub/mircemk/diy-sensitive-adxl335-earthquake-detector-d03702?
ref=similar&ref_id=374224&offset=3)
DIY Sensitive ADXL335 Earthquake Detector
(/projecthub/mircemk/diy-sensitive-adxl335-earthquake-detector-
d03702?ref=similar&ref_id=374224&offset=3)
Project tutorial by Mirko Pavleski (/projecthub/mircemk)
8,410 VIEWS 4 COMMENTS 16 RESPECTS

(/projecthub/mircemk/diy-sensitive-software-defined-radio-with-ad9850-vfo-e27e9f?
ref=similar&ref_id=374224&offset=4)

DIY Sensitive Software Defined Radio with AD9850 VFO


(/projecthub/mircemk/diy-sensitive-software-defined-radio-with-
Project tutorial by Mirko Pavleski (/projecthub/mircemk)
8,876 VIEWS 0 COMMENTS 18 RESPECTS

(/projecthub/mircemk/diy-simple-measuring-wheel-with-rotary-encoder-12073d?
ref=similar&ref_id=374224&offset=5)

DIY Simple Measuring Wheel with Rotary Encoder


(/projecthub/mircemk/diy-simple-measuring-wheel-with-rotary-
encoder-12073d?ref=similar&ref_id=374224&offset=5)
Project tutorial by Mirko Pavleski (/projecthub/mircemk)
10,516 VIEWS 2 COMMENTS 19 RESPECTS

(https://www.arduino.cc)
Powered by
(https://www.hackster.io)

You might also like