This application creates a unified LSL outlet with six channels from Polar H10 data:
- Channel 0: ECG (µV)
- Channel 1: Heart Rate (bpm)
- Channel 2: RR-interval (ms)
- Channel 3: Accelerometer X (mG)
- Channel 4: Accelerometer Y (mG)
- Channel 5: Accelerometer Z (mG)
- PolarGUIv3_AEON_MR&LA.py: Latest version with modifications by Md Mijanur Rahman of AEON lab for Realtime LSL Dashboard compatibility fixes.
- PolarGUIv2_AEON_LA.py: Modified by Luis Alarcon of AEON lab for internal LSL compatibility.
- Polar GUI_Original.py: Original version by markspan from the PolarBand2lsl repository
- Real-time Data Streaming: Streams multiple data types simultaneously through a single LSL outlet
- BLE Connectivity: Automatically discovers and connects to Polar H10 devices
- User-friendly GUI: Simple interface for device scanning and connection management
- AEON Dashboard Compatibility: Modified channel labeling and data handling for seamless integration with AEON lab's realtime monitoring dashboard
The latest version (v3) includes several important compatibility improvements:
- Channel Labeling: Uses 'label' instead of 'name' for LSL channel metadata to ensure compatibility with AEON's dashboard
- NaN Handling: Replaces NaN values with zeros to prevent dashboard display issues
- Consistent Sampling: Uses ECG rate (130 Hz) as nominal rate for all channels
- Default Values: Initializes with reasonable defaults to maintain data stream continuity
- Python 3.7+
- Kivy
- Bleak (BLE library)
- pylsl (Lab Streaming Layer)
- Polar H10 Heart Rate Sensor
pip install kivy bleak pylsl