|
arduino IDEArduino
|
|
|
Soldering Iron Kit |
DIY Sensitive STM32 Pulse Indiction Metal Detector (Arduino IDE)
This time I will show you how to make a sensitive Pulse Induction metal detector which is based on ARM STM32 microcontroller, which has significantly better features than Arduino and is also cheaper. It can detect metal coih at distance of 30cm, and big metal object at distance of more than 80 cm.
The positive thing is that you can install an Arduino bootloader on it, after that you can use it as a regular Arduino. This is my first project with this microcontroller and the experiences are very positive, and actually after flashing the bootloader there is no difference between STM and Arduino.

This time I will focus more on the project itself, and for how to install bootloader and sketch on STM32 you can find many tutorials and instructions, *** and I specifically used the tutorial from:
https://www.instructables.com/Using-a-STM32-Like-an-Arduino-Tutorial-STM32F103C8/
The project is taken from the cxem.net site, in that there is a small error in the given schematic, and instead of the B9 pin, B8 should be used. I have corrected that in the Schemаtic diagram given below. Also, the original project uses STM32F103C8, but the metal detector works quite regularly with STM32F103C6, which is a cheap clone version of the original.

So the device is relatively simple to make and consists of the following components:
- STM32F103C8T6 microcontroller
- TL072 Operational amplifier IC
- three Transistors BC847 or similar
- power mosfet IRF740
- 7805 Regulator
- Rotary encoder
- Buzzer
- WS2812 led strip with 8 leds
- resistors and capacitors

I made this device for testing purposes on a universal PCB, but If you want to make a custom PCB for this project, or for any other electronic project, PCBway (www.pcbway.com) is a great choice for you. PCBway is one of the most experienced PCB manufacturing company in China in field of PCB prototype and fabrication. They provide completed PCB assembly service with worldwide free shipping , and ISO9001 quality control system. Also, on their site there is an online gerber viewer where you can upload your gerber and drill files to render your board.

As a power source, I use three Li-Ion cells connected in series (about 12V) , and 7805 Regulator for powering Microcontroller.

The indication is made on a WS2812B module of eight LEDs and a buzzer. The control is carried out using the rotary encoder. When the power is turned on, the search coil must be moved away from metal objects, as the sensitivity is automatically adjusted.

Further, the sensitivity of the metal detector is adjusted manually by rotating the encoder knob. There is also a menu mode. The first press on the encoder knob enters the LED brightness adjustment mode. Second press, buzzer on/off mode. Second press, buzzer on/off mode. The fourth press, we enter the adjustment mode for large or small objects. The fifth press, exit the menu mode and auto-adjust the sensitivity.

The coil is wound with wire 0.7 mm, with a 20 cm diameter, and consist of 25 turns, but as you can see, during the testing I used a sensor consisting of two serially connected coils with a diameter of 12 and 23 cm, each containing 20 windings.

It is very important to mention that when the device is switched on, it is automatically calibrated, so there must not be any metal objects near the coil at that time. On the video you can see how the device works in real conditions in the air, and a brief description of the method of manufacturing the metal detector.
DIY Sensitive STM32 Pulse Indiction Metal Detector (Arduino IDE)
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(0)
- Likes(4)
-
Engineer
Aug 18,2024
-
breeze
Nov 22,2023
-
Meows21
Jun 26,2023
-
Mr Eddie Bannister
May 29,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...
-
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...
-
How to Build a Simple Audio Spectrum Analyzer with Adjustable Settings
An audio spectrum analyzer is an electronic device or software tool that measures and visually disp...
-
How to Make a Digital Clock on a Vintage B&W TV using Arduino
These days I accidentally came across this small retro Black and White TV with a built-in Radio, so ...
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
903 0 2 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
1463 3 6 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
1419 2 0 -
-
-
-
ESP32-C3 BLE Keyboard - Battery Powered with USB-C Charging
1603 0 1 -
-
mammoth-3D SLM Voron Toolhead – Manual Drill & Tap Edition
1214 0 1







