John Cheung - Mon 4 May 2020, 4:27 am
Arduino Development Plan
Finally, I receive Arduino kit this week. I have divided the whole project into three parts.
This is a bracelet and necklace combination to monitor user's heart rate and trigger the breathe technique training program when the heart rate exceed a given threshold.
A heart rate sensor is installed in a bracelet that used to record the user's heart beat. The basic function of this bracelet is display the user's heart rate in an OLED screen. There are two mode this model, including sport mode and normal mode. The sport mode disabled the breathe technique training program even when the user's heart rate exceed a given thresold. The normal mode keep track on the user's heart rate and it will trigger the breathe technique training program when the heart rate continuously exceed the threshold in a short period. This OLED screen required user to build the application based on u8glib. The user can draw string and line on the screen, which is adjustable and changable.
A breathe technique training program is installed in a necklace. This program will be triggered when the heart rate exceed a given threshold. It guides user to complete the 4-7-8 breathing training on the OLED display. In the first 4 second, the program requires users to breathe in. In the next 7 second, the program requires users to hold their breathe. In the last 8 seconds, the program requires users to breathe out. A count down timer will be shown on the bottom right corner in all situation.
A microphone and LED light setting is installed on the necklace. For breathe in and holding breathe stages, the LED will light up when no sound is detected, which means users are not breathing out. For the breathe out stage, the LED will light up when sound is detected, which means the users are breathing out. This is another visual aid that help users recognise the breathing stage they are experiencing.
This is an optional setting, an essential oil may be considered to provide a more effective effect to help bring down users' heart rate.