Metal Detector

I am interested in making a relatively simple metal detector, similar to the ones used in airports to scan people for metal, more of a gimmick thing. I was thinking that having it work with an Arduino, would make it more flexible, so that or an ESP32 would be a plus. I have seen some crazy metal detectors used to find meteorites deep underground (6 feet) and that also does intrigue me a little, so off I went on the internets to do some background reading.

Background reading

Looking at my first go to magazine - Silicon Chip, it turned up a couple of recent artilces on metal detectors

I am a little surprised that Silicon chip does not provide previewes for things like reader submitted circuits

But presumably that person or someone else would have published such a thing online, so I searched

“atmega based metal detector with stepped frequency indication”

A bunch of promising “images” came up including

  • https://www.instructables.com/Minimal-Arduino-Metal-Detector/
  • https://www.instructables.com/Simple-Arduino-Metal-Detector/
  • https://simplemetaldetector.com/pulse-induction-metal-detectors/metal-detector-avr-microcontroller/
  • https://circuitcellar.com/research-design-hub/projects/advanced-metal-detector/
  • https://forum.arduino.cc/t/pulse-induction-metal-detector-rx-methods/683722
  • https://github.com/microchip-pic-avr-examples/pic18f56q71-opamp-metal-detector-mplab-mcc
  • https://www.electroschematics.com/metal-detector/
  • https://circuitdigest.com/microcontroller-projects/arduino-metal-detector-circuit-code
  • https://www.electronicshub.org/metal-detector-circuit/

All of which are probably worth reading up on to get some background information and different circuit ideas.

Finally this one stuck out

  • https://simplemetaldetector.com/pulse-induction-metal-detectors/arduino-based-pulse-induction-detector/
  • also on instructables https://www.instructables.com/Arduino-Based-Pulse-Induction-Detector/ The idea was to do away with most signal processing components. The Arduino runs at 16MHz and has 0.0625µS reslution on clock speed which is not enough. Instead comparing voltage drop over time to a fixed reference voltage and using the D6 - D7 internal comparator to trigger an interrupt is what this design uses. The idea comes from TPMID - Tiny Pulse Induction Metal Detector home page - www.miymd.com/index.php/projects/tpimd/ now available here webArchive: - www.miymd.com tpimd It sounds like these circuits usually have 2 voltages, to get around that here, the circuit is triggered and then a MOSFET is used to isolate the coil and bleed it via a 220Ω resistor. A voltage divider sets a voltage of around 0.04V and this is used in the comparator to trigger when it is reached. If metal is near the coil, the decay curve lasts longer and the interrupt gets longer. The detector works but is of limited capability, still it uses Arduino so might be worth checking out.

It had a relatively simple Arduino and minimal external components but also details of the limitations on Arduino’s being able to detect the frequency changes quickly enough and some work arounds as well as references to older and even non existant sites.

one of these is this article

Which lead to a few more reads from the miymd.com site

from some of the comments this lead me to

Gary’s Pulse Induction Metal Detector

As well as some other random but interesting work on mini Maximite

which lead to this

https://www.geotech1.com/cgi-bin/pages/common/index.pl?page=metdet&file=projects.dat