IoT-enabled system for stress reduction through music using a microcontroller

DE202025102616U1Active Publication Date: 2025-08-07ANUMALA ALEKHYA ONGOLE +11
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE202025102616
Authority / Receiving Office
DE · DE
Patent Type
Utility models
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-08-07
Estimated Expiration
2035-05-31

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

An IoT-based personalized music therapy system for stress relief, including: • a pulse oximeter (301) and a galvanic skin response (GSR) sensor (302) configured to detect physiological stress indicators of a user; • an ESP8266 microcontroller (303) operatively connected to the sensors to receive and process sensor data; • a music playback module (305) comprising a DFPlayer Mini (30) configured to store and play audio files in response to processed sensor data; • a wireless communication interface (304) integrated into the ESP8266 to enable user control and data synchronization with a remote application; • and a feedback mechanism (306) that dynamically adjusts music playback based on real-time fluctuations in sensed physiological parameters to deliver personalized stress relief therapy.
Need to check novelty before this filing date? Find Prior Art

Description

Scope of the invention:

[0001] The present invention relates to a system for stress reduction using music therapy, and more particularly to a system that uses the ESP8266 microcontroller in conjunction with physiological sensors to detect stress levels and dynamically deliver personalized soothing music via a wireless connection. This invention lies at the intersection of health technology, music therapy, and the Internet of Things (IoT). Background of the invention:

[0002] In today's fast-paced and hyper-connected world, stress has become one of the most significant and widespread health problems, affecting people of all ages. Whether due to job pressure, social expectations, academic demands, or even the information overload provided by digital media, people often struggle with chronic stress. If left untreated, persistent stress can lead to a cascade of physiological and psychological complications, including anxiety, high blood pressure, sleep disturbances, cardiovascular problems, and a weakened immune system. Conventional therapeutic modalities such as counseling, medication, meditation, and yoga, while effective, are not always accessible or appealing to everyone. This has spurred the search for more convenient, engaging, and user-friendly alternatives to effectively manage stress.

[0003] Among various stress reduction techniques, music therapy has gained widespread recognition due to its non-invasive and universally applicable nature. Music has the ability to influence human emotions, cognition, and behavior through rhythm, tempo, melody, and harmony. Numerous scientific studies have shown that calming music can lower cortisol levels, stabilize heart rate, and improve mood, thereby significantly reducing perceived stress. However, a limitation of conventional music therapy is its inability to personalize it in real time. A relaxing piece of music may not have the same effect on one person as on another, especially if their physiological and emotional states are different.Therefore, there is an urgent need for a technology-enabled solution that bridges the gap between traditional music therapy and personalized stress management.

[0004] At the same time, the Internet of Things (IoT) has revolutionized the way technology interacts with the human body and the environment. The availability of compact, affordable, and Wi-Fi-enabled microcontrollers such as the ESP8266 has opened up new possibilities for the development of smart health monitoring systems. The ESP8266 is a powerful, low-cost microcontroller (MCU) with integrated Wi-Fi functionality that can act as a hub for sensor data collection, processing, and cloud integration. This microcontroller has already proven its usefulness in various IoT applications, from home automation to wearable health monitoring.

[0005] The proposed invention combines the fields of IoT, music therapy, and biometric monitoring, representing an innovative approach to stress reduction. The core idea is to develop an intelligent system using the ESP8266 that analyzes physiological data—such as heart rate and skin conductance—in real time via integrated sensors such as pulse oximeters and GSR (Galvanic Skin Response) sensors. These inputs are interpreted as indicators of the user's current emotional and stress state. Based on this analysis, the system dynamically plays personalized and soothing music to reduce stress levels.

[0006] The system uses the DFPlayer Mini, a compact and cost-effective MP3 module, to store and play audio files. This system can stream music from local storage or cloud-based services via Wi-Fi, ensuring flexibility and variety in playback. A built-in speaker ensures high audio quality, and LED indicators or OLED displays can provide the user with visual feedback on their stress level or playback status. Furthermore, the system supports mobile application integration, allowing remote control and adjustment of music playlists, playback settings, and real-time sensor feedback.

[0007] One of the most striking aspects of this invention is its ability to respond automatically to the user's physiological state without manual intervention. If the system detects elevated stress indicators—such as increased heart rate or skin conductance—it can autonomously trigger the playback of therapeutic music. Furthermore, users can set predefined schedules for music therapy sessions or manually initiate calming routines via a connected smartphone or web interface.

