Earth Bondhon
Creators
Rojony Khatun Author
Rojony Khatun
CalculatorToolsProjectExpert
Reviewers
Małgorzata Koperska, MD Steven Wooding
Last updated: September 21, 2025

Magnetic Reed Switch Circuit Using BC547 Transistor

🇺🇸
English
Default
🇪🇸
Español
Spanish
🇫🇷
Français
French
🇩🇪
Deutsch
German
Reed Switch Sensor

Reed Switch Sensor

An electromagnetic switch that opens or closes its contacts when exposed to a magnetic field, widely used in door sensors, security alarms, and proximity detection.

[reed-switch-sensor]
BC547 Transistor

BC547 Transistor

General-purpose NPN bipolar junction transistor (BJT)

10K Fixed Resistor 1/4W

10K Fixed Resistor 1/4W

A 10,000-ohm resistor rated for 0.25 watts

[10k-fixed-resistor-1/4w]
1K Fixed Resistor 1/4W

1K Fixed Resistor 1/4W

A 1,000-ohm resistor rated for 0.25 watts

3V LED 5mm

3V LED 5mm

3V, 5mm round light-emitting diode

*Please note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

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.

Rojony Khatun

Rojony Khatun

CalculatorToolsProject

Rojony Khatun is the creator of a free online tools website designed to simplify everyday and engineering-related calculations for students, professionals, and hobbyists. The platform offers a wide variety of basic and advanced calculators across key categories, including Electrical Calculators, Electronic Calculators, and Time & Date Calculators, helping users solve problems quickly and accurately.