Functional Requirements:
- The design is expected to be able to detect imminent panic attacks and feelings of overwhelm based on the changes shown in the user’s heart rate before the panic attack [1].
- The design is expected to be able to detect imminent panic attacks and feelings of overwhelm based on the changes shown in the user’s skin conductivity before the panic attack [6].
- A screen of the design is expected to display one of 25 randomized inspirational messages that are intended to calm the user and alleviate their anxiety during a panic attack.
- The design is expected to offer the user calming music to promote relaxation and aid the user in regulating their breathing through the 4-7-8 breathing technique (inhaling for 4 seconds, holding for 7 seconds, exhaling for 8 seconds), which is proven to aid in recovering from panic attacks [2].
- [x] The design is expected to have a soft blue light that calms the user and promotes positive emotions of relaxation and happiness [3].
Technical Requirements:
- [x] The speaker must output sound that is both audible and interpretable to humans. Must create at least a minimum pressure of 20 micropascals (0db) at the ear [5]
- The design must have the ability to read heart rates ranging from 50 to 200 bpm [1].
- The design must have the ability to read the voltage of the skin conductivity ranging from 5 to 30 µS [7].
- The screen must be capable of displaying text with a minimum of 30 characters.
- [x] The storage medium must have a storage capacity of greater than 38.4 MB to enable the audio file to be transmitted to the speakers. The MCU will interact with the storage medium through an official STM32 API
- [x] The wiring must be longer than 5m to ensure it can effectively connect to the microcontroller on the wall.
- [x] Must be able store uncompressed audio [4] in order to be decoded with the least resources possible.
- Must execute Fourier Analysis which will allow us to determine the heart rate and breathing rate.
- Wireless receiver can detect infrared light with a frequency of 52kHz.
- The design must be able to emit infrared light with a frequency of 52kHz.
Safety Requirements:
- The design must not consume, transfer, discharge, or otherwise expend more than 30W of power at any point in time and within any component of the design during its operation.
- The design must not store or otherwise contain more than 500mJ of energy at any point in time.