Posts with «metal detector» label

Arduino Finds Treasure

A beach is always a relaxing summer vacation destination, a great place to hang out with a drink and a book or take a swim in the ocean. For those who need a more active beach-going activity with an electronics twist, though, metal detecting is always a popular choice too. And, of course, with an Arduino and some know-how it’s possible to build a metal detector that has every feature you could want from even a commercial offering.

This build comes to us from [mircemk] who built this metal detector around an Arduino Nano and uses a method called induction balance detection to find metal. Similar to how radar works, one coil sends out a signal and the other listens for reflections back from metal objects underground. Building the coils and determining their resonant frequency is the most important part of this build, and once that is figured out the rest of the system can be refined and hidden treasure can easily be unearthed.

One of the more interesting features of this build is its ability to discriminate between ferrous and non-ferrous metals, and it can detect large metal objects at distances of more than 50 cm. There are improvements to come as well, since [mircemk] plans to increase power to the transmission coil which would improve the range of the device. For some of [mircemk]’s other metal detectors, be sure to check out this one which uses a smartphone to help in the metal detection process.

Arduino and Wire Detects Metal

Our old math teacher famously said, “You have to take what you know and use it find what you don’t know.” The same holds true for a lot of microcontroller designs including [rgco’s] clever metal detector that uses very little other than an Arduino. The principle of operation is simple. An Arduino can measure time, a coil and a resistor will create a delay proportional to the circuit values, and metal around the coil will change the coil’s inductance. As the inductance changes, so does the delay and, thus, the Arduino can sense metal, as you can see in the video below.

The simple principle is also simple in practice. Besides the Arduino and the coil, there’s a single resistor. You want a small coil since larger coils won’t detect smaller objects. If you don’t want to wind your own coil, [rgco] suggests using a roll of hookup wire as long as the resistance is under 10 ohms.

You could omit it, but the original design has a buzzer and an electrolytic capacitor connected to generate a buzz in addition to the built-in LED indicator when metal is near. The LED also shows a blink pattern if the coil is open, too short, too long, or has too much resistance.

The biggest problem is that the poor Arduino needs to measure delays down in the nanosecond range. It can’t actually do this directly, so the code takes a ranging measurement to get in the ballpark and then produces appropriately-sized pulses and adds them up to get a better idea of the total delay. There are several videos in the post of a prototype and the final device built in a Tic Tac container, which you can see below.

If you want something a bit fancier, here’s another simple design that has a few more parts. Or you can go for one that is ultrasensitive.

Hack a Day 21 Oct 12:00

Precision Metal Detector Finds Needles in Haystacks

Full-size metal detectors are great for narrowing down a region to start digging through. But what if you had a smaller metal detector that could pinpoint the location? Then you could spend far less time digging and way more time sweeping for metal.

Metal detectors work because of the way metal behaves around electromagnetic fields. [mircemk] reused the ferrite core from an old MW radio to build the antenna coils. When metal objects are close enough, the induced electromagnetism changes the frequency, and the Arduino blinks an LED and beeps a buzzer in time with the new frequency.

[mircemk]’s handheld metal detector is quite sensitive, especially to smaller objects. As you can see in the demo video after the break, it can sense coins from about 4cm away, larger objects like lids from about 7 cm, and tiny things like needles from a few millimeters away. There’s also an LED for treasure hunting in low light.

Don’t want to pinpoint a bunch of useless junk? Build in some phase detection to help you discriminate.