|
Soldering Iron Kit |
|
|
Soldering Iron Wire Welding Lead Roll |
DIY Sensitive Arduino IB METAL DETECTOR (coin from 25cm big object at 100+ cm)
A metal detector is an instrument that detects the presence of metal nearby. This time I will show you how to make a very sensitive, but simple to build "Inductoion Balance" type of metal detector made with the help of Arduino microcontroller and several other components. The Induction Balance principle uses two coils arranged in such a way that there is virtually no inductive pick-up between them. A modulated signal is fed in to one. When metal is brought near, the electromagnetic field is disturbed and the other coil picks-up an appreciably higher signal.
In a few of my previous videos you can see the making of different types of Metal Detectors. In terms of detection capability, this detector is the most sensitive, but also a big advantage is that it is a standalone instrument and does not use a smartphone, as one of the previous ones that has a sensitivity closest to this one. The construction is really simple thanks to the microcontroller, but also the module for weak signal amplification with LM358 IC which can be ordered for less than fifty cents. However for those who can not obtain this module, I also presented a schematic diagram in which the amplification is done with two standard NPN transistors, with the sensitivity of the device being the same as in the previous case.
The principle of operation is as follows: the Arduino generates a signal on pin 8, which is then amplified by a MOSFET transistor and fed to the Transmitter coil. Then, the signal of the Receiver coil is amplified with the LM358 module (or with two transistors in the second option) and carried to the A0 analog input. We also have two potentiometers on analog inputs that regulate the reaction threshold, and thus the sensitivity of the instrument. The buzzer and Led serve as a sound and visual indication when detecting a metal object.
As I mentioned before, the device is relatively simple to build and contains several components:
- Arduino nano microcontroller
- LM358 low signal amolifier module
- Power mosfet transistor (in my case STP65NF06, but you can use any Power mosfet, for example IRF630)
- Two potentiometers 10K ohms
- Buzzer
- Led
- and Double D shape search coils with appropriate capacitors, in this case 1 microF.

And now a few words about the coils. They consist of 60 turns of 0,4mm^2 (32 s.w.g.) enamelled copper wire coiled in a circle with a diameter of 15 cm. Then they are bent in the shape of the letter D. The wire should be wound close together and kept well bunched and taped to keep it together when removed from the former. Two such coils are required,and both are identical. You will find more about how to wind the coils in my previous videos. The sensitivity of the detector mostly depends on the coils, and especially on their placement. Putting them in an ideal position requires a lot of patience and time, but that is the greatest pleasure in making a device, especially when we achieve the best performance.

First we need to lightly fix the two coils in the shape as you see in the video. Both potentiometers should be around the middle position, turn on the detector and carefully move the coils to the position where the sound will be lost. Then we move the potentiometers to the position before the sound appears. We are now testing the operation with a larger metal object. This procedure needs to be repeated many times, until we get the greatest sensitivity. In the version with the amplifier module we can try to increase the sensitivity even more by turning the two potentiometers counterclockwise, but then the detector is more unstable and very sensitive to minimal displacement of the coils.

