# Tools and Methods for Achieving Wi-Fi Sensing in Embedded Devices

**Authors:** Jesus A. Armenta-Garcia, Felix F. Gonzalez-Navarro, Jesus Caro-Gutierrez, Conrado I. Garcia-Reyes

PMC · DOI: 10.3390/s25196220 · 2025-10-08

## TL;DR

This paper introduces a low-cost, embedded solution for Wi-Fi-based human activity recognition that works on microcontrollers and doesn't require cloud computing.

## Contribution

A novel embedded Wi-Fi sensing system with an optimized DenseNet model and data augmentation method for edge deployment.

## Key findings

- A new CSI collection tool for microcontrollers improves packet rate efficiency under standard baud rates.
- An EMD-based data augmentation method increased model accuracy from 59.91% to 97.55%.
- A compact DenseNet model achieved 92.43% accuracy on an ESP32-S3 with 232 ms latency and 127 kB memory usage.

## Abstract

Wi-Fi sensing has emerged as a powerful approach to Human Activity Recognition (HAR) by utilizing Channel State Information (CSI). However, current implementations face two significant challenges: reliance on firmware-modified hardware for CSI collection and dependence on GPU/cloud-based deep learning models for inference. To address these limitations, we propose a two-fold embedded solution: a novel CSI collection tool built on low-cost microcontrollers that surpass existing embedded alternatives in packet rate efficiency under standard baud rate conditions and an optimized DenseNet-based HAR model deployable on resource-constrained edge devices without cloud dependency. In addition, a new HAR dataset is presented. To deal with the scarcity of training data, an Empirical Mode Decomposition (EMD)-based data augmentation method is presented. With this strategy, it was possible to enhance model accuracy from 59.91% to 97.55%. Leveraging this enhanced dataset, a compact DenseNet variant is presented. An accuracy of 92.43% at 232 ms inference latency is achieved when implemented on an ESP32-S3 microcontroller. Using as little as 127 kB of memory, the proposed model offers acceptable performance in terms of accuracy and privacy-preserving HAR at the edge; it also represents a scalable and low-cost Wi-Fi sensing solution.

## Full-text entities

- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

16 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12526573/full.md

---
Source: https://tomesphere.com/paper/PMC12526573