• 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 » PIR Sensor Motion Alarm Circuit Transistor and Relay

PIR Sensor Motion Alarm Circuit Transistor and Relay

Last updated on 26 December 2025 by Admin-Lavi Leave a Comment

Nowadays, security is very important that why homes and shops need protection.

So to safeguard this motion sensor circuits are useful.

PIR Sensor Motion Alarm Circuit Transistor and Relay is simple.

It uses very few components and is with low cost and is also is easy to build.

The circuit works using a PIR sensor where PIR means Passive Infrared sensor.

It detects human motion whenever someone moves.

Then the alarm activates and as a result a siren sounds.

Circuit Working:

PIR Sensor Motion Alarm Circuit Diagram Transistor and Relay

Parts List:

ComponentsValueQuantity
Resistors1k, 4.7k 1/4 watts1 each
SemiconductorsTransistor 2N3904 NPN1
LED 5mm any color1
Diode 1N40071
PIR Sensor Module HC-SR5011
12V DC SPDT Relay1
12V Alarm Siren Speaker1
Power Supply 12V DC1

At first when the power supply is ON, 12V is given to the circuit.

Initially no motion is present because PIR output is LOW.

Therefore, transistor remains OFF, along with relay is OFF and siren is silent.

Now when a person moves, PIR sensor detects infrared change.

Then PIR output becomes HIGH and this output goes through resistor R1.

Then it reaches transistor base and as a result transistor turns ON.

Now current flows from collector to emitter and relay coil energizes.

At the same time the LED glows and this indicates motion detection.

Now relay contacts change position, so siren gets power supply.

Therefore, alarm sounds loudly.

When motion stops then after some time the PIR output becomes LOW again.

By turning OFF the relay turns and siren also stops.

Formulas with Calculation:

1: Base Resistor R1 Calculation:

where,

  • Supply voltage is 12V
  • Base emitter voltage is 0.7V
  • PIR output voltage is 3.3V (approx)
  • Base current needed is 1 mA

Formula:

R1 = (Vout – Vbe) / Ib

Calculation:

R1 = (3.3 – 0.7) / 0.001
R1 = 2.6 / 0.001
R1 = 2600 ohm

Nearest standard value used in circuit is R1 with 4.7k ohm

2. LED Resistor R2 Calculation:

where,

  • LED voltage is 2V
  • LED current is 10 mA
  • Supply is 12V

Formula:

R2 = (V – Vf) / I

Calculation:

R2 = (12 – 2) / 0.01
R2 = 10 / 0.01
R2 = 1000 ohm

So R2 is 1k ohm is used in our circuit.

How to Build:

To build a PIR Sensor Motion Alarm Circuit Transistor and Relay follow the below steps for connection:

  • Take all the parts as shown in circuit diagram.
  • PIR Sensor V+ pin connect to +12V supply.
  • OUT pin connect to resistor R1.
  • V- pin connect to ground.
  • Transistor 2N3904 base pin is connect to R1 output.
  • Collector pin is connect to relay coil and anode of diode D1 and cathode of D1 connect to +12V.
  • Emitter pin is connected to ground.
  • Relay pins one coil pin is connected to +12V.
  • Other coil pin is connected to Q1 transistor collector.
  • COM terminal is connected to +12V.
  • NO terminal is connected to siren positive.
  • Siren negative is connect to ground.
  • LED anode is connected to R2 resistor one end and other end of resistor connect to +12V.
  • And cathode of LED is connected to collector of transistor Q1.

Conclusion:

This PIR Sensor Motion Alarm Circuit Transistor and Relay is easy to understand.

The circuit uses basic components and it works very effectively.

Therefore, it is best for home security projects and for learning electronics.

References:

PIR sensor – Relay automatically turning lights on, heeeeeelp..!!

Filed Under: Alarm Circuits, Sensors and Detectors, Transistor Circuits

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: « Bluetooth Controlled Police Siren Sound Circuit with Arduino
Next Post: Square and Triangle Wave Generator Circuit »

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar




Categories

  • Alarm Circuits (45)
  • Amplifier Circuits (67)
  • Arduino Projects (99)
  • Audio Circuits (114)
  • Automobile Circuits (19)
  • Battery Charger Circuits (65)
  • Free Energy (13)
  • Heater and Temperature Controllers (13)
  • High Voltage (1)
  • Indicator Circuits (45)
  • Inverter Circuits (20)
  • IoT projects (1)
  • LDR Circuits (26)
  • LED and Lamps (148)
  • Meters and Testers (30)
  • Motor Controllers (22)
  • Oscillator Circuits (39)
  • Power Supply Circuits (104)
  • Remote Control Circuits (10)
  • Security and Protection (29)
  • Sensors and Detectors (126)
  • Solar Circuits (29)
  • Timer Circuits (41)
  • Transistor Circuits (87)
  • Transmitter Circuit (17)
  • Tutorials (8)
  • Water Level Controller (6)

Recent Posts

  • 12V Battery Low Voltage Alarm Circuit
  • Low Voltage Alert Circuit for 9V Battery
  • Digital Code Lock Circuit using IC 4017
  • Darkness Activated LED Circuit
  • Fan Start 10 Second Delay Timer Circuit

Recent Comments

  1. TDHofstetter on DIY Variable Power Supply Circuit using Arduino
  2. feathbuff on Simple Micro Ampere Meter Circuit
  3. Admin-Lavi on Simple School Project Multimeter Circuit
  4. choke on Simple School Project Multimeter Circuit
  5. Admin-Lavi on Analog to Digital Converter Circuit using IC 555

Copyright © 2026 | New Circuit Ideas