mmWave and Thermal: Three Projects
mmWave and Thermal: Three Projects
Overview
Section titled “Overview”Chapter 25 Sections 10 and 12 covered proximity/presence and physiological sensing selection; this section turns three “invisible needs” into hands-on projects: room-level person tracking (mmWave radar), sleep monitoring (radar/mattress sensing), and breathing and heart-rate extraction (60 GHz radar micro-motion). The hard part is not wiring but separating “the person” from clutter in the signal. By the end you will be able to:
- Use a mmWave radar (e.g. a 60 GHz C1001-class module) for staged presence/breathing/heart projects
- Follow the processing chain from raw returns to “present, breathing rate, heart rate”
- Design a three-tier progression: presence → breathing trend → heart-rate estimate
- Recognise false-positive sources (multipath, pets, body movement) and their countermeasures
Prerequisites
Section titled “Prerequisites”- Completed Chapter 25 Section 10 (proximity/presence) and Section 12 (physiological)
- A mmWave radar module (e.g. DFRobot C1001, 60 GHz) connected to ESP32 (UART/I²C)
- A way to observe raw data over serial/plots
Key Concepts
Section titled “Key Concepts”The three projects’ signal chain (easy to hard)
Section titled “The three projects’ signal chain (easy to hard)”| Project | Input | Processing | Output | Difficulty |
|---|---|---|---|---|
| Room presence/tracking | distance/angle/micro-motion raw | threshold plus debounce plus zones | present/absent, coarse position | Low |
| Sleep monitoring | body movement plus breathing micro-motion | band filtering plus period stats | turns, breathing trend, in-bed | Medium |
| Breathing/heart extraction | phase/distance series of chest micro-motion | band-pass plus FFT/peak detect | breathing rate, heart-rate estimate | High |
Shared core: physiological measurement is separating periodic micro-motion from noise and body movement — filter first (breathing ~0.1–0.5 Hz, heart ~0.8–2 Hz), then estimate frequency.
Staged implementation
Section titled “Staged implementation”- Presence: use the radar’s present/absent decision first, validate mounting height/orientation/coverage — most useful and easiest to succeed
- Breathing trend: read micro-motion, band-pass to breathing, check for a stable period — give a trend, not an absolute value
- Heart extraction: noisy and movement-sensitive; needs still conditions plus a data window plus a quality/confidence metric — treat as an estimate
False positives and countermeasures
Section titled “False positives and countermeasures”- Multipath/wall penetration: the radar may “see through” walls; set range gates and limit field of view
- Pets/fans/curtains: confuse micro-motion sources; combine amplitude/range/direction with time correlation
- Movement swamps physiology: when movement is large, heart/breathing is untrustworthy; output a signal-quality flag
- Absolute accuracy: consumer radar heart rate is a trend/estimate, not a medical reading
[Needs board/measurement] The register/output format of a specific radar module, and measured accuracy and usable range for breathing/heart extraction, must be calibrated on the chosen module; the frequency bands and flow here are the general method.
Verification
Section titled “Verification”| Check | Expected result | Verified |
|---|---|---|
| Presence detection stable | Reliable present/absent in coverage, debounce works | |
| Breathing band-pass works | Stable breathing cycle visible at rest | |
| Heart estimate has quality | Output carries confidence, degrades under movement | |
| False-positive controls | Pet/fan scenarios have mitigations and records | |
| Mounting calibrated | Height/orientation/range gate set |
Troubleshooting
Section titled “Troubleshooting”Issue 1: reports presence when nobody is there
Section titled “Issue 1: reports presence when nobody is there”Cause: multipath, far-field micro-motion, threshold too low.
Action: tighten range gate, raise amplitude threshold, use time-correlation debounce (the Chapter 25 debounce idea).
Issue 2: heart-rate reading jumps around
Section titled “Issue 2: heart-rate reading jumps around”Cause: movement contamination plus too-short window plus no quality filter.
Action: output only in still windows, lengthen the data window, drop or flag when the quality score is low.
Best Practices
Section titled “Best Practices”- Do: start from presence and climb to breathing then heart; never start with heart rate
- Do: label every physiological reading as trend/estimate with a quality flag
- Do: calibrate the mounting geometry before tuning algorithms
- Don’t: treat a consumer radar heart rate as a medical device
- Don’t: use a single threshold for presence, ignoring multipath and interferers
Summary
Section titled “Summary”Key points of this section:
- The three projects are one easy-to-hard chain: presence → breathing trend → heart estimate
- Physiology = separating periodic micro-motion from noise/movement: band-pass then estimate
- False positives are the main battlefield: multipath, pets, movement — met with joint criteria and quality flags
- Stage the build, calibrate first, flag quality; never impersonate medical accuracy
We provide ESP32 ODM design-to-manufacturing services. From prototype to production — the team behind this tutorial can build it with you.
💡 Mention tutorial.imagrove.com in your Alibaba chat with us — get 10% off your custom project quote.
First published attutorial.imagrove.com/project-factory-environment/15-mmwave-and-thermal-three-projects/Please credit Imagrove and link back to this page when quoting or republishing.
Questions or issues with this tutorial?
Sign in with GitHub to leave a comment. If a step fails for you, tell us — we verify it and update the tutorial.
© Imagrove · ESP32 IoT Tutorial