Lesson plan

Heart, skin and body sensors lesson plan

Pulse and SpO2 from light, ECG beats, skin response, contactless temperature and fingerprints, the honest limits of all of them, then a fitness monitor. Learning projects, battery powered, never medical devices.

4 chapters, 7 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Pulse from light and beats from the skin.
  • Skin response and contactless temperature.
  • Fingerprints, and the limits of every body sensor.
  • A fitness monitor.

Materials for the whole unit

  • Arduino Uno R3
  • Character LCD with I2C backpack
  • Fingerprint sensor, R30x / AS608
  • Full-size breadboard
  • Galvanic skin response sensor
  • Half breadboard
  • Heart monitor (ECG), AD8232
  • Hobby servo
  • IR thermometer, MLX90614
  • LED bar graph, 10 segments
  • MAX30102 pulse oximeter
  • OLED display, 128x64
  • Piezo speaker
  • Resistor x 10
  • Traffic light module

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 1 h 50 min

Heart

Pulse from light and beats from the skin.

LessonTimeWhat students do
Pulse and SpO2 from lightA MAX30102 shines red and infrared light into a fingertip: the steady level, the pulse riding on it, the heart rate in its rhythm and an SpO2 estimate from the two colors.55 min
  1. Run it: light through a finger
  2. A big level, a small swing
  3. Heart rate and SpO2
  4. A faster heart
  5. Two colors for oxygen
  6. Lift the finger
  7. A threshold is a guess
ECG with the AD8232The heart’s electrical signal from three skin electrodes: R spikes found with a threshold and a refractory time, the R-R interval, electrodes checked, and why it runs on a battery.55 min
  1. Run it: beats from the skin
  2. Find the R spike
  3. A faster heart
  4. Leads off
  5. Noise
  6. Too fast for the window
  7. A shorter refractory time

Materials

  • Arduino Uno R3
  • Half breadboard
  • Heart monitor (ECG), AD8232
  • MAX30102 pulse oximeter

Check for understanding

Each student finishes "ECG with the AD8232" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A shorter refractory time".

Chapter 2. About 1 h 30 min

Skin and body

Skin response and contactless temperature.

LessonTimeWhat students do
GSR: skin responseA Grove GSR module in microsiemens: the slow tonic level, the quick responses on top of it, and an honest look at what skin response can and cannot say.45 min
  1. Run it: fingers on the straps
  2. A response
  3. Settle back
  4. Hands off
  5. Smaller responses
  6. What GSR cannot say
MLX90614 contactless temperatureAn MLX90614 reads infrared glow without touching: the object and its own ambient, the field of view, a hot-surface warning, and why a forehead is not the inside of a body.45 min
  1. Run it: two temperatures
  2. A warm room
  3. Skin is not the core
  4. Do not touch
  5. A lower warning
  6. Aim, spot and shine

Materials

  • Arduino Uno R3
  • Character LCD with I2C backpack
  • Full-size breadboard
  • Galvanic skin response sensor
  • Half breadboard
  • IR thermometer, MLX90614
  • LED bar graph, 10 segments
  • Piezo speaker
  • Resistor x 10

Check for understanding

Each student finishes "MLX90614 contactless temperature" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Aim, spot and shine".

Chapter 3. About 1 h 40 min

Identity and honesty

Fingerprints, and the limits of every body sensor.

LessonTimeWhat students do
Fingerprint modulesAn optical fingerprint module with its own processor: templates kept on the module, a search that returns an ID and a confidence, an admin finger, and why fingerprints are not passwords.45 min
  1. Run it: the sensor reports in
  2. A match
  3. Another finger
  4. A stranger
  5. A new admin
  6. Fingerprints are not passwords
Honest medical limitsThe same oximeter with the rules a careful readout needs: no finger, no number; the settling window thrown away; numbers outside what the method can measure refused; and plain words about what it is.55 min
  1. Run it: say what it is
  2. Why throw it away
  3. No finger, no number
  4. Outside what it can measure
  5. Low oxygen readings
  6. See what the rule hides
  7. Your honest readout

Materials

  • Arduino Uno R3
  • Fingerprint sensor, R30x / AS608
  • Half breadboard
  • Hobby servo
  • MAX30102 pulse oximeter
  • Traffic light module

Check for understanding

Each student finishes "Honest medical limits" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Your honest readout".

Chapter 4. About 55 min

Boss

A fitness monitor.

LessonTimeWhat students do
Boss: a fitness monitorA MAX30102 pulse, an MLX90614 skin temperature and an OLED showing the heart rate zone for a workout, with every honest rule from the course built in.55 min
  1. Run it: three parts, one bus
  2. Settle, then the zone
  3. Work out
  4. Skin temperature
  5. Finger off
  6. Your age
  7. Make it yours

Materials

  • Arduino Uno R3
  • IR thermometer, MLX90614
  • MAX30102 pulse oximeter
  • OLED display, 128x64

Check for understanding

Each student finishes "Boss: a fitness monitor" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".

Your class

Teach this unit as a class

Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.