Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Mini PIR Motion Sensor Modules

Component guide · Beginner · 5 min read

Mini PIR Motion Sensor Modules

MH-SR602, HC-SR505, Grove, Crowtail, M5Stack, DFRobot, Senba SB412A / SB612A, Winsen ZRD-09)

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the Mini PIR motion sensor modules isMini PIR motion sensor modules pinoutWiring the Mini PIR motion sensor modulesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

Mini PIR modules detect a person moving and set an output pin high, with no adjustment needed on most. The MH-SR602 and HC-SR505 are tiny and run from 3.3 V upwards, plug-in versions from Grove, Crowtail, M5Stack, DFRobot and ACEBOTT use cables, and the Senba SB412A and SB612A add knobs for delay, range and light level. They are ideal for battery and smart-home projects.

Key specs at a glance

Supply
About 2.7 to 12 V (MH-SR602 3.3 to 15 V, HC-SR505 4.5 to 20 V)
Output
Digital high on motion (3.3 V level on most)
Range
About 2 to 8 m
Hold time
About 2 to 8 s fixed, or adjustable on SB612A
Idle current
Tens of microamps on low-power modules
Warm-up
About 10 to 60 s after power-on

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1MH-SR602 Mini PIR Motion Sensor Module – 3-5m Range, 3.3-15V DC₹81
  • Option 2HC-SR505 Mini PIR Motion Sensor Infrared Detector Module₹66
  • Option 3Seeed Studio Grove Mini PIR Motion Sensor v1.0 – 3.3V/5V, Adjustable Sensitivity, 2m Range₹709
  • Option 4Elecrow Crowtail PIR Motion Sensor – 3-5V, 120° Angle, Max 6m Range₹319
  • Option 5Elecrow Crowtail- Mini PIR Motion Sensor 2.0 – Crowtail Interface₹729
  • Option 6HS-S38-L Human Body Sensor Module – PIR Motion Detector, 3.3V/5V, PH2.0 Connector₹202
01

What the Mini PIR motion sensor modules is

Mini PIR motion sensor modules such as the AM312 and SR602 are tiny passive infrared sensors that detect warm bodies moving and output a digital HIGH, ideal for battery projects.

The output goes high while motion continues and drops after the hold time. Wait for the warm-up after power-on, during which the output may toggle.

Low-power modules like the MH-SR602 suit coin-cell and deep-sleep ESP32 projects: wake the ESP32 on the PIR pin.

02

Mini PIR motion sensor modules pinout

The pins on the Mini PIR motion sensor modules and what each one does.

PinFunction
VCC / +Supply
OUT / SIGDigital output
GND / -Ground
PinFunction
VCC / +
Supply
OUT / SIG
Digital output
GND / -
Ground
03

Wiring the Mini PIR motion sensor modules

Connect the Mini PIR motion sensor modules like this.

Mini PIR motion sensor modules pinArduino UnoESP32
VCC5 V3.3 V or 5 V
GNDGNDGND
OUTD2GPIO 27
VCC
Arduino Uno:
5 V
ESP32:
3.3 V or 5 V
GND
Arduino Uno:
GND
ESP32:
GND
OUT
Arduino Uno:
D2
ESP32:
GPIO 27
04

Example code

A minimal sketch to check the part works.

Light on motion, off after 30 s · Arduino C++Verify & upload in Electrolark
const int PIR = 2, LIGHT = 7;
unsigned long last = 0;

void setup() { pinMode(PIR, INPUT); pinMode(LIGHT, OUTPUT); delay(30000); }

void loop() {
  if (digitalRead(PIR)) last = millis();
  digitalWrite(LIGHT, millis() - last < 30000 ? HIGH : LOW);
}
05

Setup and tuning

Wiring

VCC 2.7 to 12 V (check model), GND, and OUT to a digital pin.

Warm-up

wait about 30 to 60 s after power-up before trusting triggers.

Hold time

the output stays HIGH for a fixed time (about 2 s on AM312).

Range

about 3 to 5 m; mount at chest height.

Battery

draws only tens of µA, perfect for wake-on-motion.

06

What you need

