Library › Electronic components › Modules, sensors & displays ·

HC-SR501 PIR motion sensor: dimensions, hole spacing, lens and CAD (STEP, STL)

What are the HC-SR501 dimensions, screw spacing and lens diameter? · Modern device · basis: HC-SR501 datasheets (Rapid, Pimoroni, Elektor).

Also called: hc-sr501 dimensions, pir sensor dimensions, hc-sr501 hole spacing, hc-sr501 lens diameter, pir sensor cutout size

Exact dimensions. Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part. Mating features

length
32.0 mm
width
24.0 mm
height
24.8 mm

Notes

  • Board 32 × 24 mm, two M2 screw holes 28 mm apart, Fresnel lens Ø23 mm.
  • About 25 mm from the board bottom to the top of the dome; header pins and trimpots underneath.
  • Board outline, holes and overall height follow the published numbers; component positions and sizes are estimated from product photos (clone boards vary).

HC-SR501 PIR motion sensor: dimensions, hole spacing, lens and CAD size chart

itemvalue
board32 × 24 mm
screw spacing28 mm, M2
lensØ23 mm

Mating features

Drawn at the exact size. Open press, slide, run and socket features by your process's clearance (tolerances by process); leave designed gaps and clamp fits as drawn.

featureexactmates withfitfiles
lensØ23enclosure cutoutslideall
mounting holesM2M2 screwslideall

Where the files are

Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.

PimoroniPIR motion sensor (HC-SR501) specificationswebPublisher's page; dimensions are facts
Rapid ElectronicsHC-SR501 PIR motion detector datasheetwebPublisher's page; dimensions are facts

Free files

★ Free files 1 parts. Generated by Xem Studio from the standard; threads are plain cylinders at major diameter. CC BY 4.0. index.json

Use this part in your AI. Your AI gets the exact sizes and files straight from Xem and can design a mount, case or adapter around it. Direct downloads here are limited to one file every 10 minutes; through your AI they are unlimited.

Connect Xem to your AI (free, no account, about a minute)
https://xemstudio.com/mcp
  1. Claude: Add to Claude
  2. ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
  3. Cursor: install with one click. VS Code: install with one click.
Other apps and full steps
hc-sr501-pir-sensorHC-SR501 PIR module: 32 x 24 mm board, two M2 holes 28 mm apart, 23 mm Fresnel dome, trimpots and header underSTEP · STL
Let your AI pull this. Claude: add Xem in one click. ChatGPT, Cursor or any MCP client: add https://xemstudio.com/mcp (free, no account). Your AI can then look up exact sizes, mating fits and free STEP/STL from every chat.
Set it up →

Plain text: sheet.txt · JSON: /api/geometry?object=hc-sr501-pir-motion-sensor

HC-SR501 PIR motion sensor: dimensions, hole spacing, lens and CAD (STEP, STL), isometric render of a generated part
Render of hc-sr501-pir-sensor from the free STEP; not to scale.

Related

Questions

What size hole does the HC-SR501 lens need?

The lens is Ø23 mm; its square skirt is about 23 mm.

What is the screw spacing?

28 mm, M2.