[0008] The invention also emphasizes portability, energy efficiency, and cost-effectiveness. Thanks to its minimal hardware requirements and low power consumption, the device can be operated with batteries, making it ideal for use at home, in the office, or while traveling. The system's modular architecture enables easy scalability, enabling additional features such as cloud-based analytics, AI-driven playlist optimization, and integration with other health monitoring devices in the future.

[0009] In summary, this invention represents a contemporary response to the growing need for accessible and personalized stress management solutions. It harnesses the therapeutic power of music and the connectivity of the IoT to offer a smart, interactive, and effective system for mental well-being. By democratizing music therapy through cost-effective technology, this invention has the potential to significantly impact the way people cope with stress in their daily lives. Summary of the invention:

[0010] The invention described here relates to an intelligent, IoT-enabled system designed to reduce stress through dynamically personalized music therapy. It uses the ESP8266 microcontroller as the central unit, enabling real-time data processing, wireless connectivity, and device control. The system integrates various biometric sensors—specifically, a pulse oximeter and a galvanic skin response (GSR) sensor—to monitor physiological parameters such as heart rate and skin conductance, which are closely linked to emotional and stress states.

[0011] At the heart of the invention is the ESP8266, a Wi-Fi-enabled microcontroller with robust processing capabilities. As a user interacts with the system, the GSR and pulse oximeter modules continuously collect physiological data. These sensors measure skin conductance and blood oxygen saturation, respectively, and pulse rate—measurements that change in response to stress. The ESP8266 processes these real-time inputs with embedded logic or predefined thresholds to determine the user's stress level. If increased stress is detected, the system automatically starts music playback using the DFPlayer Mini, a compact MP3 module that supports both microSD card playback and serial communication with the ESP8266.

[0012] Music playback occurs through a connected speaker, delivering calming or therapeutic soundscapes designed to positively influence the user's emotional state. The music selection can be predefined or dynamically selected from playlists tailored to different stress levels. This personalization ensures that the user receives the music most suited to reducing stress at a given moment. The system supports integration with online music platforms or servers, allowing it to stream relaxing tracks from cloud-based libraries whenever a stable internet connection is available.

[0013] One of the outstanding features of this invention is its ability to adapt in real time. Unlike conventional music systems that require manual control, this system operates autonomously based on biometric feedback. The user does not need to manually input their emotional state; instead, the system intelligently detects changes in physiological signals and reacts accordingly. Furthermore, this autonomous behavior can be overridden or augmented by manual control via a smartphone application or a web-based interface. With this application, users can start or stop playback, adjust playlists, change the volume, or schedule stress management sessions.

[0014] The system includes additional user-friendly features such as visual feedback mechanisms, including LED indicators or OLED screens that display real-time data such as stress levels, track names, or elapsed time. These indicators not only inform the user of their current emotional status but also increase engagement by demonstrating how the system is responding to physiological inputs.

[0015] Portability is another important consideration in the development. The ESP8266 and its associated components are compact and energy-efficient, allowing the device to run on battery power. This makes it ideal for various environments—whether used at home, in the office, or while traveling. The use of open-source hardware and software ensures that the system is not only scalable but can also be easily replicated or expanded for research and commercial purposes.

[0016] The system is also designed to be cost-effective. All components—ESP8266, DFPlayer Mini, pulse oximeter, GSR sensor, and speaker—are affordable and readily available on the market. This makes the invention accessible to a wider audience, including individuals, therapists, researchers, and wellness facilities. The modular design also enables future expansions such as the integration of artificial intelligence (AI) for improved analysis of stress patterns or cloud platforms for storing user data and generating long-term wellness insights.

[0017] This invention represents an ideal convergence of mental health science, biofeedback, music therapy, and IoT. It not only combines proven stress management methods with modern technologies, but also enhances their effectiveness through automation and personalization. The invention's practical applications are far-reaching: It can be used in homes, schools, hospitals, therapy centers, corporate wellness programs, and more. It enables users to manage stress independently, track their physiological well-being, and experience emotional balance through music.

[0018] In summary, this patent proposes a revolutionary stress reduction system that intelligently utilizes physiological feedback to curate and deliver therapeutic music. Combining affordability, real-time monitoring, wireless connectivity, and ease of use, the invention offers a scalable and transformative solution to the challenges of modern mental well-being. Short description of the drawing Fig. shows a block diagram of the system according to the invention. Detailed description of the invention

