The Heartbeat Lamp allows users to easily visualize and monitor irregularities in their heart rate. With the input received by the Pulse Sensor, the color of LEDs will change according to the heart rate of the user. A low heart rate (below 60 BPM) will result in blue blinking LEDs, a normal heart rate (60 to 100 BPM) will blink green, and a high heart rate (above 100 BPM) will blink red. When the Pulse Sensor is not in use/is disconnected from the user, the LEDs will default to a rainbow.
Libraries used:
1. PulseSensor Playground > Getting_BPM_to_Monitor
2. Adafruit Neopixel > Strandtest
These libraries were combined to access the BPM values and have the lights blink in different colors, speeds, and ranges of individual LED lights accordingly.
https://www.youtube.com/watch?v=BWRv4IfOzfE&feature=youtu.be
No comments:
Post a Comment