Skip to main content
Home / Sensors / HC-SR312 Mini PIR Motion Sensor Module Infrared Pyroelectric Human Body IR Sensor

Attributes

Brand -
Category Robotics / STEM Teaching Tools / Sensors
Origin -
Model Number HC-SR312
Detection Angle 100 degrees cone angle
Operating Voltage DC 3.0V - 5.0V
Output Signal High level (3.3V) / Low level (0V)
Dimensions 10mm x 10mm x 4.5mm
Trigger Mode Repeatable trigger (H) and Unrepeatable trigger (L)
Blocking Time Adjustable via onboard potentiometer (default ~2s)
Sensing Distance Up to 3 meters (depending on environment)
Current Consumption < 60uA in standby mode
Application Arduino, Raspberry Pi, DIY security systems, automatic lighting

6 reviews

A

Anonymous

Mar 25, 2026

Rating: 4/5

Easy to use for beginners

I am new to electronics, and this module was very easy to connect to my starter kit. The online tutorials for the larger version work mostly the same for this one. Just remember to check the voltage requirements.

A

Anonymous

Mar 25, 2026

Rating: 5/5

Perfect for small IoT projects

This sensor is incredibly compact compared to the standard HC-SR501. It fit perfectly inside my small enclosure for a battery-powered hallway light. The sensitivity is good, and it detects motion reliably up to about 2.5 meters in my testing.

A

Anonymous

Mar 22, 2026

Rating: 4/5

Great size, needs calibration

The form factor is exactly what I needed for my wearable project. However, you need to spend some time adjusting the potentiometers to get the delay and sensitivity just right. Once tuned, it works very well.

A

Anonymous

Mar 15, 2026

Rating: 3/5

Good but short range

It works as advertised, but don't expect long-range detection. In my open office test, it maxed out around 2 meters reliably. For close-proximity alerts or small rooms, it is excellent.

A

Anonymous

Mar 13, 2026

Rating: 5/5

Low power consumption confirmed

I measured the current draw, and it really does stay under 60uA when idle. This makes it ideal for projects running on coin cell batteries. The output signal is clean and easy to read with an Arduino.

A

Anonymous

Mar 10, 2026

Rating: 5/5

Excellent replacement for bulky sensors

Finally, a PIR sensor that doesn't dominate the PCB layout. The pinout is standard, so swapping it into existing designs was trivial. Highly recommended for space-constrained builds.

5 FAQ

Q: Is this compatible with 5V Arduino boards?

A: Yes, the module operates between 3.0V and 5.0V, making it fully compatible with both 3.3V and 5V Arduino boards like the Uno and Nano without needing a logic level converter.

Q: Does this come with headers soldered?

A: No, the module is typically shipped without headers to save space and allow for flexible mounting. You will need to solder your own 3-pin header or wires to the GND, VCC, and OUT pads.

Q: What is the difference between H and L trigger modes?

A: In 'H' (Repeatable) mode, the output stays high as long as motion is continuously detected. In 'L' (Unrepeatable) mode, once motion triggers the sensor, the output goes high for the set blocking time regardless of continued motion, then resets.

Q: How do I adjust the sensing distance?

A: The sensing distance is primarily fixed by the lens design, but you can fine-tune the sensitivity using the smaller potentiometer on the board. Turning it clockwise usually increases sensitivity, while counter-clockwise decreases it.

Q: Can this sensor detect motion through a thin plastic cover?

A: Yes, the HC-SR312 can typically detect motion through thin non-metallic materials like plastic or glass, provided they are not too thick or opaque to infrared radiation. We recommend testing with your specific enclosure material.

Explore your interests

All Categories
Best Seller (30)
New List (30)
Used Car Tires Auto Salvage Tires 155 165 175 185 195 205 215 1U3 14 15 16

Used Car Tires Auto Salvage Tires 155 165 175 185 195 205 215 1U3 14 15 16

$202.00

Magnetic Charging Stand for MIJIA Smart Audio Glasses (Enjoyment Edition) & Jiehuan AI Glasses – Wireless Installation for Type 86 Box

Magnetic Charging Stand for MIJIA Smart Audio Glasses (Enjoyment Edition) & Jiehuan AI Glasses – Wireless Installation for Type 86 Box

$84.10

Premium DIY Succulent Sand Painting Scented Candle Kit for Holidays and Team Building

Premium DIY Succulent Sand Painting Scented Candle Kit for Holidays and Team Building

$21.20

2018 / New 2024 Rockschool Drum Kit Levels 0-8 Complete with Bonus Audio

2018 / New 2024 Rockschool Drum Kit Levels 0-8 Complete with Bonus Audio

$21.98

Hanyue Cordura N66 Rafting Dry Bag - Ultra-Light Waterproof Storage for Outdoor Swimming and Trekking

Hanyue Cordura N66 Rafting Dry Bag - Ultra-Light Waterproof Storage for Outdoor Swimming and Trekking

$35.70

Sketchbook for Casual Drawing, Acrylic Marker and Watercolor Pad, Square Pocket Art Book, Portable Travel Journal with Thick 230g White Cardstock

Sketchbook for Casual Drawing, Acrylic Marker and Watercolor Pad, Square Pocket Art Book, Portable Travel Journal with Thick 230g White Cardstock

$5.50

Wenxin Tang Calligraphy Copybook for Beginners, Regular Script Duobao Pagoda, Running Script Lanting Preface, Small Kai Lingfei Jing, Brush Character Cards

Wenxin Tang Calligraphy Copybook for Beginners, Regular Script Duobao Pagoda, Running Script Lanting Preface, Small Kai Lingfei Jing, Brush Character Cards

$23.80

Resistor NXBU714 for ABB ACS800 Inverter

Resistor NXBU714 for ABB ACS800 Inverter

