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.
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
| Property | PIR | mmWave radar |
|---|---|---|
| Detects | Motion (heat change) | Presence, including micro-motion like breathing |
| Still person | Missed after a few seconds | Detected |
| Typical range | About 5–12 m | About 6–10 m indoors, part-dependent |
| Distance / position | No | Distance yes; some give X/Y and multi-target |
| Frequency | Infrared (passive) | 24 GHz or 60 GHz radio (active) |
| Cost | Very low (~$1–3) | Several times higher |
| Power | Microamps; great on battery | Tens of mA typical; prefers wired power |
| Sees through plastic | No | Yes, thin non-metal with some loss |
| Setup | Mount and go | Needs sensitivity and zone tuning |
| False triggers from | Draughts of warm/cold air, sunlight, pets | Fans, moving curtains, through-wall motion |
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
- Pick PIR when targets are always moving, the budget is tight, or the sensor runs on a battery — hallways, stairs, cupboards, outdoor motion alerts.
- Pick mmWave when people sit still and detection must not drop — living rooms, offices, bathrooms, reading areas, and HVAC that should follow true occupancy.
- Pick mmWave when you need distance or position, or want to hide the sensor behind a plastic panel.
- 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.
- PIR false triggers: keep it away from heating vents, direct sunlight through a window and radiators. Fast swings in warm air look like a moving body. Pets trigger many PIRs too; pet-immune lenses help.
- mmWave over-sensitivity: a radar will happily detect a ceiling fan, a swaying curtain or motion through a thin wall. Set detection zones and a sensitivity threshold, and raise the "absence" timeout so brief dropouts do not flip the state.
- Mounting height and angle change the covered area for both. Follow the datasheet's recommended height, and aim the field across the space rather than straight down.
- Latency: PIR responds to motion almost instantly; mmWave may take a moment to confirm presence and, on power-up, to settle. Account for that in timing-critical triggers.
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.