As you can see in the video, this detector can detect a small coin at a distance of 20 cm or more, a hard disk drive at a distance of 40 cm, and a large metal object at a distance of more than 80 cm in the air.
The ability to locate objects buried in the soil are, of course, dependent on soil conditions. Dry sand being the most favourable, and clay is the worst medium.
void setup() {
pinMode(A0, INPUT);
pinMode(A1, INPUT);
pinMode(8, OUTPUT);
pinMode(A4, INPUT);
pinMode(A5, OUTPUT);
}
void loop() {
int val1 = 0;
int val2 = 0;
int val3 = 0;
int val4 = 0;
int val5 = 0;
int val6 = 0;
int val7 = 0;
int val8 = 0;
int val9 = 0;
int val10 = 0;
int sumval = 0;
int impuls = 120; //select the pulse length depending on the frequency
int Delay = 0;
int base = 0;
Delay = analogRead(A4);
pinMode(A0, OUTPUT);
digitalWrite(A0, LOW);
pinMode(A0, INPUT);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val1 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val2 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val3 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val4 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val5 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val6 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val7 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val8 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val9 = analogRead(A0);
digitalWrite(8,HIGH);
delayMicroseconds(impuls);
digitalWrite(8, LOW);
delayMicroseconds(Delay);
val10 = analogRead(A0);
sumval = val1 + val2 + val3 + val4 + val5 + val6 + val7 + val8 + val9 + val10;
sumval = sumval/5;
base = analogRead(A1);
if (sumval > base)
{tone(A5,1000);
delay(50);
noTone(A5);
}
else {delay(50);
}
}
DIY Sensitive Arduino IB METAL DETECTOR (coin from 25cm big object at 100+ cm)
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(1)
- Likes(4)
-
Engineer
Apr 05,2024
-
Engineer
Dec 03,2023
-
Engineer
Aug 14,2023
-
mokdad badri
May 02,2023
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Mirko Pavleski
-
Arduino 3D Printed self Balancing Cube
Self-balancing devices are electronic devices that use sensors and motors to keep themselves balanc...
-
Retro Analog VU Meter on Round dispalys (ESP32 and GC9A01)
Recently, in one of my previous videos I presented you a Retro VU Meter project on round displays ...
-
Ultimate 2-Player Reaction Timer with WS2812B LED Strips & Arduino
Arcade reaction game is a genre of play designed to test a player's physical response time and hand...
-
Building a Vintage Tube-Style Internet Radio with Raspberry Pi & Rotary Encoder
Internet radio (also known as web radio or net radio) is a digital audio service transmitted via th...
-
DIY Smart Code Lock with CrowPanel 1.28 ESP32 Rotary Display
A code lock is a keyless security device—either mechanical or electronic—that restricts access to d...
-
SDR Panadapter for Vintage Tube Radios – Step-by-Step Tutorial
A radio panadapter (or panoramic adapter) is a device or software tool used in amateur radio and ot...
-
Oscilloscope Clock Simulation on a Round ESP32 Display
An oscilloscope clock is a circuit that turns an old analog oscilloscope into a stylish, retro-them...
-
DIY Simple GU32 Tube Stereo Amplifier (2x3W on 12VDC)
Vacuum tube amplifiers are often favored for their smooth harmonic distortion, especially in the low...
-
DIY 3-Display OLED Clock with Arduino and I2C Multiplexer
In this video I want to present you another unusual clock to add to my large collection of such DIY...
-
Build a 5-Day forecast Raspberry Pi Weather Dashboard (Step-by-Step)
Recently in one of my previous videos,I introduced you to the 7 inch Elecrow Pi Terminal and how to...
-
ESP32 Aneroid Barometer using Squareline Studio and LVGL on CrowPanel Round display
A barometer is a scientific instrument used to measure atmospheric pressure. Rising Pressure genera...
-
LINAMP Project – Winamp-Style Audio Front Panel on Raspberry Pi 5
Winamp is one of the most iconic and historically significant digital media players ever created. I...
-
Retro Style radio with CrowPanel 2.1inch round Display (TEA5767)
Some time ago I presented you a clock project with CrowPanel 2.1inch-HMI ESP32 Rotary Display 480*4...
-
Pi-Pico RX - SDR Radio with New Firmware and Features
A few months ago I presented you a wonderful SDR radio project by DawsonJon 101 Things. In short, i...
-
How to make simple Variable HIGH VOLTAGE Power Supply
High Voltage Power Supply is usually understood as a device that is capable of generating a voltage...
-
DIY 5-Day Rainfall Forecast Device - ESP32 E-Paper Project
In several of my previous projects I have presented ways to make weather stations, but this time I ...
-
Build simple Retro Style VFO (Variable frequency oscillator) with Crowoanel 1.28 inch Round Display
Today I received a shipment with a Small round LCD display from Elecrow. The device is packed in tw...
-
Human vs Robot – Rock Paper Scissors with MyCobot 280 M5Stack
Today I received a package containing the few Elephant Robotics products. The shipment is well pack...
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
1262 0 4 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
1776 3 7 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
1756 2 0 -
-
-
-
ESP32-C3 BLE Keyboard - Battery Powered with USB-C Charging
1929 0 1 -







