Microchallenge 1

An anxiety sensing necklace that guides you through breathing exercises and signals your anxiety to your partner

By Carmen and Sophie

Initial Interests

Our interests lied in exploring the intersection of technology, emotions, and mental health. We wanted to create something that would make the imperceptible aspects of our emotional state more tangible. Understanding oneself and others better was a driving force behind this project. In a world where anxiety and depression is on the rise, we therefore thought of ways to sense and visualise anxiety through technology to help us and others address this uncomfortable feeling.

Idea

We decided to create a wearable device that would sense your anxiety and help you follow breathing exercises guided by vibrations to calm down. As anxiety is often an irrational feeling, it is hard to communicate to others. What is more, most people are not even conscious of the fact that they are anxious. This is why we decided to make this device collaborative: when it senses that you're anxious, the device sends a signal to a paired device (a partner, a friend etc.), which helps them understand how you're feeling and act accordingly, without needing any communication from your side.

Mobirise Website Builder
Mobirise Website Builder

Integrated design


Detecting anxiety through technology poses challenges, especially when calibrating sensors like those for heartbeat. To overcome this, we focused on detecting fidgeting as a proxy indicator for anxiety. We initially considered a ring design but quickly realised that the electronics would be too bulky for a ring, so we opted for a necklace. The pendant houses all necessary electronics, including a vibration motor for breathing exercises, a capacitive wire to detect fidgeting, and an LED light to indicate a partner's fidgeting. We decided not to place the vibration motor in the chain due to wiring constraints.

(The picture is a very raw first prototype, we plan to improve it in the future... Keep in mind that we had 3 days to develop this prototype...)

Materials used

Mobirise Website Builder

Coding & Electronics

After initially testing the electronics with a Barduino, we swapped it with an ESP32 XIAO C3 along with LED and motor vibration components. However, during testing with our two "raw necklaces," we had to make adjustments as the ESP32 XIAO C3 lacked a touch sensor, unlike the Barduino. To resolve this, we adapted the code for a touch button instead and modified pin configurations for compatibility. Circuit connections involved manually connecting two cables for the touch button, which required us to adapt our initial casing design. 
Mobirise Website Builder
Mobirise Website Builder

Touch - Vibration Code

The initial step involved coding for the vibration motor, which initially appeared straightforward. The vibration motor operated analogically, so our task was to control its intensity within the range of 0 to 255. To simulate ascending and descending vibrations mimicking a breathing exercise, we programmed the motor to vibrate at specific intensities for 20 milliseconds using delays. We enhanced the functionality by programming the motor to buzz twice when touched for the first time, indicating the imminent start of the breathing exercise. Additionally, we implemented a condition requiring the user to complete at least five breathing repetitions to stop the vibration motor. Although the initial code was functional, using delays to mark the breathing exercise posed challenges for subsequent iterations of the code setup.

Mobirise Website Builder

WiFi Connection Code

We used MQTT which uses WiFi to connect the two necklaces together, allowing one necklace to light up when the other was being touched. Initially, our implementation with delays in the touch-vibration code caused issues where the necklace failed to maintain MQTT connectivity during breathing exercises. To rectify this, we removed all delays and loops from the main loop to ensure continuous MQTT connection. However, this adjustment rendered the vibration motor incapable of executing the ascending and descending exercises without delays. Despite attempts to create custom delays using the millis function, we encountered challenges, leading us to temporarily set aside the ascending and descending actions and maintain a simple on/off functionality for the vibration motor.

Mobirise Website Builder
Mobirise Website Builder
Mobirise Website Builder
Mobirise Website Builder

3D Fabrication Process

For the pendant, we looked for a 3D model of a container that could be opened through a screwing mechanism to integrate the electronics seamlessly. We downloaded a model from Thingyverse and scaled it to a bigger size to be able to fit the electronics. We also added holes on both sides of the model to be able to plug in the LED light, the vibration motor, the chain and the future capacitive wires, as we plan to adapt the touch functionality in the future. The 3D printing took several iterations, as the first models did not have enough adherence to the bed and failed. We therefore added a raft to the model for better adherence, and the ensuing prints were successful. We plan to reiterate a printing of the case upside down in the future as the the bottom of the case did not come out very clean.
Mobirise Website Builder

3D printing process

Mobirise Website Builder

Fail...

Mobirise Website Builder

Rendered 3D model

Challenges

Coding & electronics:

The code didn't let us connect to MQTT and do the breathing exercise at the same time because of delays. Moreover, the code without delays modified the vibration function to make the motor either on or off.

The ESP32 XIAO C3 didn't work with the touch sensor so we had to change the code from touchRead to digitalRead and change the electronics so it works as a button instead of a touch sensor.

We broke the battery :( So we needed to connect the necklace to a chargeable battery instead of having it free of wires.

3D printing:

The case did not print correctly at first so we added a raft for better adherence to the bed. 

As we realised later in the iterations that we needed an external touch button and an external battery, we adapted our design adding two holes to integrate the cables.

Conclusion

We had big ambitions about this necklace during the ideation phase, but this was a humbling experience as we realised that developing what seemed to be simple technology can be very cumbersome, especially in a short amount of time. We therefore scaled down on ambition.

We however both learned a lot on the job and both would like to take our project further to better understand how it feels to live with such technology on a daily basis, as a 1st person perspective design intervention. This would get us closer to temporarily experiencing the life of a cyborg.

We would also like to gather the data collected in a certain location to visualise anxiety at a given time and a given place, to see if visualising anxiety in a creative way would change our relationship to it. This would require the integration of a component that saves the data in the electronics.

This experience has enhanced my skills in design thinking, user experience, and interdisciplinary collaboration, which will be invaluable in future research endeavors. 

Future Development Opportunities


Instead of incorporating a fixed breathing exercise of 5 breaths, we could integrate a sensor capable of detecting when the user becomes more relaxed, thereby automatically halting the breathing exercise.

Enhancing the pendant to be smaller, more aesthetically pleasing, and easier to hang would be beneficial. Additionally, we could explore making the LED display more subtle, improving the structure to attach the motor and explore alternative touch sensor options, perhaps throughout the surface of the pendant, to enhance user experience.

To address the challenge of demonstrating the ascending and descending vibration motor effects without delays, we need to explore alternative methods or technologies. This could involve upgrading to a more advanced ESP32 Xiao model, such as the S3, which may offer additional capabilities, such as an integrated touch sensor.

Incorporating an AI feature that sends notifications when the user is fidgeting, encouraging self-reflection on anxiety triggers through journaling, adds a valuable dimension to the necklace's functionality. This feature has the potential to foster mindfulness and self-awareness among users.


Reflections

Our initial designs evolved significantly through multiple iterations. We started with ambitious ideas but had to scale them down and adapt as we faced technical challenges, such as issues with sensor calibration and coding complexities. This taught me the importance of flexibility and iterative improvement in prototyping.

The challenge of integrating various components—coding, electronics, and 3D printing—enhanced my problem-solving skills. Each step, from choosing the right microcontroller to adapting the design for better usability, was a learning opportunity. This practical experience is crucial for prototyping effective solutions for future scenarios.

Designing the necklace to be user-friendly and responsive to real-time anxiety indicators underscored the importance of considering the user experience in every design decision. Ensuring that the device was comfortable and intuitive to use was a priority, aligning with our goal of making technology seamlessly integrate into daily life.

This project sparked ideas for future enhancements, such as integrating AI for more personalized user experiences and improving the aesthetic design of the device. These possibilities highlight the continuous and iterative nature of innovation in prototyping.

Drag & Drop Website Builder