• 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 4 July 2026 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.

The PIR Sensor Motion Alarm Circuit with Transistor and Relay is simple because it uses only a few components, costs very little, and is easy to build.

The circuit works using a PIR sensor where PIR means Passive Infrared sensor and 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:

ComponentsValuesQuantity
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

First, when we turn ON the power supply, the circuit receives 12V, initially, no motion is present, so the PIR sensor output remains 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 and then it reaches transistor base and as a result transistor turns ON.

Now current flows from collector to emitter and relay coil energizes and at the same time the LED glows and this indicates motion detection.

Relay contacts change position, so siren gets power supply and therefore, alarm sounds loudly.

When motion stops then after some time the PIR output becomes LOW again and 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 1k ohm used in our circuit.

How to Build:

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

  • First, take all the parts as shown in circuit diagram.
  • Next, PIR Sensor V+ pin connect to +12V supply, OUT pin connect to resistor R1 and then V- pin connect to ground.
  • Now transistor 2N3904 base pin connect to R1 output, collector pin connect to relay coil and anode of diode D1 and cathode of D1 connect to +12V and then emitter pin connect to ground.
  • Then relay pins one coil pin connect to +12V and other coil pin connect to Q1 transistor collector.
  • Also, COM terminal connect to +12V and NO terminal connect to siren positive and siren negative is connect to ground.
  • Further, LED anode connect to R2 resistor one end and other end of resistor connect to +12V and cathode of LED connect to collector of transistor Q1.

Conclusion:

To conclude, 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.

Filed Under: Alarm Circuits, Automation Circuits, DIY Projects, Security and Protection, 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

  • 555 Timer Projects (137)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (88)
  • DIY Projects (435)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (241)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (390)
  • Motor Controllers (26)
  • Oscillator Circuits (70)
  • Power Supply Circuits (244)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (20)
  • Security and Protection (128)
  • Sensors and Detectors (236)
  • Solar Circuits (31)
  • Timer Circuits (63)
  • Transistor Circuits (178)
  • Transmitter Circuit (19)
  • Tutorials (33)
  • Voltage Regulator (55)
  • 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