[0019] The present invention relates to a technologically advanced system that harnesses the potential of the Internet of Things (IoT), real-time biometric monitoring, and music therapy to offer an intelligent, automated, and personalized stress management solution. At the core of this invention is the use of the ESP8266 microcontroller, a low-cost, Wi-Fi-enabled computing platform capable of seamlessly handling sensor inputs, data processing, and communication tasks. The invention is primarily designed to detect stress levels based on physiological parameters and intelligently respond by playing soothing music tailored to the user's current emotional state.

[0020] The invention is based on the scientifically proven concept that music has a profound effect on the human mind and body. Therapeutic music can modulate brainwave patterns, stabilize heart rate, and reduce cortisol release, thus acting as a natural and non-invasive stress reliever. However, a generalized music therapy approach is not suitable for every person and every situation. Therefore, the present invention aims to personalize the music therapy experience by integrating physiological feedback mechanisms, thereby ensuring greater relevance and effectiveness.

[0021] The system architecture initially comprises several functional modules. These include a biometric acquisition module, a central processing and control unit, a music playback subsystem, a user interface, and an optional cloud-based analytics layer. The biometric acquisition module primarily consists of a pulse oximeter sensor and a galvanic skin response (GSR) sensor. The pulse oximeter measures two key physiological variables: heart rate and oxygen saturation. The GSR sensor, on the other hand, detects changes in skin conductance, which is a reliable indicator of emotional arousal or stress. These sensors are non-invasive and can be integrated into a wearable form factor such as a wristband or finger clip, ensuring comfort and ease of use.

[0022] Data from these sensors is continuously transmitted to the central microcontroller, the ESP8266, which serves as the brain of the system. Equipped with a powerful Tensilica Xtensa processor and integrated Wi-Fi capability, the ESP8266 processes the incoming data based on a predefined set of rules or thresholds. These rules can be configured via firmware or adjusted remotely via a cloud-based interface. For example, if the heart rate exceeds a certain threshold and skin conductance increases at the same time, the system interprets this as a sign of increased stress and triggers an appropriate response.

[0023] This response is carried out by the music playback subsystem, which includes a DFPlayer Mini MP3 module and an audio output unit, such as a mini speaker or a headphone jack. The DFPlayer Mini is a compact, inexpensive, and easy-to-use module that can play MP3 files stored on a microSD card. It communicates with the ESP8266 via UART (serial) communication. The ESP8266 sends commands to the DFPlayer Mini to play specific tracks based on the user's detected stress level. These audio files are compiled in advance and categorized according to their therapeutic value—for example, deep ambient sounds for high stress, melodic melodies for moderate stress, and neutral sounds for mental balance.

[0024] In addition to hardware integration, the system includes a software layer that enhances its adaptability and user interaction. A key feature is the mobile or web-based application interface, which communicates with the ESP8266 via Wi-Fi. Users can access this application to view real-time physiological data, monitor their stress trends, control playback, select preferred genres, and set specific therapy plans. The application also allows remote updating of the playlist stored on the microSD card or cloud platform, allowing the system to evolve over time with user preferences and feedback.

[0025] An OLED display or LED indicator system is also integrated to provide instant visual feedback. The display shows useful metrics such as heart rate, stress level, the currently playing track, and remaining battery life. Alternatively, colored LEDs can indicate different exercise levels, such as green for normal, yellow for medium, and red for high exercise. These visual cues provide the user with a quick snapshot of their current emotional state and help them become more self-aware.

[0026] Another notable component of this invention is the adaptive feedback loop. Once a piece of music is playing, the system continues to monitor biometric data in real time. As the calming effect of the music begins to normalize heart rate and decrease skin conductance, the system gradually lowers the volume or stops music playback. If no change is detected, it can switch to another track with a more relaxing profile. This continuous loop allows the system to learn from the user's physiological responses and improve its decision-making over time.

[0027] To further enhance its utility, the system was developed with cloud integration capabilities. Using the ESP8266's Wi-Fi functionality, physiological data can be uploaded to a secure cloud server for analysis over time. This data can be visualized through graphs and reports in the mobile application, allowing users or healthcare professionals to examine stress patterns over days, weeks, or months. Furthermore, machine learning algorithms hosted in the cloud can analyze these data sets to refine the system's music selection process and offer more personalized recommendations.

[0028] Power management was also a key aspect of development. The system is powered by a rechargeable lithium-ion battery, supported by energy-efficient circuitry with voltage regulators and charge controllers. The ESP8266, the DFPlayer Mini, and the sensors were selected for their low power consumption, allowing the system to operate for extended periods between charges. An automatic sleep mode is integrated to conserve battery life when the system is not actively used.

