A metal detector is an electronic device that detects the presence of metal nearby. It works by using electromagnetic fields to sense metal objects—either on or below the ground or hidden inside other materials.
Components Used:
- 9012 Transistor *2
- 9018 Transistor *1
- 470 Ohm
- 2k Ohm
- 200k Ohm
- Red LED *1
- 222 Capacitor
- 104 Capacitor
- 100uf Capacitor
- Buzzer
- 3.7v Battery
- Switch
- Potentiometer
Special Thanks to Our Sponser – JLCPCB:
No project is complete without the right tool and materials. That’s why our sponser JLCPCB stepped into provide essential material for the project. JLCPCB is a leading provider of high quality printed circuit board and PCB assembling services.
Simply head over to JLCPCB, Upload your gerber file, select specification and just place your order.
48-Hour Turnaround for 6 Layer PCBs!

Discover Easy, Affordable, and Reliable PCB manufacturing with JLCPCB! Register to get $60 New customer coupons.

How To Order PCB
Circuit Diagram:

9012 Transistor:
The 9012 transistor is a complementary PNP transistor to the 9014 NPN transistor. It’s used in similar low-power, general-purpose applications like switching and amplification in electronic circuits, especially in push-pull amplifier configurations when paired with the 9014.
🔍 9012 Transistor: Technical Specifications
Parameter | Value |
---|---|
Type | PNP |
Collector-Emitter Voltage (Vce) | -40V |
Collector-Base Voltage (Vcb) | -50V |
Emitter-Base Voltage (Veb) | -5V |
Collector Current (Ic) | -800 mA |
Power Dissipation (Ptot) | 625 mW |
DC Current Gain (hFE) | 64 – 400 |
Transition Frequency (fT) | 250 MHz |
Package Type | TO-92 |
📦 Pin Configuration (TO-92 package)
Looking at the flat side of the TO-92 package with the pins facing down:
- Emitter (E) – Left
- Base (B) – Middle
- Collector (C) – Right
⚙️ Operating Regions (for PNP)
- Cut-off (OFF): Base voltage is more positive than emitter → no current flows.
- Active (Amplification): Base is slightly negative relative to emitter → collector current is proportional to base current.
- Saturation (ON/Switching): Base is much more negative than emitter → maximum current flows.
🛠️ Typical Uses
Hobby electronics.
Audio amplifiers (often with 9014)
Switching small loads
Complementary circuits (push-pull stages)
More Projects
-
Building a 12v 30Ah Li-ion Battery Pack with Daly BMS
If you’re interested in DIY battery projects, this guide shows how I built a 4S10P (14.8V nominal) battery pack using 40 pcs of 18650 Li-ion cells and a Daly BMS. …
-
Obstacle Avoiding Smart Robot Car
An obstacle avoiding robot car is a robotic vehicle designed to navigate its environment without colliding with obstacles. It uses sensors and microcontrollers to detect and avoid obstacles in its …
-
Proximity Sensor Circuit
Proximity sensors are widely used in automation, security, and robotics to detect the presence of nearby objects without physical contact. While modern sensors use complex ICs or microcontrollers, you can …