Shop this list19 of 20 found in our store · ₹6,188

  • Generic MH-SR602 Mini PIR Motion Sensor Module – 3-5m Range, 3.3-15V DC: the part this guide coversMH-SR602 Mini PIR Motion Sensor Module – 3-5m Range, 3.3-15V DC₹81
  • HC-SR505 Mini PIR Motion Sensor Infrared Detector Module: another version this guide coversHC-SR505 Mini PIR Motion Sensor Infrared Detector Module₹66
  • Seeed Studio Studio Grove Mini PIR Motion Sensor v1.0 – 3.3V/5V, Adjustable Sensitivity, 2m Range: another version this guide coversSeeed Studio Grove Mini PIR Motion Sensor v1.0 – 3.3V/5V, Adjustable Sensitivity, 2m Range₹709
  • Elecrow Crowtail PIR Motion Sensor – 3-5V, 120° Angle, Max 6m Range: another version this guide coversElecrow Crowtail PIR Motion Sensor – 3-5V, 120° Angle, Max 6m Range₹319
  • Elecrow Crowtail- Mini PIR Motion Sensor 2.0 – Crowtail Interface: another version this guide coversElecrow Crowtail- Mini PIR Motion Sensor 2.0 – Crowtail Interface₹729
  • Generic HS-S38-L Human Body Sensor Module – PIR Motion Detector, 3.3V/5V, PH2.0 Connector: another version this guide coversHS-S38-L Human Body Sensor Module – PIR Motion Detector, 3.3V/5V, PH2.0 Connector₹202
  • Generic HS-S38A Human Body Sensor Module – PIR Motion Detector: another version this guide coversHS-S38A Human Body Sensor Module – PIR Motion Detector₹153
  • HS-S38P Human Body Sensor Module – PIR Motion Detector: another version this guide coversHS-S38P Human Body Sensor Module – PIR Motion Detector₹181
  • ACEBOTT PIR Motion Sensor Easy-Plug – 0-4m Detection, 3.3-5V DC: another version this guide coversACEBOTT PIR Motion Sensor Easy-Plug – 0-4m Detection, 3.3-5V DC₹359
  • DFRobot Gravity Digital Infrared Motion Sensor for Arduino – 5V, 7m Range, 110° Angle: another version this guide coversDFRobot Gravity Digital Infrared Motion Sensor for Arduino₹536
  • M5Stack PIR Motion Sensor Module for Smart Devices – 500cm Range, 2s Latency, Grove B Interface: another version this guide coversM5 STACK PIR Motion Sensor Module for Smart Devices₹635
  • Winsen ZRD-09 Human PIR Motion Sensor Module – 5-20V DC, 100° Angle: another version this guide coversWinsen ZRD-09 Human PIR Motion Sensor Module – 5-20V DC, 100° Angle₹186
  • Senba SB312A PIR Sensor Module – Digital Output, 3-12V DC: another version this guide coversSenba SB312A PIR Sensor Module – Digital Output, 3-12V DC₹379
  • Senba SB412A PIR Motion Sensor Module w/ AM412 Sensor – 2s-80min Delay, 3-12V DC: another version this guide coversSenba SB412A PIR Motion Sensor Module w/ AM412 Sensor – 2s-80min Delay, 3-12V DC₹279
  • Senba SB612-02-0001-L PIR Human Motion Sensor Module – Metal Casing, 8m Range: another version this guide coversSenba SB612-02-0001-L PIR Human Motion Sensor Module – Metal Casing, 8m Range₹229
  • Senba SB612A Smart Motion Module with Adjustable Lux, Delay Time & Distance – PIR Sensor Module: another version this guide coversSenba SB612A Smart Motion Module with Adjustable Lux, Delay Time & Distance – PIR Sensor Module₹479
  • Senba SB612A-02-001-L PIR Motion Sensor Module – 8m Range, 115° Angle, 3.8-12V DC: another version this guide coversSenba SB612A-02-001-L PIR Motion Sensor Module – 8m Range, 115° Angle, 3.8-12V DC₹449
  • Senba S9008 Mini PIR Plastic Housing Motion Sensor Fresnel Lens Dia 23mm: another version this guide coversSenba S9008 Mini PIR Plastic Housing Motion Sensor Fresnel Lens Dia 23mm₹33
  • Generic D203S Human Infrared Motion Detection Module – Digital Output: another version this guide coversD203S Human Infrared Motion Detection Module – Digital Output₹184
  • Uno R3 development board: the controller used in the wiring tableFind this part
07

Alternatives and when to choose them

  • ✓HC-SR501 module: bigger, adjustable delay and range.
  • ✓AM312 PIR: another tiny PIR.
  • ✓PIR sensor elements: bare sensors to design with.
08

Common mistakes to avoid

  • !Pointing it through a window.
  • !Trusting triggers during warm-up.
  • !Mounting near heaters.
  • !Expecting adjustable range.
09

Frequently asked questions

How is the AM312 different from the HC-SR501?

It is smaller, uses less power and has no adjustments.

Why does it trigger at power-up?

PIR sensors need 30 to 60 seconds to settle after power-up; ignore triggers until then.

Can it see through glass?

No. Window glass blocks the body-heat infrared a PIR looks for.

Is the output safe for ESP32?

Yes. The output is about 3.3 V, so it is safe for ESP32 and Pico pins.

Can I change the hold time?

