SGP Official store ↗
Blog / Projects / Sensors

mmWave radar vs PIR: which presence sensor to use

Both sensors answer "is anyone there?", but they answer different questions. A PIR detects movement. A mmWave radar detects presence, including a person sitting perfectly still. Here is how each one works and how to pick the right one for lights, occupancy and HVAC.

Published 19 Oct 2026Read 9 minLevel BeginnerTopic Sensors
PIR — motion zones mmWave — presence zone sensor fires only as heat crosses a stripe sensor still person continuous presence + distance NOT TO SCALE · typical indoor coverage
FIG 1 — A PIR only fires as warm bodies cross its segmented zones, so a still person vanishes. A mmWave radar fills its field with a graded presence reading and can report distance.

The single most important difference is this: PIR detects motion, mmWave radar detects presence. That one distinction explains the price gap, the tuning effort and almost every "why do my lights keep turning off" complaint. Get it right and you choose the correct sensor in about a minute.

01How a PIR sensor works

PIR stands for passive infrared. Every warm object radiates infrared heat. A PIR sensor sits behind a faceted plastic Fresnel lens that splits its view into a fan of zones. Inside are two pyroelectric elements wired against each other. When a warm body crosses from one zone into the next, one element sees more heat than the other for a moment, and that difference triggers the output.

"Passive" means it emits nothing; it only listens for heat. That makes it cheap, typically a dollar or two, and extremely low power, which is why battery PIR sensors last for years. Indoor range is usually about 5 to 12 metres within a cone of roughly 90 to 110 degrees.

The catch is built into the physics. A PIR reacts to change. A person who stops moving stops producing a change, so after a few seconds the sensor reads an empty room. It is also weaker when the background is close to body temperature, because then there is little heat contrast to detect.

Good to knowA PIR needs line of sight. It cannot see through glass, walls or opaque enclosures, because infrared heat does not pass through them. Point it at the space you want to watch, with nothing in the way.

02How mmWave radar works

A mmWave sensor is an active radar. It transmits a millimetre-wave radio signal, commonly 24 GHz or 60 GHz, and listens to the echo. Most use a technique called FMCW (frequency-modulated continuous wave): the transmitted frequency sweeps up and down, and the shift in the returning echo tells the sensor how far away the reflecting object is.

Because it compares echoes over time, radar notices tiny movements a PIR would never see — the rise and fall of a chest when someone breathes is enough. That is what lets mmWave report true presence: a person reading on a sofa, motionless to a PIR, is still clearly "there" to a radar. Beyond presence, many modules also give distance, and multi-antenna parts can estimate an X/Y position and track several targets at once.

The trade-offs are cost and complexity. A mmWave module costs several times a PIR, draws more current (so it usually wants mains or a healthy supply rather than a coin cell), and needs tuning: you set sensitivity and detection zones so a passing draught, a fan or a neighbour through a thin wall does not count as presence.

03Side by side

PropertyPIRmmWave radar
DetectsMotion (heat change)Presence, including micro-motion like breathing
Still personMissed after a few secondsDetected
Typical rangeAbout 5–12 mAbout 6–10 m indoors, part-dependent
Distance / positionNoDistance yes; some give X/Y and multi-target
FrequencyInfrared (passive)24 GHz or 60 GHz radio (active)
CostVery low (~$1–3)Several times higher
PowerMicroamps; great on batteryTens of mA typical; prefers wired power
Sees through plasticNoYes, thin non-metal with some loss
SetupMount and goNeeds sensitivity and zone tuning
False triggers fromDraughts of warm/cold air, sunlight, petsFans, moving curtains, through-wall motion
Reading the rangesThese are typical consumer figures, not hard limits. Exact range, field of view and latency depend on the specific module, its antenna and how you configure it. Always check the datasheet for the part you buy.

04Use cases

Lighting. For a hallway, stairwell or walk-in closet, where people are always moving, a PIR is perfect and cheap. For a living room, office or reading nook, where people sit still, PIR causes the classic "lights off while I'm here" problem, and mmWave is the better choice.

Occupancy and automation. If you want to know whether a room is genuinely occupied — to log desk usage, hold a scene, or keep a display awake — you need presence, so mmWave wins. If you only need a trigger for "someone just walked in", PIR is enough.

HVAC and comfort. Heating and cooling should follow real occupancy, not footsteps. A PIR will let a room go cold around a person sitting at a desk. A mmWave sensor keeps the space conditioned while anyone is present and lets it coast once the room is truly empty, which also saves energy.

Security and battery nodes. For a battery-powered intruder trigger or an outdoor alert, PIR's microamp draw and instant motion response are hard to beat. mmWave's appetite for power makes it a poor fit for a long-life battery sensor.

05A quick "pick this when" guide

  1. Pick PIR when targets are always moving, the budget is tight, or the sensor runs on a battery — hallways, stairs, cupboards, outdoor motion alerts.
  2. Pick mmWave when people sit still and detection must not drop — living rooms, offices, bathrooms, reading areas, and HVAC that should follow true occupancy.
  3. Pick mmWave when you need distance or position, or want to hide the sensor behind a plastic panel.
  4. Use both together for the best of each: PIR for an instant, low-power "someone entered", mmWave to confirm and hold presence. This sensor-fusion approach is common in modern occupancy products.

06Tuning and common gotchas

Most disappointment with either sensor comes from mounting and settings, not the sensor itself.

Both sensors are easy to wire to a microcontroller: a PIR gives a simple high/low output on one GPIO, while most mmWave modules stream presence, distance and target data over a serial (UART) link that an ESP32 can read and act on — a natural pairing for a DIY occupancy project.

07FAQ

Can a PIR sensor detect a person who is sitting still?

Not reliably. A PIR reacts to a moving heat source crossing its zones. A person sitting still gives almost no change, so the sensor soon reads an empty room. This is the classic reason lights switch off while you are still there.

Does mmWave radar work through walls or glass?

Partly. The millimetre-wave signal passes through thin non-metallic materials such as plastic housings and drywall with some loss, which lets you hide the sensor behind a panel. Metal blocks it, and thick or dense walls attenuate it heavily, so do not count on reliable detection through a solid wall.

Why do my lights turn off while I am still in the room?

Almost always a PIR sensor with a timeout. Because PIR only sees motion, sitting still looks like an empty room, so the timer expires. A mmWave sensor that detects micro-motion such as breathing keeps the lights on as long as someone is present.

Is mmWave radar safe to have in a home?

Yes. These sensors use low-power, non-ionising radio at output levels of a few milliwatts, far below the limits for consumer radio devices. It is the same class of signal as Wi-Fi, not the ionising radiation of an X-ray.

SGP Lab — written by the team that designs and builds SGP hardware in Europe. We test every example on our own boards before publishing.

SGP devices are sold only at our official store.

sgpstore.net ↗