Ambient Sound Monitor System

GitHub Link

This project is an intelligent ambient sound monitoring system (aka Xylyrnth) designed for the smartwatch market, targeting users who may struggle to stay aware of their surroundings or frequently operate in noisy environments. The system leverages advanced real-time processing to detect key sounds and deliver alerts through haptic and visual feedback.

System Overview

Xylyrnth is built around two custom ESP32 hardware boards, programmed entirely in low-level embedded C to ensure optimal performance and precise control. These boards communicate via Bluetooth and perform tightly synchronized tasks:

The Master

The Slave

Technical Details

The firmware is structured around FreeRTOS, enabling parallel processing across multiple real-time tasks, including:

By using low-level embedded C programming, Xylyrnth achieves precise control over hardware resources, ensuring efficient and reliable performance for all system functions. This design highlights the system's ability to tackle complex, real-time operations within the constraints of embedded systems.

Operating Principle

The system architecture and operation are illustrated below:

Hardware

Here is the custom PCB which I designed and assembled for this project.

This is a 4-layer PCB designed in Altium Designer. The design employs advanced grounding techniques to minimize noise interference, specifically between the Bluetooth antenna and the digital sections, ensuring accurate signal measurements and stable operation. The design is purely digital, focusing on efficient power management, signal integrity, and minimizing electromagnetic interference (EMI).

I have attached the full schematic diagram and the Altium Draftsman files below, which include detailed layout designs, component annotations, BOM, layer stack management, and more.

Altium Scheamtic and Draftsman Download