Not on the AM312; keep the light or alarm on for longer in your code.

Parts for this guide

  • MH-SR602 Mini PIR Motion Sensor Module – 3-5m Range, 3.3-15V DC
    ₹81View
  • HC-SR505 Mini PIR Motion Sensor Infrared Detector Module
    ₹66View
  • Seeed Studio Grove Mini PIR Motion Sensor v1.0 – 3.3V/5V, Adjustable Sensitivity, 2m Range
    ₹709View
  • Elecrow Crowtail PIR Motion Sensor – 3-5V, 120° Angle, Max 6m Range
    ₹319View
  • Elecrow Crowtail- Mini PIR Motion Sensor 2.0 – Crowtail Interface
    ₹729View
  • HS-S38-L Human Body Sensor Module – PIR Motion Detector, 3.3V/5V, PH2.0 Connector
    ₹202View
  • HS-S38A Human Body Sensor Module – PIR Motion Detector
    ₹153View
  • HS-S38P Human Body Sensor Module – PIR Motion Detector
    ₹181View
  • ACEBOTT PIR Motion Sensor Easy-Plug – 0-4m Detection, 3.3-5V DC
    ₹359View
  • DFRobot Gravity Digital Infrared Motion Sensor for Arduino – 5V, 7m Range, 110° Angle
    ₹539View
  • M5Stack PIR Motion Sensor Module for Smart Devices – 500cm Range, 2s Latency, Grove B Interface
    ₹639View
  • Winsen ZRD-09 Human PIR Motion Sensor Module – 5-20V DC, 100° Angle
    ₹186View
  • Senba SB312A PIR Sensor Module – Digital Output, 3-12V DC
    ₹379View
  • Senba SB412A PIR Motion Sensor Module w/ AM412 Sensor – 2s-80min Delay, 3-12V DC
    ₹279View
  • Senba SB612-02-0001-L PIR Human Motion Sensor Module – Metal Casing, 8m Range
    ₹229View
  • Senba SB612A Smart Motion Module with Adjustable Lux, Delay Time & Distance – PIR Sensor Module
    ₹479View
  • Senba SB612A-02-001-L PIR Motion Sensor Module – 8m Range, 115° Angle, 3.8-12V DC
    ₹449View
  • Senba S9008 Mini PIR Plastic Housing Motion Sensor Fresnel Lens Dia 23mm
    ₹33View
  • D203S Human Infrared Motion Detection Module – Digital Output
    ₹184View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • 5V Relay Module with Optocoupler
    ₹74View
  • Buzzer Module 3.3–5V
    ₹27View
  • HC-SR501 PIR Motion Detector Sensor Module
    ₹59View
Shop Motion, Position & DistanceShop Infrared, ToF & LiDAR Distance Sensors

Keep learning

Component guideBeginnerPIR Motion Sensor (HC-SR501)A PIR (passive infrared) sensor detects movement of warm bodies by sensing changes in infrared heat across its field of view.3 min read · SensorsComponent guideBeginnerAM312 Mini PIR Motion SensorThe AM312 is a tiny passive infrared motion sensor with the lens and electronics in one small package.3 min read · SensorsComponent guideAdvancedPyroelectric PIR Sensor ElementsPyroelectric PIR element guide: D203S, D204B, D205B, quad-element, Excelitas, Murata and Panasonic sensors, digital BS612 and HM612 PIR, circuits and use.5 min read · SensorsComponent guideIntermediatemmWave and Microwave Presence SensorsRadar presence sensors send out radio waves and detect reflections from people.3 min read · Sensors

Sources

  • MH-SR602 and HC-SR505 datasheets
  • Senba module datasheets

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Mini PIR motion sensor modules isMini PIR motion sensor modules pinoutWiring the Mini PIR motion sensor modulesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹2,733

MH-SR602 Mini PIR Motion Sensor Module – 3-5m Range, 3.3-15V DC · Seeed Studio Grove Mini PIR Motion Sensor v1.0 – 3.3V/5V, Adjustable Sensitivity, 2m Range · Elecrow Crowtail PIR Motion Sensor – 3-5V, 120° Angle, Max 6m Range · Elecrow Crowtail- Mini PIR Motion Sensor 2.0 – Crowtail Interface · HS-S38-L Human Body Sensor Module – PIR Motion Detector, 3.3V/5V, PH2.0 Connector · HS-S38A Human Body Sensor Module – PIR Motion Detector · HS-S38P Human Body Sensor Module – PIR Motion Detector · ACEBOTT PIR Motion Sensor Easy-Plug – 0-4m Detection, 3.3-5V DC

Run itChange the inputs and watch the output

30 s warm-up, then the light stays on for 30 s after the last movement.

Light (pin 7) OFF

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question