[0029] Portability and modularity are at the heart of this invention's design philosophy. The system can be embedded in various form factors, such as a standalone desktop device, a bedside device, or a wearable module. The modular design allows the user to add or replace components, e.g., switching from a GSR sensor to an ECG sensor for more precise stress analysis. This flexibility also makes the invention a suitable platform for academic research, therapeutic applications, and commercial wellness products.

[0030] In terms of safety and reliability, the invention ensures that all electrical components operate within medically safe voltage and current ranges. Isolation circuits are used between the sensor interfaces and the main processing unit to prevent accidental leakage currents. The volume is also set to remain within a safe decibel range to prevent hearing damage or impairment. All components are housed in a non-toxic, lightweight, and ergonomic housing made of medically safe materials such as silicone or ABS plastic.

[0031] Furthermore, the invention can be extended to support multi-user environments. In such cases, user profiles can be managed in the cloud, each associated with unique biometric thresholds and musical preferences. This makes the system ideal for shared use in homes, clinics, meditation centers, or workplaces, where multiple people can benefit from personalized music therapy using a single device.

[0032] The system's software architecture is based on an event-driven model. Sensor data is collected at regular intervals using timer interrupts or polling mechanisms and stored in buffers. Signal conditioning algorithms remove noise and artifacts from the raw sensor readings. The processed data is then fed into a decision engine implemented in the firmware.

[0033] Based on predefined heuristics or machine learning models, the engine classifies the stress level and triggers an appropriate musical intervention. All processes run in near real time, ensuring a responsive and seamless user experience.

[0034] In environments where internet access is interrupted or unavailable, the system operates in standalone mode. In this mode, the ESP8266 uses onboard logic and local storage (microSD card) to perform all functions autonomously. Once internet connectivity is restored, the system can synchronize local data with the cloud server, ensuring data consistency and the continuity of personalized services.

[0035] The invention also enables optional integration with third-party health monitoring devices and platforms. APIs are available for communication with common health ecosystems such as Google Fit, Apple Health, or Fitbit. This enables a holistic view of the user's physical and emotional health and increases the relevance of music therapy through correlation with other metrics such as sleep, physical activity, and calorie intake.

[0036] Ultimately, the invention is intended as the foundation for a broader class of wellness technologies. By integrating additional sensors such as body temperature, EEG, or respiratory rate, the system can evolve into a device with a full range of emotional intelligence. Likewise, modules for speech recognition and natural language processing can be added, allowing users to interact with the device via voice commands. These extensions would further enhance the user experience and bring the invention closer to the vision of intelligent, empathetic machines capable of supporting human well-being.

[0037] In summary, this invention offers a novel, efficient, and intelligent approach to stress management through personalized music therapy. Leveraging the capabilities of the ESP8266 microcontroller, real-time biometric sensing, and adaptive feedback mechanisms, the system not only delivers therapeutic music, but does so in a manner that is context-aware, user-specific, and responsive. It empowers individuals to manage their stress independently and intuitively by transforming passive music listening into an active and beneficial mental health intervention. Its low cost, scalability, and potential for integration into modern wellness platforms make it an ideal candidate for widespread application in both home and clinical settings. List of reference symbols 301 Pulse Oximeter 302 Galvanic Skin Response Sensor (GSR) 303 ESP8266 microcontrollers 304 Music playback module 305 Wireless Communication Module 306 Feedback mechanism

Claims

[1] An IoT-based personalized music therapy system for stress relief, which includes: • a pulse oximeter (301) and a galvanic skin response (GSR) sensor (302) configured to detect physiological stress indicators of a user; • an ESP8266 microcontroller (303) operatively connected to the sensors to receive and process sensor data; • a music playback module (305) comprising a DFPlayer Mini (30) configured to store and play audio files in response to processed sensor data; • a wireless communication interface (304) integrated into the ESP8266 to enable user control and data synchronization with a remote application; • and a feedback mechanism (306) that dynamically adjusts music playback based on real-time fluctuations in sensed physiological parameters to deliver personalized stress relief therapy. [2] The system of claim 1, wherein the music playback module is operatively connected to a speaker or a headphone jack for audio output. [3] The system of claim 1, wherein the wireless communication interface provides access to a mobile or web-based application for monitoring physiological parameters and managing user settings. [4] The system of claim 1, wherein the ESP8266 microcontroller is configured to enter a low-power sleep mode during periods of inactivity to conserve power. [5] The system of claim 1, wherein the system further comprises a visual indicator selected from an OLED display or a multi-color LED to indicate stress levels and device status. [6] The system of claim 1, wherein the system is further integrated with cloud-based machine learning algorithms for adaptive music selection based on user history and behavior trends.