• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Magnetic Proximity Switch Sensor Circuit

Magnetic Proximity Switch Sensor Circuit

Last updated on 22 June 2026 by Admin-Lavi Leave a Comment

The Magnetic Proximity Switch Sensor Circuit detects magnetic fields to operate in factories, security systems and automation applications; also a magnetic reed switch serves as its main sensing component.

ICs like 555 timer and CD 4013 flip-flop turn relay ON/OFF when magnet is close by and then relay control other device ON/OFF.

Moreover, circuit need stable 12V power for good working.

Circuit Working:

Magnetic Proximity Switch Sensor Circuit Diagram

Parts List:

ComponentsValuesQuantity
Resistors (All resistors are 1/4 watt unless specified)1k1
470k1
10k1
2.2k1
CapacitorsCeramic 0.01µF, 2.2µF1 each
SemiconductorsIC 5551
IC CD 40131
Transistor BC5471
LED 5mm 20mA any color1
Diode 1N40071
Relay 12V SPDT1
Magnetic Switch Reed Switch1

To begin with, when magnet is near S1 then switch closes and circuit starts.

Pressing S1 triggers IC1 555 to function as a monostable and generate a single pulse and each pulse from IC1 then causes the IC2 CD4013 flip-flop to change state.

Then Q1 BC547 works like switch to control 12V SPDT relay and LED1 shows magnetic field found and relay working.

When pulse end IC1 output goes low and LED goes OFF, then D1 1N4007 stops relay coil spikes from damaging the circuit.

Formulas with Calculations:

IC1 555 pulse time:

T = 1.1 * R2 * C2

where,

  • R2 is 470k
  • C2 is 2.2µF
  • T is 1.1 * 470000 * 2.2×10⁻⁶ = 1.1374 s = 1.14 s.

So 555 output is HIGH to about 1.14 seconds per trigger.

Q1 base current:

Ib = (Vin – VBE) / R4

where,

  • Vin is 12V
  • VBE IS 0.7V
  • R4 is 2.2k.
  • Ib = (12 – 0.7) / 2200 = 0.005136 A = 5.14 mA.

Transistor gain is 200 hFE, so collector current is plenty enough to drive the relay.

How to Build:

To build a Magnetic Proximity Switch Sensor Circuit follow below steps for connection:

  • First, put all parts like the circuit diagram and assemble parts on board.

IC1 555:

  • Next, pin 1 connect to GND.
  • Then pin 2 connect between R3 and S1.
  • Now pin 3 connect to pin 3 of IC2.
  • Also, pin 4 and pin 8 connect to +12V.
  • After that, pin 5 connect to GND through C1.
  • Further, pin 6 connect to pin 7 of IC1.
  • Positive of C2 connect between pin 6 and GND and then R2 connect between pin 7 and +12V.

LED and R1:

  • Then one end of R1 connect between IC1 pin 3 and IC2 pin 3 and other end of R1 connect to LED anode and LED cathode connect to GND.

IC2 CD 4013:

  • Pin 1 connect to base of Q1 through R4.
  • Pins 4, 6, 7, 8, 9, 10 and 11 connect to GND.
  • Pin 2 connect to pin 5.
  • Pin 14 connect to +12V.

Transistor Q1 BC547:

  • Collector connect to +12V through D1, emitter connect to GND, and base go to IC2 pin 1 through resistor R4.
  • Relay coil connect with one side to collector of Q1 and the other side to +12V.

Diode D1:

  • D1 connect across the relay coil cathode to +12V and anode to Q1 collector to stop spikes.

Conclusion:

Overall, Magnetic Proximity Switch Sensor Circuit detects magnet and flips relay using 555 timer and CD 4013.

Here, BC547 drives the relay, LED shows detection and 12V supply keeps circuit stable; also this circuit is useful for security, automation and smart control.

Filed Under: 555 Timer Projects, Automation Circuits, Security and Protection, Sensors and Detectors

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « 12V Mini Emergency Light Circuit with LDR
Next Post: AM Radio Receiver Circuit using IC TA7642 »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • 555 Timer Projects (132)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (87)
  • DIY Projects (420)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (234)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (378)
  • Motor Controllers (25)
  • Oscillator Circuits (70)
  • Power Supply Circuits (240)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (20)
  • Security and Protection (128)
  • Sensors and Detectors (236)
  • Solar Circuits (31)
  • Timer Circuits (62)
  • Transistor Circuits (178)
  • Transmitter Circuit (19)
  • Tutorials (31)
  • Voltage Regulator (47)
  • Water Level Controller (10)

Recent Posts

  • Low Current Controlled Battery Charger Circuit using LM723 IC
  • 741 Op-Amp Treble Booster Circuit
  • Simple Diode and Transistor Based Audio Limiter Circuit
  • Simple 500mW Speaker Driver Circuit
  • Easy DIY LM386 Audio Amplifier Circuit

Recent Comments

  1. Admin-Lavi on High Voltage Fence Charger Circuit
  2. etere on High Voltage Fence Charger Circuit
  3. Admin-Lavi on High Voltage Fence Charger Circuit
  4. egidio grzinic on High Voltage Fence Charger Circuit
  5. Logic OR Gate Circuit using Transistors - Circuit Ideas for You on Automatic Street Light Circuit using LDR

Copyright © 2026 | New Circuit Ideas