In this lesson, students will explore the relationship between heart rate, physical activity, and emotions using a pulse sensor and an RGB LED. By integrating biology, physics, and programming, students will measure their pulse, analyze how physical exertion or stress affects heart rate, and modify a microcontroller-based system to display real-time feedback.
Through hands-on coding, students will customize the LED colors to represent different pulse rates and add personalized messages in Armenian when no pulse is detected. The activity encourages interdisciplinary collaboration, as it involves elements of science, computer programming, and physical education.
The lesson fosters critical thinking, problem-solving, and data interpretation, making learning both interactive and applicable to real-life health monitoring.
This lesson was an exciting and interactive way to combine biology, physics, and programming. Students were fascinated by how they could measure their heart rate using a pulse sensor and visualize the data with an RGB LED. They actively participated in testing their pulse before and after physical activity and were eager to see how their heart rate changed.
Challanges
Some students struggled to get a stable pulse reading. To address this, I guided them on proper finger placement and sensor sensitivity.
A few found the coding part complex at first, especially understanding how the RGB LED changed color based on heart rate. However, as they experimented with the code, they gained confidence.
Since we couldn’t test the entire class, I worked with a small group and shared their results with others. Next time, I would plan for a larger-scale experiment.
“Որտեղ է քո մատը?” (Where is your finger?) when no pulse was detected.
Collaborating helped students connect heart rate with physical activity and emotions.
The lesson showed how technology can be used in health monitoring, making it a real-world, interdisciplinary experience.
The project inspired discussions about wearable tech, fitness trackers, and medical devices.
This step introduces students to the basics of pulse measurement and visual feedback using an Arduino, a pulse sensor, and an RGB LED. They will learn how the heart rate changes due to different physical activities and emotions. The RGB LED will visually represent heart rate variations, with colors changing based on pulse levels.
Connect the Pulse Sensor to Arduino:
Connect the RGB LED:
Upload and Test the Code:
If the pulse is more than 65- blue
if the pulse is less than then65- green
Experiment and Modify the Code:
Having trouble? Let us know by completing the form below. We'll do our best to get your issues resolved quickly.
"*" indicates required fields