Nanyang Technological University
Design and implementation of a low-power embedded system for indoor environmental monitoring and human traffic detection
Abstract
dc:description.abstractIndoor environmental monitoring and occupancy-related data collection have become increasingly important for smart building management, energy optimization, and facility utilization analysis. Conventional monitoring solutions often require complex infrastructure, continuous network connectivity, or high deployment costs, which limit their applicability in small-scale and standalone environments. This project presents the design and implementation of a low-power embedded system for indoor environmental monitoring and human traffic detection. The proposed system is built around the STM32L496RGT6 microcontroller and integrates temperature and humidity sensing, directional pedestrian detection, local data storage, real-time clock management, and USB mass storage communication into a single embedded platform. Environmental data are acquired using an SHT45 digital sensor, while human traffic direction is determined through a dual-passive infrared(PIR) sensor arrangement and a state-machine-based detection algorithm. Measurement records and pedestrian traffic logs are stored in external W25Q512 flash memory using the FATFS file system. A USB Type-C interface is implemented to enable direct access to stored data and system configuration files without requiring dedicated software tools. A complete firmware architecture was developed to support sensor acquisition, event processing, low-power operation, file management, and user configuration. Experimental evaluation was conducted to verify environmental monitoring functionality, pedestrian detection capability, data storage reliability, USB accessibility, and overall system stability. The results demonstrated reliable operation of the sensing and logging subsystems, effective directional pedestrian detection under normal operating conditions, and stable long-term data storage performance. The developed prototype provides a compact, cost-effective, and energy-efficient solution for indoor monitoring applications. The system establishes a practical foundation for future enhancements involving wireless communication, cloud-based analytics, and large-scale smart building deployments.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Liu, Bao
- Advisor dc:contributor.supervisor
-
- Su Rong
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/219021