Table of Contents

Project Development

Introduction

Provide here an overview of the contents (structure) of this chapter.
This chapter contains our project's evolution, in particular, you can find currently the concept, designs, smart system, structure and also the materials chosen for the Healing Cocoon.

Ideation

The idea of ​​the Healing Cocoon came to us after reflection and several brainstorming sessions. First, we tried to recall events we had experienced and heard about in the fields of health and well-being. We quickly focused on the impact of the medical environment (hospitals or waiting rooms) and agreed to work on a solution to improve experiences in medical settings.

Concept

The concept of the Healing Cocoon is to transform clinical environments into calming and immersive spaces.

By combining light, sound and scent, it helps reduce stress and improve children well-being.

The features of our Healing Cocoon:

Design

Structure

Figure 3: Cross-section of the cocoon's structure and details of materials
Figure 4: Detailed drawings

(iv) 3D model with load and stress analysis; (v) colour palette.

Smart System

Hardware

Include and explain in detail the: (i) black box diagram; (ii) hardware component selection (use tables to compare the different options for each component; (iii) detailed schematics; (iv) power budget.

Black Box Diagram

This diagram represents a high-level overview of an interactive, multi-sensory system, likely designed for patient therapy, relaxation, or an immersive room experience.

Here is the breakdown of how the different parts interact:

Inputs

Cloud: This section handles remote data. It contains an App and Content that communicate with each other. The cloud sends data, media, or instructions down to the main control unit.

User/Patient: This represents the human interaction. The user has a Device to draw (tablet, mobile) that connects to a local App. Whatever the user inputs or draws is sent directly to the central control system.

Core Processing System

Controller: The central microcontroller processes all incoming commands and makes decisions.

Sensors: It continuously reads environmental data using various sensors (Light, Motion, Air, CO2, Moisture). The controller and the sensors talk to each other to adjust the room's environment based on real-time conditions.

Outputs / Actuators Projector: Displays visual content (perhaps the drawings from the user's tablet or media from the cloud).

Scent sprayer: Releases aromas into the room (using your ultrasonic atomizer).

Speaker: Plays audio, music, or sound effects.

Power Supply

This block shows how electrical energy is distributed. It provides power directly to the central Controller, and it also has dedicated power lines going straight to the output devices (Projector, Scent sprayer, Speaker). This is a very important detail, as high-draw components like projectors and speakers need their own direct power lines rather than drawing current through the main controller.

Figure 5 presents the black box diagram.

 Black Box Diagram
Figure 5: Black box diagram

Hardware component selection

Table 1: Bill of Materials
Name Type Supplier Notes Price (€) Quantity Total (€)
ESP32 DevKit V1, ESP32-WROOM-32 Processor Farnell Dual core 240 MHz, integrated Wi-Fi + Bluetooth. Replaces separate Wi-Fi module. 8.75 1 8.75
Light Sensor, BH1750 (GY-302) Sensor Botnoll I2C digital lux sensor, 0–65535 lux, 3.3 V–5 V. Better than LDR — no conversion needed. 1.87 1 1.87
CO2 Sensor, MQ-135 Sensor Aquario Detects CO2, NH3, alcohol, benzene, smoke. 10–1000 ppm. Analog + digital output. Compatible 5 V ESP32. Needs 20s warm-up. 6.09 1 6.09
Air Humidity and Temp Sensor, DHT22 (AM2302) Sensor Botnoll Humidity 0–100 % RH (±2 %) + temperature -40 °C–80 °C (±0.5 °C). Single-wire digital output. 3.3 V–5 V. 6.96 1 6.96
Scent Sprayer, Ultrasonic atomiser 5 V Actuator electronperdido.es 108–110 kHz, 5 V USB. Switched via relay. Use with essential oil diluted in water. 7.00 1 7.00
Speaker + Amplifier, MAX98357A Actuator Aquario I2S Class-D amp (2.7 V–5.5 V), directly compatible with ESP32. No external DAC needed. 11.38 1 11.38
Relay Module, 5 V single-channel relay Control Ptrobotics Controls power to the ultrasonic atomiser from ESP32 GPIO pin. 4.60 1 4.60
Power Supply, 5 V 2 A USB adapter Power Amazon / AliExpress / Any local shop Powers ESP32 + peripherals. USB power bank also works for portability. 7.26 1 7.26
Total Cost 53.91

Detailed Schematics

Detailed schematic diagram illustrating the precise electronic connections for the “Healing Cocoon” project. This diagram serves as the electrical blueprint, detailing how the central ESP32-WROOM-32 microcontroller is meticulously wired to interface with the various sensors (temperature, light, and air quality) and actuators (speaker and scent sprayer) essential for the system's function. By following these specific pin connections and component values, the physical interaction described in the system architecture can be realized.

Figure 6 presents the detailed schematics diagram.

 Detailed Schematics
Figure 6: Detailed Schematics

Power Budget

Power consumption breakdown for the system's components. This table outlines the nominal and maximum values for current (intensity), voltage, and power, providing a clear overview of the electrical requirements and the total system load.

Table 2: Power Consumption Specifications
Component Intensity [A] Intensity (max) [A] Voltage [V] Voltage(max) [V] Power [W] Power (max) [W]
ESP32 DevKit V1 (WROOM-32) 0,08 0,5 3,3 5 0,264 2,5
BH1750 (GY-302) 0,00014 0,001 3,3 5,5 0,000462 0,0055
MQ-135 0,15 0,16 5 5,1 0,75 0,816
DHT22 (AM2302) 0,0015 0,0025 3,3 5,5 0,00495 0,01375
Atomizador Ultrasónico 5 V 0,3 0,5 5 5,5 1,5 2,75
MAX98357A 0,3 1,5 2,5 5,5 0,75 8,25
Módulo Relé 5 V (1 Canal) 0,07 0,09 5 5,5 0,35 0,495
TOTAL 0,90164 2,7535 27,4 37,6 3,619412 14,83025
Software

Describe in detail the: (i) use cases or user stories for the smart device and app; (ii) selection of development platforms and software components (use tables to compare the different options); (iii) component diagram.

Packaging

Present and explain the: (i) initial packaging drafts; (ii) detailed drawings; (iii) 3D model with load and stress analysis, if applicable.

Prototype

Refer main changes in relation to the designed solution.

Structure

Detail and explain any changes made in relation to the designed solution, including structural downscaling, different materials, parts, etc.

Hardware

Detail and explain any change made in relation to the designed solution. In case there are changes regarding the hardware, present the detailed schematics of the prototype.

Software

Detail and explain any changes made in relation to the designed solution, including different software components, tools, platforms, etc.

The code developed for the prototype (smart device and apps) is described here using code flowcharts.

Introduction

For this project, a web-based prototype was developed to simulate how users interact with the Healing Cocoon system.

The main goal of this prototype is to show how the system would work in practice. The focus is mainly on the user experience and the overall flow, rather than on a fully developed technical solution.

It is important to note that this is a first demo version. The application can still be improved and expanded in future iterations.

Technologies & Tools

The prototype was built using simple and accessible technologies:

No frameworks such as React were used. This decision was made to keep the system simple and easy to understand, especially for a first prototype.

The design follows a clean and modern style, inspired by medical and product interfaces, with a focus on clarity and ease of use.

Application Overview

The application is divided into two main user roles:

The staff uses a dashboard to manage the system and set up sessions, while the child interacts with a much simpler interface designed to be intuitive and calming.

Screens & Explanation
Login page

Figure 7 presents the login for our application.

Figure 7: Login interface of Healing Cocoon

The login page allows staff members to access the system using their practice credentials.

It includes fields for:

This ensures that only authorized users can manage the cocoon.

Dashboard

Figure 8 refers the dashboard interface 1.

Figure 8: Dashboard overview interface 1

Figure 9 refers the dashboard interface 2.

Figure 9: Dashboard overview interface 2

The dashboard gives a general overview of the system.

It shows:

From this page, staff can quickly navigate to other parts of the application or start a new session.

New Session page

Figure 10 presents the new session configuration 1.

Figure 10: New session configuration page

Figure 11 presents the new session configuration 2.

Figure 11: New session configuration page 2

This page is used to create a new session for a child.

The staff can:

This is the main functionality of the system.

Active Session page

Figure 12 presents active session interface 1.

Figure 12: Active session monitoring interface 1

Figure 13 presents the new session configuration 2.

Figure 13: Active session monitoring interface2

This page displays the currently active session.

It shows:

It also includes controls to:

Child View

Figure 14 refers to child interaction interface 1.

Figure 14: Child interaction interface 1

Figure 15 presents the new session configuration 2.

Figure 15: Child interaction interface 2

The child view is designed to be simple and easy to use.

It focuses mainly on visual elements and avoids too much text. The child can choose a calming environment and start the session in a straightforward way.

Accessibility page

Figure 16 presents the accesibility settings interface 1.

Figure 16: Accessibility settings interface 1

Figure 17 presents the accesibility settings interface 2.

Figure 17: Accessibility settings interface 2

This page allows staff to configure accessibility options.

For example:

This ensures that the system can be used by as many children as possible.

Settings page

Figure 18 refers to settings interface 1.

Figure 18: System settings interface 1

Figure 19 refers to settings interface 2.

Figure 19: System settings interface 2

Figure 20 refers to settings interface 3.

Figure 20: System settings interface 3

The settings page is used to manage general system preferences.

It includes:

Code flow

The prototype uses a simple front-end logic.

First, the staff logs into the system. Then, a new session is created and the selected data is stored using LocalStorage. The active session page reads this data and displays it.

The child then interacts with the system through the child view.

This approach makes it possible to simulate a working system without using a backend.

Future improvements

This prototype is only a first version and can be further improved.

Possible future improvements include:

Tests & Results

Hardware tests

Perform the hardware tests specified in Tests. These results are usually presented in the form of tables with two columns: Functionality and Test Result (Pass/Fail).

Software tests

Software tests comprise: (i) functional tests regarding the identified use cases / user stories; (ii) performance tests regarding exchanged data volume, load and runtime (these tests are usually repeated 10 times to determine the average and standard deviation results); (iii) usability tests according to the System Usability Scale.

Summary

Provide here the conclusions of this chapter and make the bridge to the next chapter.


[1] F. Marques da Silva S.A., 2022. Brass sheet. .
[2] F. Marques da Silva S.A., 2022. Aluminium shapes. .
[3] Artnovion, 2026. Acoustic_ dBA UL-Foam. .