
DEMONSTRATION
Steps to use the app
The steps required to test the demo are the following:
-
Download the app "app-pulsesensor-release-apk.apk" found on · github link on an Android phone
-
Insert in the app the “username” and “password” that are set in the Android Studio. This demo assumes there is only one particular patient.
-
Make sure all the hardware components are connected adequately as indicated in the "Arduino" section.
-
If it is the first time using the sensor, open the code "Arduino_PulseRateSensor_Accelerometer_Try.ino" on Arduino IDE and load it onto the Arduino. Then, as the Node-MCU is connected to a battery source, run "Arduino_NodeMCU_Write_Data_Channel_.ino".
-
If both codes are already loaded, all you need to do is plug the Arduino to a laptop and open an Arduino serial, as communication is based on serial connection.
-
-
Place pulse rate sensor on the finger. Wait around 15 seconds to start receiving reliable measurements.
-
If desired, move the board -with the accelerometer included - to simulate movement
-
View the charts on ThingSpeak, by logging into the following URL -heart rate and accelerometer data respectively.
https://api.thingspeak.com/channels/620080/charts/1?api_key=5JV8F8O1J1FSMW7G
https://api.thingspeak.com/channels/620080/charts/2?api_key=5JV8F8O1J1FSMW7G
9. Check results on the Android App. “Today” shows the last beat-per-minute and indicates whether the person is at rest or active,; and “Statistics” to see the same charts of ThingSpeak
10.Assuming the person is healthy, either increase pressure on the sensor or remove pulse sensor, so that the values become irregular and the alarm is activated. On the selected phone, the alarm should be seen about 15 seconds after the receive of the irregular measurement
​