Understanding Biofeedback
Biofeedback is a technique that involves becoming aware of physiological processes—such as heart rate, muscle tension, or skin temperature—and then learning to exert conscious control over them. By providing real-time feedback, individuals can observe their body's responses and practice self-regulation. This concept has been applied in various fields, from stress management to physical therapy. One creative example is the Biofeedback Butterfly, a project by Mariia Hruntes that visualizes the user's heartbeat through the flapping of a mechanical butterfly's wings.

How the Biofeedback Butterfly Works
The core idea is simple: the butterfly's wings move in sync with the user's pulse. As the heart beats faster, the wings flutter more rapidly; as it slows, the wings calm down. This immediate visual feedback allows the user to see their heart rate in real time and encourages them to practice relaxation techniques to reduce it.
Components and Assembly
The build relies on readily available electronics and 3D-printed parts. Key components include:
- MAX30102 pulse oximetry sensor: This small sensor measures heart rate (and optionally blood oxygen levels) by detecting changes in blood volume through the skin.
- Arduino Uno: The microcontroller processes the sensor data and controls the servo motor.
- SG90 micro servo: This tiny servo moves the butterfly wings; its rotation angle is proportional to the heart rate.
- 3D-printed butterfly body and wings: The mechanical structure is lightweight and designed to flap naturally.
The sensor is typically worn on the finger or earlobe, while the butterfly sits on a desk or is held in hand. The Arduino polls the sensor for pulse data, translates it into servo commands, and the wings begin to move. The entire assembly is compact and can be completed in an afternoon.
Applications of Biofeedback
This particular project serves as both an educational tool and a mindfulness aid. By making an abstract biological process—the heartbeat—visible and tangible, users can directly engage with their own physiology. The butterfly becomes a mirror of their internal state.
Meditation and Relaxation
When the user notices the wings flapping rapidly during stress, they can consciously try to slow their breathing, relax their muscles, or calm their thoughts. As the heart rate decreases, the butterfly's motion becomes more gentle, providing positive reinforcement. This loop is at the heart of biofeedback training and is used in clinical settings to treat anxiety, hypertension, and even chronic pain. Many meditation apps now incorporate similar feedback, but the butterfly adds a playful, physical element.

Other Biofeedback Projects
The Biofeedback Butterfly is part of a larger trend of DIY biofeedback devices. Examples include:
- Sleep aids: Devices that monitor brainwaves and play soothing sounds when the user enters a desired state.
- Stress monitors: Wearables that vibrate or change color based on skin conductance.
- Mindfulness goggles: Headbands that track EEG and adjust audio-visual environments.
These projects demonstrate the versatility of biofeedback, from simple Arduino builds to sophisticated commercial products. The common thread is giving users insight into their own body's signals.
Conclusion: A Simple Yet Powerful Tool
Mariia Hruntes' Biofeedback Butterfly is a perfect example of how a low-cost project can convey big ideas. It requires no advanced training to understand—the immediate visual link between pulse and wing motion makes the concept intuitive. Whether used as a teaching aid, a relaxation device, or a conversation starter, it shows that biofeedback doesn't have to be complicated to be effective. If you're inspired to build your own, many online resources provide code and 3D models. The only requirement is a willingness to observe your own heartbeat and let it guide you toward calm.
For more information on biofeedback, check out our articles on meditation techniques and other DIY biofeedback builds. And if you create your own version, share it with the community—the possibilities are as wide as your imagination.