About

What Is WiFi CSI? How It Senses Location and Breathing Without Cameras

Using Physical Layer Data of WiFi Signals Like Radar

Typical WiFi signal strength (RSSI) measures only a single overall signal power, but CSI (Channel State Information) measures amplitude and phase data for each of the 56 subcarriers. When WiFi signals travel through space, they reflect, absorb, and diffract off the human body, and CSI can detect these changes at millimeter level. Placing 4-6 nodes with CSI-capable chips like ESP32-S3 in a room forms N×(N-1) links that scan the space from multiple angles. Collecting simultaneously on channels 1, 6, and 11 creates 3×56=168 virtual subcarriers to maximize spatial resolution. The RuView project is an open-source implementation of this technology.

Architecture Diagram

RSSI vs CSI: Information Difference
📊
RSSI (standard WiFi)
1 signal strength value
-67 dBm
vs
📈
CSI (ESP32-S3)
56 subcarriers x amplitude+phase
168 data points
Node Placement & Mesh Links
📡
Node 1
ch 1,6,11
📡
Node 2
|
🚶
Person
Reflect/Absorb/Diffract
|
📡
Node 3
N x (N-1) links
📡
Node 4
Signal Processing Pipeline
CSI Collection
168 data points
→
Hampel
Outlier removal
→
SpotFi
Angle of Arrival (AoA)
→
Fresnel
Physics modeling
→
FFT
Frequency analysis
→
AI (RuVector)
Attention + Graph
Detectable Information
📍
Location Tracking
cm-level
🏃
Motion Detection
Activity classification
🫁
Respiration
0.1~0.5 Hz
💓
Heart Rate
0.8~2.0 Hz
🚨
Fall Detection
Sudden changes
Core Principle: When a person breathes, the chest moves a few mm, which appears as WiFi phase changes

How It Works

1

Place 4-6 ESP32-S3 nodes in a room, sending/receiving WiFi signals to form N×(N-1) links

2

Collect CSI data (56 subcarriers × amplitude+phase) on channels 1, 6, 11 from each link in real-time

3

Remove outliers with Hampel filter, estimate Angle of Arrival (AoA) with SpotFi algorithm

4

Calculate physical interaction between human body and signals via Fresnel zone modeling

5

Separate breathing (0.1-0.5Hz) and heartbeat (0.8-2.0Hz) frequency bands via FFT analysis

6

AI (Attention + Graph algorithms) separates human signals from noise, estimates position and behavior

Pros

  • ✓ Privacy protection without cameras
  • ✓ Detection possible even behind walls/obstacles
  • ✓ No wearable devices needed
  • ✓ Can measure vital signs like breathing and heartbeat
  • ✓ Can leverage existing WiFi infrastructure

Cons

  • ✗ Not possible with regular routers (special firmware capable of CSI extraction needed)
  • ✗ Multiple ESP32 nodes required (4-6)
  • ✗ Recalibration needed for environment changes (furniture moves, etc.)
  • ✗ Initial data collection time needed for AI model training
  • ✗ Higher implementation complexity compared to RSSI

Use Cases

Smart home occupancy detection (automatic lighting/HVAC control) Elderly safety monitoring (fall detection) Intrusion detection security systems Sleep monitoring (contactless breathing/heartbeat) Smart office space utilization analysis

References

← QUIC vs WebRTC: Why the Switch Back to QUIC? What Your Bluetooth Devices Reveal About You →