Week 8
John Cheung - Sun 17 May 2020, 12:22 am
Modified: Sun 17 May 2020, 12:23 am
Arduino Setup
The whole adruino setup includes the main board, Gravity heart rate sensor, 1.3 OLED Display and three led lights in red, yellow and green.
Heart rate sensor
When the heart rate sensor is attached to the human body where shows strong pulse, the red light on the sensor will start flashing. It will generate heart rate data after 5-10 seconds depending on the connection stability. But it may stop generating data if the sensor disconnect from the body part. Also. this heart rate sensor provides two modes for data generation, including digital and analog mode. In this project, only the digital mode will be used.
OLED screen
The original function of this screen is to display the user's heart rate. Also, this screen will display the instruction of 4-7-8 breathing technique when the user's heart rate exceeds 98, the 4-7-8 breathing technique training program will be activated. In the first 5 seconds, the screen will display 'The program will be started in 5 seconds'. After the 5 seconds count down, the following instruction will be displayed.
1, Breathe in for 4 seconds
2, Hold Breath for 7 seconds
3, Breathe out for 8 seconds
4, You have completed this program, please wait for the system to detect your heart rate
If the user's heart rate is 98 or above, the 4-7-8 breathing technique training program will be activated again. If the user's heart rate is below 98, the user's heart rate will be displayed on the OLED screen.
LED Light
These LED light is designed to help user better follow the 4-7-8 exercise. When the OLED screen shows "Breathe in for 4 seconds", the red LED light will be switched on. When the OLED screen shows "Hold Breath for 7 seconds", the yellow LED light will be switched on. When the OLED screen shows "Breathe out for 8 seconds", the green LED light will be switched on.
Interaction Plan
1, Before user testing, the user will read the testing instruction on a computer and rest their body for a few minutes to regulate their body status.
2, After that, they will attach the heart rate sensor to the the body which reflects strong pulses.
3, The user will be told to move their body to generate higher heart rate to simulate the situation when people are anxious and stressful, they will be directed to the breathing technique instruction program when the heart rate is 98 or above.
4, After practicing the breathing exercise, the system will detect the user’s heart rate again, which takes 5-10 seconds to generate the result. Depending on the result, the user will be directed to the breathing technique instruction program if they heart rate is still 98 or above; the heart rate will be displayed on the OLED screen if the user’s heart rate is 97 or below.