EE 105 · Team of 3
Biometric Music
A fingertip sensor reads your heart rate and blood oxygen, guesses your mood, and picks music to match: energetic, relaxing or normal.

- My role
- Co-builder: sensor firmware, signal processing and the Python music bridge
- Tools & skills
- ArduinoC++PythonMAX86916 optical sensorAD5593R ADC/DACI2C
What I learned
The Arduino takes a 10-second reading: it estimates SpO2 from red and infrared light, then counts heartbeats above an adaptive threshold, keeping only beats between 40 and 150 BPM. A Python script turns that into a mood (a jump of 15+ BPM means energetic, SpO2 under 94% means fatigue) and plays a matching song. The sensor often read 0 BPM from too much light or the wrong finger pressure, so we lengthened the measurement window, tuned sensitivity on the serial plotter, and tested pressures. Real-world signals are messy, and designing around that is half the product.