$560.00

3D Printing Pen for Kids - Edible Malt Sugar Art DIY Kit for Birthdays (Age 6+)

3D Printing Pen for Kids - Edible Malt Sugar Art DIY Kit for Birthdays (Age 6+)

$39.00

Professional Rotating Car Tire and Wheel Cleaning Rack – Effortless Washing Stand

Professional Rotating Car Tire and Wheel Cleaning Rack – Effortless Washing Stand

$245.00

Nangong Wenfang Three-Character Classic Small Regular Script Copybook – Transparent Cards for Calligraphy Practice Beginners

Nangong Wenfang Three-Character Classic Small Regular Script Copybook – Transparent Cards for Calligraphy Practice Beginners

$69.00

Over-Washing Machine Shelf, Multi-Function Flip-Top Storage Cabinet for Toilet, Bathroom Floor-Standing Unit with No Drilling Required

Over-Washing Machine Shelf, Multi-Function Flip-Top Storage Cabinet for Toilet, Bathroom Floor-Standing Unit with No Drilling Required

$32.88

UGREEN Cable Organizer, Magnetic Desktop Data Wire Fixer, Phone Charging Clip and Cord Collector

UGREEN Cable Organizer, Magnetic Desktop Data Wire Fixer, Phone Charging Clip and Cord Collector

$15.90

Compact Manual Water Pump Dispenser for Home Desktop Use – Mini Hand-Press Faucet for Large Water Buckets

Compact Manual Water Pump Dispenser for Home Desktop Use – Mini Hand-Press Faucet for Large Water Buckets

$23.10

Traditional Sheepskin Rattle Baby Chewable Old-Style Handmade Newborn Wave Drum Toy for Children 0-6 Months

Traditional Sheepskin Rattle Baby Chewable Old-Style Handmade Newborn Wave Drum Toy for Children 0-6 Months

$17.80

Amazon Best Seller Clearance - Outdoor Waterproof Dry Bag for Swimming, Rafting, Snorkeling, and Diving

Amazon Best Seller Clearance - Outdoor Waterproof Dry Bag for Swimming, Rafting, Snorkeling, and Diving

$135.00

Huirui 420AB Fast-Curing Silicone Adhesive - High-Strength Instant Glue for Bonding Silicone Metal Plastic and Velcro

Huirui 420AB Fast-Curing Silicone Adhesive - High-Strength Instant Glue for Bonding Silicone Metal Plastic and Velcro

$36.00

IGBT Module FP15R12KE3/FP25R12KE3/FS50R12KE3/FS75R12KE3

IGBT Module FP15R12KE3/FP25R12KE3/FS50R12KE3/FS75R12KE3

$250.00

3F UL Gear Ventilated Waterproof Dry Bag – Compressible Storage for Sleeping Bags, Clothes, and Swim Gear

3F UL Gear Ventilated Waterproof Dry Bag – Compressible Storage for Sleeping Bags, Clothes, and Swim Gear

$40.80

Martini 100% Cotton Watercolor Paper 200g/300g Thickened Art Sketch Paper 4K Drawing Paper

Martini 100% Cotton Watercolor Paper 200g/300g Thickened Art Sketch Paper 4K Drawing Paper

$12.00

Flameless Aromatherapy DIY Kit - Natural Crystal Diffuser Stones for Home Decor and Demagnetizing

Flameless Aromatherapy DIY Kit - Natural Crystal Diffuser Stones for Home Decor and Demagnetizing

$4.68

[Ali Health] Dental Implant Initial Consultation Package, Oral Cavity Filling, Crown, Denture, and Implant Assessment

[Ali Health] Dental Implant Initial Consultation Package, Oral Cavity Filling, Crown, Denture, and Implant Assessment

$7.90

3M Industrial Scouring Pad for Polishing, Cleaning, and Rust Removal - Bulk Factory Supply with Aluminum Oxide

3M Industrial Scouring Pad for Polishing, Cleaning, and Rust Removal - Bulk Factory Supply with Aluminum Oxide

$7.20

Bull Socket Storage Box - Multi-Outlet Power Strip with Cord, Home Multifunctional Desktop Cable Organizer, Power Junction Board

Bull Socket Storage Box - Multi-Outlet Power Strip with Cord, Home Multifunctional Desktop Cable Organizer, Power Junction Board

$85.90

Used Car Tires 80-90% New, Sizes 165/185/195/205/215/235/60/70/75 R13/R14/R15

Used Car Tires 80-90% New, Sizes 165/185/195/205/215/235/60/70/75 R13/R14/R15

$65.00

BBP Angular Contact Ball Bearings 7000 7001 7002 7003 7004 7005 7006-E-J

BBP Angular Contact Ball Bearings 7000 7001 7002 7003 7004 7005 7006-E-J

$14.08

Baby Rattle with Teether for 0-1 Year Olds; Ideal Gift for Children's Day

Baby Rattle with Teether for 0-1 Year Olds; Ideal Gift for Children's Day

$14.80

Meiyike Granular Sheep Manure Fertilizer, Fermented and Composted for Vegetables and Flowers, Home Potted Plants, Garden Soil Activator

Meiyike Granular Sheep Manure Fertilizer, Fermented and Composted for Vegetables and Flowers, Home Potted Plants, Garden Soil Activator

$37.54

Face Towel Storage Box Wall-Mounted Bathroom Tissue Holder

Face Towel Storage Box Wall-Mounted Bathroom Tissue Holder

$2.98

Baby Rattle Toy - Chewable Wooden Handheld Drum with Sheepskin, Traditional Newborn Toy for Boys and Girls

Baby Rattle Toy - Chewable Wooden Handheld Drum with Sheepskin, Traditional Newborn Toy for Boys and Girls

$13.00