Skip to content

Metal Detector Circuit

14 views Free
Simple CA3140 Metal Detector Circuit Diagram & Design Guide | CalcBoy
Simple CA3140 Metal Detector Circuit

This beginner-friendly project guides you through building an inexpensive, easy-to-assemble metal detector using the CA3140 BiMOS operational amplifier, a search coil, and a 2N3904 switching transistor. Capable of detecting metallic objects at a range of 2 to 3 inches, this design serves as a foundational tutorial for learning inductive sensing principles.

Hardware Required

The components needed for building this circuit are listed below:

S.No Component Value / Model Quantity
1 Input Supply DC 9V - 12V 1
2 Coil L1 (e.g. Guitar Pickup) 1
3 IC (Operational Amplifier) CA3140 1
4 Transistor 2N3904 (NPN) 1
5 Buzzer Piezo Type 1
6 LED Standard 5mm Red 1
7 Resistors 1MΩ, 470Ω, 1KΩ 2, 1, 1

CA3140 Pinout

The CA3140 is an 8-pin BiMOS operational amplifier. Refer to the pinout schematic below to ensure proper connection coordinates.

1 2 3 4 8 7 6 5 CA3140 TOP VIEW OFFSET NULL INV. INPUT (-) NON-INV. INPUT (+) V- STROBE V+ OUTPUT OFFSET NULL

Circuit Diagram

This schematic displays how the CA3140 operational amplifier integrates with inductive search coil L1, the transistor output switch, the LED indicator, and the active piezo buzzer.

Simple Metal Detector Circuit + 9 - 12V L1 1M CA3140 - + 2 3 6 7 4 1M 1K 2N3904 470 Ohms LED + Peizo Buzzer

Description & Diagram Details

This section details the explicit electrical connections depicted in the circuit schematic above:

  • Power Configuration: A DC supply rail ranging from 9V to 12V powers the entire circuit. The positive rail (V+) connects to Pin 7 of the CA3140 op-amp, the positive terminal of the piezo buzzer, and the 470Ω current-limiting resistor for the LED. The ground rail (V-) links Pin 4 of the CA3140, the 1MΩ input resistor, and the Emitter pin of the 2N3904 transistor.
  • Sensing Stage (Op-Amp Terminals): The search coil L1 is wired directly across Pin 2 (Inverting Input) and Pin 3 (Non-Inverting Input) of the CA3140. A 1MΩ feedback resistor is connected between Pin 2 and the Output (Pin 6). Pin 3 is referenced to ground via another 1MΩ resistor to establish structural stability.
  • Output Switching: Output Pin 6 of the op-amp connects through a 1KΩ current-limiting resistor directly to the Base of the 2N3904 transistor. The Collector of this transistor drives both the piezo buzzer and the LED indicator in parallel, turning them on simultaneously when metal is detected.

Working Explanation

This circuit is designed around the highly sensitive BiMOS operational amplifier, the CA3140, operating on a 9V to 12V DC input. Below is a detailed breakdown of its operational physics:

  • Inductive Detection: The search coil L1 behaves as a tuned inductor. In its baseline state, the op-amp tracks the tiny electrical balance and feedback across the coil terminals.
  • Amplification Trigger: When any metallic object approaches the search coil, it introduces electromagnetic eddy currents, shifting the coil's balance. This variance is fed directly into the inputs (Pins 2 & 3) of the CA3140, causing Output Pin 6 to transition high.
  • Transistor Switch: The high output signal from Pin 6 drives current through the 1KΩ resistor to the Base of the 2N3904 NPN transistor. This biases the transistor into saturation, acting as a closed switch to ground.
  • Active Indication: With the transistor turned on, current flows through the piezo buzzer and the parallel LED indicator circuit, generating an audible tone and visual alert.

Assembly & Calibration Guide

Follow these steps to safely build, verify, and tune your simple metal detector circuit:

Winding the Coil: Use a standard guitar pickup coil, or wind approximately 100-150 turns of thin enameled copper wire (30 AWG) around a 2-3 inch circular form factor.
Assemble the component layout on a breadboard or prototyping PCB, ensuring the polarity of the LED, buzzer, and power source are matched.
Power up the circuit using a 9V battery or a regulated 12V bench power supply.
Sweep a coin or iron key 2 to 3 inches away from the search coil face. The LED should light up and the buzzer should beep immediately.
Safety Notice: Double-check the orientation of the CA3140 op-amp chip and ensure that the 2N3904 pin configuration (E-B-C) matches your physical layout to prevent thermal failure.

Design Best Practices & Limitations

To improve detection range and stable operation, consider the following performance characteristics:

  • Coil Quality: A pre-built high-impedance coil (such as a guitar pickup coil) works well. For custom-wound coils, keeping the windings tight and uniform is essential to reduce stray capacitance.
  • Transistor Substitutions: If a 2N3904 is not readily available, common general-purpose NPN transistors like the BC547 or 2N2222 can be used with identical pinning modifications.
  • Casing & Shielding: Mount the finished PCB inside a non-metallic enclosure (plastic, ABS, or wood). Using metal housing or metallic screws near the search coil will permanently trip the sensor.

Frequently Asked Questions

1. **What is the function of the CA3140 IC in this design?**

The CA3140 is a high-impedance BiMOS operational amplifier that amplifies the minute changes in the coil's inductive fields, translating them into a voltage switchable logic high to drive the transistor.

2. **Can I use a different input supply voltage?**

Yes. The CA3140 operates reliably within a 9V to 12V DC range. A standard 9V PP3 battery is highly recommended for portable hand-held applications.

3. **Why does the circuit use a 2N3904 transistor instead of driving the buzzer directly?**

The CA3140 output current capacity is limited. The 2N3904 acts as a current buffer or electronic switch, allowing a safe, high-current path to ground for the LED and piezo buzzer without overloading the op-amp.

4. **How do I adjust the sensitivity range of the metal detector?**

Sensitivity can be fine-tuned by modifying the values of the 1MΩ feedback resistors or by changing the total number of wire turns and geometry on search coil L1.

Related Reference Guides

Op-Amp Gain & Feedback CalculatorCalculate closed-loop gain and optimal resistor selections.
Coil Inductance CalculatorDetermine the number of turns and size for custom search coils.
NPN Transistor Switch CalculatorCalculate the base current-limiting resistor for stable saturation.
LED Series Resistor CalculatorDetermine ideal resistance values for any input voltage and LED forward current.

Related Tools

About this tool

Metal Detector Circuit is a free online calculator tool. Use it to get instant, accurate results for your electronics calculations.