This project addresses the conflict between "Displayed Status" and "Actual Usage" in shared spaces (classrooms, meeting rooms, labs). We developed an intelligent occupancy sign that uses Multi-modal Heterogeneous Fusion to detect human presence with high reliability, even in "static" or "silent" scenarios.
The system adopts a distributed control architecture:
- Audio AI Module (ESP32): Captures acoustic features and runs a Random Forest classifier to identify human activities (talking, typing, moving).
- Microwave Radar Module (Arduino Uno): Detects micro-movements (breathing, slight shifting) via 24GHz microwave Doppler effect.
- Indicator System: A tri-color LED system (Red: Occupied, Yellow: Leaving soon, Green: Vacant).
To overcome the limitations of far-field sound pickup, we implemented custom non-linear gain compensation:
- RMS Factor (*5.0): Amplifies the root-mean-square energy of the signal to capture faint distant sounds.
- Burst Factor (*4.0): Enhances transient pulse detection (e.g., pen clicking, page turning).
- Classifier: A Random Forest model optimized for low-power edge deployment on ESP32.
We designed an Asynchronous Trigger-and-Hold logic to handle the "Blind Zone" and "Static Presence" issues:
- Fast Wake-up: The system triggers "Occupied" if either the Radar or AI detects a signal within a 6-second window.
- Robust Maintenance: A 30-minute cooldown timer prevents frequent flickering. The status only reverts to "Vacant" if no signals are detected by both sensors for the entire duration.
├── ESP32-Audio-AI/ # Source code for AI inference & sound processing
├── Arduino-Uno-Radar/ # Radar signal processing & LED control logic
└── Hardware/ # 3D modeling files (.STL & .STEP) for the enclosure
- Microcontrollers: ESP32-DevKitC, Arduino Uno R3
- Sensors: INMP441 (I2S Digital Microphone), LD2402 (24GHz Microwave Radar)
- Outputs: RGB LED Strip / Matrix
- Enclosure: Custom 3D-printed PLA housing
- Current Limitation: In extreme silence (e.g., deep sleep without movement), detection remains a challenge.
- Optimization: Future iterations will migrate to a single-chip solution (ESP32-S3) to reduce power consumption and latency.
Developed by a team of students from Shanghai Jiao Tong University (SJTU):
- Wang Yanzhe (Project Lead & AI Developer)
- Xiong Jinyi(AI Developer), Li Zeyu(3D-Model Designer), Pan Jingyuan(Electronic Control), Dong Yunhe(Report and PPT Making).
Special thanks to SJTU teachers:Yang Li and Wang Zechen for providing instructions, testing environment and equipment.