Rectronx Circuits
Components

PIR Motion Sensor

Passive infrared motion detector for security and occupancy projects.

Motion Sensor4.5/5RM4-RM12Beginner
ArduinoESP32Raspberry Pi
PIR Motion Sensor electronics module illustration

AI Ready Overview

Quick Summary

PIR Sensor is a motion sensor commonly used in FYP and embedded projects. It is best for motion alarms and room occupancy, with wiring and testing planned around Arduino, ESP32, Raspberry Pi.

Difficulty

Beginner

Time Required

1-3 days for basic wiring and sample code; 1 week if used inside a complete FYP prototype

Cost

RM4-RM12 module range in Malaysia; full project cost depends on scope.

Components

PIR Sensor, Arduino, ESP32, Raspberry Pi

Overview

What is PIR Sensor?

PIR sensors detect motion from warm bodies and are common in alarm, lighting and occupancy monitoring FYP projects.

Engineering Reference

Quick Specs

Operating Voltage5V / 3.3V module variants
InterfaceDigital GPIO
DifficultyBeginner
Typical Malaysia PriceRM4-RM12
Best ForMotion alarms, Room occupancy

Real Usage Notes

Suitable / Not Suitable

Suitable for

  • Motion alarms
  • Room occupancy
  • Automatic lighting

Not suitable for

  • Counting exact people
  • Detecting stationary humans
  • Outdoor rain exposure without enclosure

Build Planning

Difficulty

PIR Sensor is rated Beginner. Plan around 1-3 days for basic wiring and sample code; 1 week if used inside a complete fyp prototypedepending on wiring, libraries, calibration, dashboard/app integration and testing evidence.

Build Planning

Time Required

1-3 days for basic wiring and sample code; 1 week if used inside a complete FYP prototype

Malaysia Price Guidance

Cost

Typical module price range: RM4-RM12. This is component guidance only; a complete FYP cost depends on controller, sensors, casing, display, app/dashboard, documentation and timeline.

Connections

Pinout

VCC

Power input. Check whether the module expects 5V or 3.3V module variants before wiring.

GND

Common ground with the controller and external supply.

Digital GPIO

Main Digital GPIO connection used by the module.

IO

Additional signal pins depend on the exact module variant.

Platform Notes

Wiring Guides

PIR Sensor with Arduino / ESP32

Connect power, ground and the Digital GPIO signal lines. Use level shifting when a 5V module connects to a 3.3V controller.

PIR Sensor VCC5V or module-rated supply
PIR Sensor GNDController GND
Signal pinsDigital GPIO

Fix Common Problems

Troubleshooting

Check wiring against the pinout before debugging code.
Use a stable power supply and common ground between modules.
Test the component with a simple example sketch before adding dashboard, app or database features.

Troubleshooting

Common Mistakes

Expecting it to detect stationary people
Wrong sensitivity/delay settings
Mounting near heat sources

FYP Ideas Using PIR Sensor

Related Projects

Compare Options

Alternative Components

Student Questions

FAQ

Is PIR Sensor good for FYP projects?

Yes, PIR Sensor is suitable for FYP work when the project matches its limits: Motion alarms and Room occupancy.

What is the most common PIR Sensor mistake?

Expecting it to detect stationary people