This is an Easy and Simple Magnetic Field Sensor Circuit.
It can find magnet near the sensor.
This circuit is easy to make and is good for beginners.
We can learn how it work and use in small projects which is very fun and useful!
What is a Magnetic Field Sensor:
Magnetic field sensor circuit is used to find and measure power of magnetic field around it.
It mostly uses Hall effect sensor and this sensor gives voltage based on how strong and which side is magnetic field.
These circuits are used in compass, robots, machines and cars also.
Circuit Working:

Parts List:
Component Type | Component Details | Quantity |
---|---|---|
Resistor | 1k 1/4 W CFR | 1 |
Semiconductor | IC LM339 | 1 |
LED Red LED 20mA 5mm | 1 | |
Relay 12V | 1 |
This smart circuit make magnetic field sensor using relay coil instead of normal meter like before.
It can feel small changes in magnetic field very well.
LED1 light turns ON when small magnet comes near the relay coil.
This sensor works same like old one with moving coil meter but now coil is fixed and magnet moves.
We can use any relay coil but best one is with high resistance and big inductance like 400 ohms.
If we keep a magnet few inches from the coil side by side it can also sense iron things moving between coil and magnet.
When magnetic field changes small AC voltage comes in coil.
Op-amp makes this small signal bigger and LED1 becomes bright or dim.
Just follow the making steps to understand this sensor better.
Formulas:
A simple magnetic field sensor circuit is made using these easy formulas:
Magnetic Flux (Φ):
Φ = B * A * cos(θ)
- B is power of magnetic field.
- A is coil area of cross section.
- θ is angle between coil and magnetic field.
Induced EMF (ε):
ε = −N * ΔΦ / Δt
- N is how many turns in the coil.
- ΔΦ is change in magnetic flux.
- Δt is change in time.
Resistance (R) ohms law:
V = I * R
- V is voltage across coil.
- I is how much current is in coil.
- R is coil resistance.
How the Circuit is Build:
Connection steps are below to Make Simple Magnetic Field Sensor Circuit.
- First choose a relay coil with high inductance and around 400 ohms resistance.
- Collect all parts like op-amp, resistors, capacitors and LED.
- Use the relay coil instead of normal meter in circuit.
- Connect relay coil with op-amp, resistors, capacitors and other parts.
- Keep a small magnet few inches from relay coil side by side which is parallel to coil pole.
- Give right voltage to circuit and be sure all parts are correct.
Testing:
- Move small magnet slowly near the coil and through this LED1 should turn ON.
- Put iron piece between magnet and coil and watch LED1 to see if it changes when magnetic field changes.
Conclusion:
This Simple Magnetic Field Sensor Circuit is simple and can feel even small changes in magnetic field.
It is useful in many areas like science, machines and learning electronics.
Leave a Reply