A CALMING SMARTWATCH FOR ANXIETY

PREMISE

I wanted to create a smartwatch interface for someone with anxiety and panic disorder. It reads someone’s pulse and breath rate and can detect when someone is having a panic attack. I used real-time biometric data from a pulse sensor and a wind sensor and hooked it up to an Arduino, then I used serial communication to send the data and trigger & display different calming graphics using p5.js. I will go through the project interface and design first, and then I will show you how I went about doing it.

PROJECT PROPOSAL

REGULAR INTERFACE

The regular display when someone is not having a panic attack consists of a clock, the date, and a BPM graphic that reacts to your pulse.

INTERFACE DURING A PANIC ATTACK

Depending on the kind of panic attack you are having, there are 3 modes/techniques. The good thing is that any of these techniques would work during a panic attack. I weighted certain techniques to be triggered based on someone’s sensor data. But for the purpose of the scope of this project, and because this requires more knowledge, time and research, I used keyboard keys to to demonstrate the different interfaces.

1. Deep Breathing Technique (for when you’re hyperventilating)

2. Counting Technique (for when your heart rate cannot be controlled)

3. Distraction Technique (for when you need to be distracted from your overwhelming thoughts)

These techniques and methods were based on my research on medical articles herehere, and here.

DEEP BREATHING

The blobs are made to soothe you and help you concentrate on your breathing. As you breath in, the blobs expand, and as you exhale the deflate.


COUNTING

“Recently I found that trying to focus on something else such as counting numbers… works, because it requires concentration.”

-- Melanie Luxenberg

The idea here is you count to 5 over and over again, until you naturally realize that your slowly calming down. Before you know it, as you’re trying to fill the canvas with tick marks, you’ll start to feel much better!

Distraction

This is a game interface to act as a distraction technique. Note the large “IT’S OK!” text as an emphasis on how it’s okay that you lost, and you can try again, since it’s not about winning. This way, you can play for as long as you want and/or until you feel calmer.

Proof of concept

Testing the pulse sensor and how it communicates using the p5.js serial port.

Testing the wind sensor and how it communicates with the p5.js graphics.

Going through all the different types of interfaces and how they react to the user’s biometric sensor data and interactions.

Circuit Sketch of how to hook up the sensors to an Arduino.

HOW TO IMPLEMENT IT

I used the step by step guide provided by NYU’s physical computing department here to learn how to use ardiuno and p5.js together. If you follow that guide, you can know how to download and run the project. You will need to download the P5.js complete library, the P5.serialserver, and the ardiuno software.

Previous
Previous

ENVIRONMENTAL CHARTER SCHOOL

Next
Next

hypotrochoid