Pulse Stream - Real-Time Heart Rate Visualization

python bluetooth data visualization

Real-time heart rate visualization from Polar H10 chest strap. Ideal for stream overlays or just for fun.

The source code can be found on GitHub.

Demo Video

Requirements

  • Polar H10 Chest Strap
  • Bluetooth 4.0+: BLE support required
  • Python 3.7+: Modern Python runtime
  • macOS/Linux/Windows: Cross-platform compatibility

Installation & Setup

python3 -m venv venv 
source venv/bin/activate
pip install -r requirements.txt
python pulsestream.py

Data Output

The application automatically saves heart rate data to timestamped CSV files in the data/ directory:

head ~/code/pulse_stream/data/hr_2025-09-11\ 16-54-29.csv

timestamp,unix_time,hr_bpm,rr_intervals_ms
2025-09-11 16:54:38,1757634878.078,75,843.8
2025-09-11 16:54:39,1757634879.067,75,868.2
2025-09-11 16:54:40,1757634880.087,74,868.2;848.6
2025-09-11 16:54:41,1757634881.077,73,858.4


Projects

Site

Games

Tags