# Metal detector with arduino

**URL:** <https://forum.arduino.cc/t/metal-detector-with-arduino/1170539>\
**Category:** General Guidance\
**Created:** [September 20, 2023, 10:59pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539 "2023-09-20T22:59:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 20, 2023, 10:59pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/1 "2023-09-20T22:59:48Z")

</div>

I am wondering how to make a metal detector with arduino.  
Does anyone have a tutorial that would be good for some one with no metal detecting knowledge?

I am planing to start with something simple and then gradually add features.

Thanks

I found a lot of conflicting tutorials that many said did not work.

---

<div class="post-metadata">

**Author:** ![alexcolu](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@alexcolu](https://forum.arduino.cc/u/alexcolu)\
**Post date:** [September 20, 2023, 11:04pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/2 "2023-09-20T23:04:07Z")

</div>

> **[Come creare un semplice metal detector - ESPERIMENTANDA](https://www.esperimentanda.com/come-fare-un-semplice-metal-detector-da-soli-schema-circuito-con-arduino-nano-uno/)**
>
> Un metal detector permette di rilevare la presenza di un metallo nelle vicinanze senza toccarlo. I metal detector sono perciò usati in una vasta gamma

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 20, 2023, 11:04pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/3 "2023-09-20T23:04:53Z")

</div>

Um.. I can't read in that language.....

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 20, 2023, 11:08pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/4 "2023-09-20T23:08:35Z")

</div>

Ok, I translated it to English.  
The schematic does not make much sense.  
How does it detect metal with only one coil?

---

<div class="post-metadata">

**Author:** ![DaveX](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/davex/32/751443_2.png) [@DaveX](https://forum.arduino.cc/u/DaveX)\
**Post date:** [September 20, 2023, 11:25pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/5 "2023-09-20T23:25:57Z")

</div>

A translated bit from the article says:

> The operation of the circuit is as follows. A square wave, generated by Arduino pin A4, goes to the LR high-pass filter. Due to this, very short peaks (about 0.5 microseconds) are generated each time by the coil, corresponding to as many pulses. The pulse length of the peaks thus generated is proportional to the inductance of the coil. So, with the help of the peaks of these pulses, we can in principle measure the inductance of the coil, however the peaks are too short.
> 
> Therefore, to solve this problem, a capacitor is used which is charged by the rising pulse or peak. And a few pulses are enough to charge the capacitor to the point where its voltage can be read from the analog pin A5 of the Arduino, thanks to the Analog-Digital Converter (ADC) with which the Arduino is equipped. After the voltage has been read, the capacitor is quickly discharged via “software”, setting pin A5 as the output and setting it to “low”.

Inductance changes, due to the coupling of the coil with the metal being detected, changes the sizes of the pulses that are integrated in the capacitor and read by the ADC. The Arduino empties the capacitor on A5, switches pinMode, sends a number of pulses on A4, and checks the integration on A5. Pretty cool if it works.

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 21, 2023, 6:14pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/6 "2023-09-21T18:14:34Z")

</div>

> [@DaveX](#):
>
> Pretty cool if it works.

Oh..... that is the problem with the internet.  
I would prefer something more simple?  
That is more likely to work?

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 21, 2023, 8:18pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/7 "2023-09-21T20:18:58Z")

</div>

Does anyone have a suggestion for something that will probably work?

---

<div class="post-metadata">

**Author:** ![DaveX](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/davex/32/751443_2.png) [@DaveX](https://forum.arduino.cc/u/DaveX)\
**Post date:** [September 21, 2023, 8:20pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/8 "2023-09-21T20:20:59Z")

</div>

I'm not saying that scheme doesn't work. Just that I've not tested it.

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 21, 2023, 8:49pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/9 "2023-09-21T20:49:27Z")

</div>

I might follow along with that one and see how it works.  
Found this:[https://www.instructables.com/DIY-Simple-Sensitive-Arduino-Metal-Detector/](https://www.instructables.com/DIY-Simple-Sensitive-Arduino-Metal-Detector/)  
and:  
[https://www.instructables.com/DIY-Very-Simple-Arduino-Metal-Detector/](https://www.instructables.com/DIY-Very-Simple-Arduino-Metal-Detector/)  
One coil!!

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [September 22, 2023, 11:57am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/10 "2023-09-22T11:57:53Z")

</div>

Hi, @anon92864395  
This YouTube channel has some interesting detectors.  
https://www.youtube.com/embed/nkSPy0BPTFc?feature=oembed&wmode=opaque&list=PLAxrqEdgtyUV1Tyfw5wc_2cPfzOgld-XO

And some instructions.

> **[DIY Sensitive Arduino IB Metal Detector with Discrimination](https://www.hackster.io/mircemk/diy-sensitive-arduino-ib-metal-detector-with-discrimination-b55e9d)**
>
> It can detect metal coin at 15cm +, and bigger metal objects at 50cm and more. Also capable of discriminating between ferrous and nonferrous By Mirko Pavleski.

Tom... 😀 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![zameer223](https://avatars.discourse-cdn.com/v4/letter/z/c67d28/32.png) [@zameer223](https://forum.arduino.cc/u/zameer223)\
**Post date:** [September 22, 2023, 12:19pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/11 "2023-09-22T12:19:00Z")

</div>

Try searching for beginner-friendly tutorials on websites like Arduino Project Hub or YouTube. Look for well-reviewed tutorials and consider starting with a simple design before adding more advanced features so that you gain confidence. It's common to find conflicting information online, so choose a tutorial with positive feedback to increase your chances of success. Or use AI softwares for this research.  
Wish you good luck for your project.

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 22, 2023, 5:21pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/12 "2023-09-22T17:21:28Z")

</div>

Thanks!  
It is actually made by the same person that made the detectors that I Shared the links!  
Thanks!

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [September 25, 2023, 11:48pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/13 "2023-09-25T23:48:41Z")

</div>

What types of metal detectors exist?  
What type should i start with?  
Thanks

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [October 5, 2023, 12:46am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/14 "2023-10-05T00:46:55Z")

</div>

I need some wire for coils....  
Anything recommend from amazon?

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [October 5, 2023, 1:07am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/15 "2023-10-05T01:07:07Z")

</div>

> [@zameer223](#):
>
> It's common to find conflicting information online, so choose a tutorial with positive feedback to increase your chances of success.

How many ChatGPT copy/pastes are enough?

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [October 5, 2023, 2:30am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/16 "2023-10-05T02:30:36Z")

</div>

Should I flag it???

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [October 5, 2023, 3:28am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/17 "2023-10-05T03:28:46Z")

</div>

The user has only done two chat replies. I should have noted chatgpt reply-posts are from a number of users.

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [October 5, 2023, 4:48pm UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/18 "2023-10-05T16:48:38Z")

</div>

One also contains a spam:

---

<div class="post-metadata">

**Author:** ![anon92864395](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon92864395](https://forum.arduino.cc/u/anon92864395)\
**Post date:** [November 24, 2023, 4:02am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/19 "2023-11-24T04:02:56Z")

</div>

Ok.  
I have decided to try and do this with a Pico….  
I will try both VLF(2 coils. Transmit coil and receive coil) and PI(Pulse induction. One coil.)  
I also am looking into motion and non motion things(no idea now).  
I need to get wire and op amps.  
Any recommendations for those?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [September 23, 2024, 7:06am UTC](https://forum.arduino.cc/t/metal-detector-with-arduino/1170539/21 "2024-09-23T07:06:38Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
