Site icon Circuit Ideas for You

Magnetic Proximity Switch Sensor Circuit

A Magnetic Proximity Switch Sensor Circuit is a cool gadget that can sense magnetic fields.

You can see this kind of sensor in lots of places, like in factories, security systems and automation.

The key component of this circuit is a magnetic reed switch which serves as the proximity sensor.

In this design an 555 timer chip and a CD4013 flip-flop chip work together to switch a relay on or off when a magnet comes near.

This action then controls an external device turning it on or off.

To make sure the circuit works well, it is important to use a steady 12 volt power supply.

Circuit Working:

Parts List:

Component TypeValue/Part NumberQuantity
Resistors 1/4 Watt1k1
470k1
10k1
2.2k1
Capacitor 1
Ceramic0.01µF, 2.2µF1 each
IC5551
ICCD40131
TransistorBC5471
LED5mm 20mA any color1
Diode1N40071
Relay12V SPDT1
Magnetic SwitchReed Switch1

In the above circuit diagram when a magnet comes near S1 it causes the switch to close, which activates the circuit.

The IC1 555 is set up as a monostable multivibrator generating a pulse when S1 is triggered.

IC2 The CD4013 D flip-flop changes its state each time it receives a pulse from the IC1 555 timer.

The BC547 transistor Q1 functions like a switch that manages the 12V SPDT relay.

The LED1 light shows that the circuit has found the magnetic field and is working to activate the relay part.

After the monostable pulse finishes the IC1 555 timers output drops which turns the LED off.

D1 1N4007 safeguards the circuit by preventing voltage spikes from the relay coil that could cause damage.

Formulas with Calculations:

Below are the formulas with calculations for Magnetic Proximity Switch Sensor Circuit

IC1 555 Monostable Pulse Duration:

Formula: T = 1.1 * R2 * C2

where,

R2 = 470k and C2 = 2.2µF

The calculation shows:

T = 1.1 * 470000 * 2.2 * 10^(-6)

T = 1.14 seconds

This means the IC1 555 timer output stays HIGH for approximately 1.14 seconds each time the magnetic switch is triggered.

Base Current of Transistor Q1 BC547:

Formula: Ib = (Vin – VBE) / R4

where:

Vin = 12V, VBE = 0.7V, R4 = 2.2k

The calculation shows

Ib = (12 – 0.7) / 2200

Ib = 5.2 mA

The BC547 transistor has a current gain (hFE) of around 200, which means the collector current will be sufficient to drive the relay.

How to Build:

To build a Magnetic Proximity Switch Sensor Circuit following steps are needed to be followed for designing your own circuit:

Conclusion:

The Magnetic Proximity Switch Sensor Circuit is an easy and efficient method for sensing magnetic fields and controlling external devices with a relay.

It is useful in areas like security systems, industrial automation and smart control setups.

By using an 555 timer and a CD4013 flip-flop the circuit operates reliably and the relay output makes it simple to connect with different electrical equipment.

References:

CD4013B CMOS Dual D-Type Flip-Flop

Exit mobile version