Fab Academy 2026

Week 17: Applications and Implications

Defining what Ancora does, what it is made of, how it was evaluated and what it means.

Main Goal

Detect a panic attack by the rise in heart rate and guide the user through a breathing exercise to calm down.

Main Hardware

XIAO ESP32-C3, MAX30102, LED and vibration motor

Main Skills

PCB design, 3D printing, app development, firmware and laser engraving

What does it do?

Ancora is a bracelet that checks the heart rate all the time. It first learns the user's resting pulse. Then it looks for a rise above that pulse that could mean an anxiety attack.

When it detects that rise, it starts a breathing exercise. The exercise is the 4-7-8 technique: inhale for 4 seconds, hold for 7 seconds and exhale for 8 seconds. The bracelet guides each step with an LED, a vibration motor, or both.

The user chooses the output from the phone app. The app also has an exercise mode, so the bracelet does not give false alerts when the pulse goes up because of sport.

1. Monitor

The MAX30102 reads the pulse all the time.

2. Detect

The code compares the pulse with the resting baseline.

3. Guide

The LED or the motor guide the 4-7-8 breathing.

Ancora does not diagnose anything and does not replace medical help. It is only a support tool.

Who's done what beforehand?

Many people already use tools to relax. Ancora is not the first device that guides breathing, but it works in a different way.

Smartwatches

The Apple Watch has a Mindfulness app with Breathe sessions and haptics. The user has to open it.

Phone apps

There are many breathing and relaxation apps. The user has to take the phone and start them.

Vibration wearables

Apollo Neuro uses touch vibrations to help the body relax. The user chooses the program in the app.

Research

A scoping review studies sensors that detect anxiety to give help in the moment, including vibration to guide breathing.

What makes Ancora different

Many people freeze during an anxiety attack. They cannot open an app on the phone or start a session on the watch.

Ancora monitors the pulse all the time, so it can detect the rise by itself and start the guide without the user doing anything.

It also gives physical stimuli. These help the user stay "anchored" in the present and not get lost in their overthinking.

What did you design?

I designed four parts of Ancora:

Enclosure

Designed in SolidWorks and printed in blue PETG.

PCB

Designed in KiCad, with traces on both sides.

Code

Heart rate filter, baseline, alert and breathing guide.

Mobile App

Made in MIT App Inventor to choose the output and the exercise mode.

The MAX30102 sensor, the XIAO ESP32-C3 and the rest of the components already exist. I did not make them.

What sources did you use?

People with anxiety

I got a lot of feedback from people close to me who have anxiety attacks. They told me what would help them.

Psychology Department

I talked with the Psychology Department of Ibero Puebla to know how viable the project was.

What materials and components were used?

Where did they come from?

Most of the materials and components were provided by the Fab Lab. I bought two items myself:

MAX30102

Ordered on Amazon.

3.7 V LiPo battery

Bought separately in a local electronics store

How much did they cost?

Several components came from the Fab Lab, so I did not pay for them. The prices below are reference prices in Mexican pesos (MXN).

Component Source Reference price (MXN)
MAX30102 sensor Online purchase ~$83
3.7 V LiPo battery (300 mAh) Online purchase ~$50
XIAO ESP32-C3 Fab Lab ~$330
2N2222 transistor Fab Lab ~$3
SMD resistors (330 Ω and 1 kΩ) Fab Lab ~$3
Blue LED Fab Lab ~$3
Vibration motor Fab Lab ~$30
Diode Fab Lab ~$3
Phenolic boards Fab Lab ~$20
Blue PETG Fab Lab ~$230
Flexible straps Fab Lab ~$15
Total ~$726

What parts and systems were made?

Mobile app

Controls the output and the exercise mode.

Heart rate code

Filters the beats, sets the baseline and starts the alert.

Enclosure

Protects the PCB and holds the straps.

PCB

Joins the sensor, the ESP32-C3, the LED and the motor.

What processes were used?

Process Tool Used for
PCB design KiCad Schematic and layout
PCB milling Roland MonoFab SRM-20 Cutting the PCBs, as in my Electronics Production week
3D design SolidWorks Enclosure
3D printing Prusa MK4S Enclosure in blue PETG
Vectorizing Inkscape Preparing the anchor for the laser
Laser engraving xTool F1 Ultra v2 Anchor on the lid
App development MIT App Inventor Mobile app
Programming Arduino IDE Firmware, BLE and breathing guide

What questions were answered?

Does it work in an anxiety situation?

Yes. The bracelet detects the rise in pulse and starts the breathing guide.

Does the user need to choose the output?

Yes. Some people feel more overstimulated with vibration. For others, only an LED is not enough. Choosing the output made the project much better.

Can I make a double-sided PCB?

Yes. I designed one PCB with traces for the front and another for the back, cut them separately and glued them together.

Can the heart rate filter be better?

Yes, but it depends on the sensor and its light. Green light is better to measure the pulse on the wrist, but I could not find a green light sensor. So I adjusted the brightness of the red LED of the MAX30102 to get the best result.

What worked? What didn't?

I explain this in more detail on my Final Project page.

Flexible PCB (didn't work)

I wanted to save space, so I tried a flexible PCB with a vinyl cutter and copper tape. The through-hole components damaged the tracks and the PCB broke.

3D printed PCB (partly worked)

It worked at the beginning. But the copper tape tracks were not as strong as a phenolic board. Also, I had to control the soldering temperature, because the filament can melt.

Two PCBs glued together (worked)

One PCB for the front and one for the back, glued together. This was the final solution.

How was it evaluated?

I evaluated Ancora with four criteria:

1. Measures the pulse well

It works, but there is still some noise. The filter in the code reduces it. A hardware solution, like an accelerometer to know when the wrist moves, could work better. I did not add it because I wanted the bracelet to be compact.

2. Looks good

It was hard because of the size of the components. Even so, I think the result looks good.

3. Comfortable

Only the sensor comes out of the case, and I rounded the corners. It does not bother when it is worn.

4. Outputs are noticeable

The LED and the motor must be strong enough to follow the breathing exercise, even during an anxiety attack.

What are the implications?

For the user

Ancora can help people who freeze during an anxiety attack. It starts the guide by itself, so the user does not need to remember anything or use a phone.

It also gives control. The user chooses the output, so the help is adapted to each person.

Limits

Ancora measures the heart rate, but a high pulse does not always mean an anxiety attack. Exercise, caffeine, or a sudden movement can also raise it. That is why I included the exercise mode.

The pulse sensor on the wrist is also sensitive to movement and pressure. For this reason, the bracelet may give false alerts or miss an episode.

Ancora is not a medical device. It does not diagnose and does not replace a psychologist, a doctor or emergency help. It is a support tool that goes together with professional care.

For the future