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

Reed Switch Magnetic Sensor Circuit for DIY Electronics Projects

🇺🇸
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]
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!

Reed Switch Magnetic Sensor

Build a magnetic sensor using a reed switch. Detect magnets, doors, or proximity in DIY projects. Easy assembly with BC547 transistor for switching output.

Reed switch sensor circuit

The reed switch magnetic sensor is used to detect a magnet. A signal is amplified by the BC547 transistor, which enables the sensor to toggle LEDs, buzzers, and relay the signals to the DIY electronic projects.

low-voltage magnetic sensor

The Reed Switch Magnets sensor is an easy-to-build DIY electronic project for detecting magnets, doors, or proximity. A reed switch is a mechanical switch that is closed by a magnetic field. The switch may be used with LEDs, buzzers, or relays to show detection when used with a BC547 transistor. It is a project that is most suitable for hobbyists, students, and do-it-yourselfers who are interested in the field of magnetic sensing and automation. It may be utilized in the alarm system, door sensor, and object detection initiatives. The reed switch is magnet-sensitive and can safely work with low-voltage DC. Resistors provide the correct way of operation of transistors and guard LEDs or relays. This sensor is small and can be easily attached to a breadboard, PCB, or enclosure to be used in practice.

Work / Installation (Inputs → Outputs)

  • Power Supply → 5–12V DC.
  • Reed Switch → Closes when a magnet is nearby.
  • BC547 Transistor → Acts as a switch for output load.
  • Resistors → Limit current to transistor base and output devices.
  • Output Load → LED, buzzer, or relay activates on magnetic detection.
  • Installation → Mount reed switch near magnet path, connect transistor, resistors, and load, then test for proper operation.

Testing & Final Adjustments

Once it is assembled, place a magnet near the reed switch and see the load turn on. Manipulate the values of resistors to ensure good transistor triggering. Make sure that the reed switch is properly placed so that it reacts to the magnet. Sensitivity Test at varying distances. Make sure that LEDs, buzzers, zeners, or relays do not flicker or lag. Effective testing is the way to make sure that it is detected properly and performs adequately. To make it permanent, wrap the sensor and wiring in a protective enclosure to avoid mechanical damage, nd to enhance the safety of the sensor's use in practice.

Frequently Asked Questions - Reed Switch Magnetic Sensor:

What is a reed switch?

A mechanical switch that closes in the presence of a magnetic field.

Which transistor is used?

BC547 NPN transistor acts as a switch for the output.

What voltage is required?

5–12V DC for safe operation.

Applications?

Door sensors, magnetic alarms, object detection, DIY projects.

Can it detect all magnets?

Yes, within the reed switch's sensitivity range.

Is it beginner-friendly?

Yes, easy to assemble on breadboard or PCB.

Do I need resistors?

Yes, to protect the transistor and output devices.

Can it drive a relay?

Yes, BC547 can switch a small relay for higher loads.

Is it safe?

Yes, operates at low DC voltage.

Can multiple outputs be used?

Yes, connect in parallel with proper resistors.

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.