The alert system compares the calculated BPM with configurable educational threshold values.
The system provides three states:
- LOW
- NORMAL
- HIGH
| BPM Range | Status | Green LED | Red LED | Buzzer |
|---|---|---|---|---|
| Below 60 | LOW | OFF | ON | ON |
| 60 to 100 | NORMAL | ON | OFF | OFF |
| Above 100 | HIGH | OFF | ON | ON |
When:
BPM < 60
The system:
- Displays LOW on the OLED.
- Turns OFF the green LED.
- Turns ON the red LED.
- Activates the buzzer.
- Prints LOW status to the Serial Monitor.
When:
60 <= BPM <= 100
The system:
- Displays NORMAL on the OLED.
- Turns ON the green LED.
- Turns OFF the red LED.
- Turns OFF the buzzer.
- Prints NORMAL status to the Serial Monitor.
When:
BPM > 100
The system:
- Displays HIGH on the OLED.
- Turns OFF the green LED.
- Turns ON the red LED.
- Activates the buzzer.
- Prints HIGH status to the Serial Monitor.
BPM | +---- BPM < 60 ------> LOW | +---- 60 to 100 ------> NORMAL | +---- BPM > 100 ------> HIGH
The threshold values used in this project are demonstration settings only.
Actual heart-rate interpretation depends on factors such as age, physical activity, health conditions, medications, and measurement conditions.
This project is not a medical diagnostic device.