Part 2: Wearable Sensors · Week 5 · Tue, Feb 2
Chapter 5: Heart Rate, ECG and Heart Rate Variability
Two devices on the same runner disagree by 15 beats a minute in the middle of an interval session. Which one is right, and how would you know?
- Ask
- Collect (this week)
- Check (this week)
- Interpret (this week)
- Coach (this week)
- Reassess
Read
Read Chapter 5 pp. 121–150
- 5.1Wearable Sensors at a Glance
- 5.2The Heart as a Signal Source
- 5.3Two Ways to See a Heartbeat
- 5.4From ECG to Beats
- 5.5Heart Rate Variability
- 5.6How Heart Rate Answers Exercise
- Read to here before Tuesday
- 5.7Zones and Load
- 5.8How Good Is the Number?
- 5.9Recording with the Heart App
- 5.10Telling the Athlete
- 5.11Summary
- 5.12Exercises
- Read to here before Thursday
Bring to class
- One chest strap per team (the course uses the Polar H10), water to wet its electrodes, a laptop with a Bluetooth-capable browser or a phone with the course's logging app, a stopwatch, and a wrist or arm optical device if you own one.
Data you collect: Chest-strap ECG.
Apps: Heart
No one has to exercise hard, buy a device, or share health data: every collection has a case-file path.
Measurement methods

A chest strap detects electrical activity through the skin-facing electrodes. Its transmitter sits at the center of the band. Name the signal and time reference before comparing it with the watch. The ECG sketch illustrates the RR interval. The equipment scene is a generated illustration.
Lecture slides
Class 9The Heart as a Signal
30 slides · about 36 min · PDF
Class 10Zones, Load and Agreement
30 slides · about 38 min · PDF
Classes
The heart as a signal; from ECG to beats
Due: H09 Dashboard 1: a season in four charts
Class 10 · Thu, Feb 4Heart-rate variability; response to exercise; zones and load
Due: H10 Chest-strap ECG
Homework
Chest-strap ECG
Core exercises on beats and intervals. Record five minutes of rest and a short effort with the Heart app; count beats by hand on a 10-second strip and compare.
How sure are we? Heart-rate variability and recovery
From the instructor's sleep and day recordings: RMSSD by night, recovery after effort, and a bootstrap interval that resamples windows or repeats, not single samples.
Tutorials
From a raw file to something an athlete can act on. The case study is this week's worked example in class; the quick tutorials prepare you for it and for the homework. The data workflow · Your athlete record
From a chest-strap recording to a recovery number
Check a chest strap's beat intervals against its own ECG, clean two nights of sleep with a written artifact rule, compute a nightly RMSSD with an honest interval, and find out what two nights can and cannot say about a baseline band.
Build step B-5: Heart rate from a file, then live
RR intervals and HRV from a file, then Web Bluetooth to the chest strap; first unit tests.
Exercise board
25 exercises in 10 strands; 8 are CORE, the set homework draws on. Tick them off as you go; ticks stay in this browser.
Data for this week
heart
John Hedengren: Polar H10 chest-strap recordings
4 chest-strap sessions (ECG at 130 Hz with beat-by-beat RR) from June 2026: 2 full nights and 2 daytime sessions, with 3-minute excerpts and nightly HRV.
book
Book data, Chapter 5: Heart Rate, ECG and Heart Rate Variability
The 8 example files that Chapter 5 of Data-Driven Athletics reads, under the same names the listings use.
tutorial
Tutorial CS-6: From a chest-strap recording to a recovery number
Check a chest strap's beat intervals against its own ECG, clean two nights of sleep with a written artifact rule, compute a nightly RMSSD with an honest interval, and find out what two nights can and cannot say about a baseline band.
tutorial
Tutorial Q-13: Find the beats in ten seconds of ECG
Read the clock of a raw chest-strap ECG file, find every R peak in ten seconds with a band-pass, slope and threshold, and check the count against the strap.
tutorial
Tutorial Q-14: Heart rate from beat intervals
Turn a strap's beat-to-beat intervals into heart rate, find out why the mean of the beat rates is the wrong session average, and compare with the strap's own smoothed display.
tutorial
Tutorial Q-15: One night's RMSSD
Apply an artifact rule to a night of chest-strap beat intervals, compute RMSSD in five-minute windows, and report the night as the median of its valid windows.
open
ACTES cycle-ergometer tests
18 young athletes: RR intervals, oxygen uptake, power; 439 KB.
open
Treadmill maximal exercise tests (Málaga)
992 tests with speed, heart rate and oxygen uptake.
open
ECG in high-intensity exercise
Single-lead ECG from maximal cycling tests; 8.9 MB.
Go further
- Companion reading: the IRSRI Data-Driven Coaching course, module 5.
- Cite this chapter: citation in BibTeX, RIS or text.