Magnetic Reed Switch Circuit
Detect magnetic fields using a reed switch and BC547 transistor. Control LEDs or relays automatically for DIY electronics, alarms, and hobby projects.

Magnetic sensor LED circuit
Magnetic reed switch circuit Magnetic reed switch circuit is an automated circuit, which utilizes BC547 to activate LEDs or relays upon detection of a magnetic field. It shows magnetic sensing and transistor switching to be used in DIY projects.
Transistor magnetic sensor
In Magnetic Reed Switch Circuit Using BC547, one is a simple electronics project, which senses a magnetic field and turns on or off a load (such as a lamp or a relay). A magnetic field causes the reed switch to close, so that a circuit is completed - the BC547 transistor is conducted by the reed switch. As the transistor is carried, the LED or relay connected to it goes on. The reed switch actually opens when the magnetic field is removed and then the transistor ceases to conduct and the load is off. The students, hobbyists, and DIY enthusiasts studying magnetic sensors, transistor switching, and automatic control can find this project relevant. The circuit consists of relatively cheap and easily obtainable parts; a reed switch, a transistor such as the BC547, resistors, and LEDs or relays. The sensitivity of the circuit and current through the load can be fined-tuned by changing the series resistor. Examples are window security sensors, magnetic door alarms and simple proximity detection systems.
Work / Installation (Inputs → Outputs)
- Power Input → 5–12V DC supply.
- Magnetic Reed Switch → Closes when exposed to a magnetic field.
- BC547 Transistor → Switches the connected load ON/OFF based on reed switch signal.
- Load Output → LED or relay controlled automatically.
- Installation → Assemble on breadboard or PCB; connect reed switch in series with base resistor; connect load to transistor collector; adjust resistor for proper current; verify transistor orientation.
Testing & Final Adjustments
DC power can be applied after assembling. When you bring a magnet close to the reed switch the LED or relay would light up instantly. Take out the magnet and the load must go off. To fix next-brightness-LED, or to ensure complete switching of transistor, adjust base resistor. Repeat the cycles to ensure that it works regularly. When door alarms and window sensors are properly tested, consistency of reliability when they are in action is guaranteed. The same applies to the hobby electronics applications. Through this project, I gained some experience with magnetic field detection and switching of transistor-based switching.
Frequently Asked Questions - Magnetic Reed Switch Circuit:
What is a reed switch?
A magnetic switch that closes when exposed to a magnetic field.
Why use BC547?
Acts as a switch to control LED or relay when reed switch activates.
What voltage is required?
Typically 5–12V DC supply.
Can it drive a relay?
Yes, within BC547 current rating.
Is it beginner-friendly?
Yes, simple and inexpensive circuit.
Can sensitivity be adjusted?
Yes, by changing series resistor with BC547 base.
Applications?
Door alarms, window sensors, and proximity detection.
Can multiple LEDs be controlled?
Yes, within transistor current limits.
Do I need a heatsink?
No, for low-current applications BC547 is sufficient.
Is it a DIY project?
Yes, suitable for hobbyists and electronics beginners.
Related Posts

Voltage Regulator using Transistor
Build a high-current voltage regulator using transistors for a stable DC output, adjustable or fixed, suitable for motors, LEDs, and electronics projects.

Light Sensitive Automatic On Off Light LDR
Automatically switch lights ON/OFF using the LDR sensor. Detect ambient light levels to control LEDs or small lamps for energy-saving DIY projects.

12v Dc motor speed control circuit
Build a 12V DC fan speed controller using BC557 PWM circuit. Adjust fan speed smoothly with the MOSFET driver. Simple, low-cost, and efficient design.

Voltage Regulator using IRFZ44N Mosfet
Build a high-current voltage regulator using an IRFZ44N MOSFET for a stable and adjustable DC output, suitable for motors, LEDs, and DIY electronics projects.

5 pin relay wiring diagram
Learn the 5-pin relay wiring diagram with terminals 85, 86, 30, 87, and 87a. Step-by-step connection guide for automotive, lighting, and motor control systems.

12v to 220v Inverter
Build a simple 12V to 220V inverter circuit. Convert 12V DC from a battery to 220V AC for powering small home appliances efficiently and safely.





