PULSE OXIMETER AND HEART RATE SENSOR WITH UBIDOTS, PART 2
UBIDOTS IOT SERVER CONFIGURATION
Here I'm going to use as a reference what was published in my Blog #4.
STEP 1.- I create a new Dashboard, clicking on the + symbol as shown in the image below.
Add General Information to our Dashboard as shown below:
After clicking OK, the image below appears.
STEP 2.- Before adding Widgets, we must add a new device as shown below
Select Blank Device as shown below:
Add Device name and Device label such as: pulse-oximeter-arduino-nano-33
Once OK is clicked, we see the image below with the list of devices:
STEP 3.- Then I click on the created device "pulse-oximeter-arduino-nano-33" and the image below opens:
Here I find useful information such as the API Label (pulse-oximeter-arduino-nano-33) and the TOKEN. We copy this data and paste it into the code from our previous Chapter (Blog #5).
STEP 4.- The next step is to click on the Add Variable icon and the image below is shown to us.
Now we click on the Raw icon, and type "pulse" as shown below:
We repeat the previous step and type the variable: "oximeter"
STEP 5.- It's time to go back to step 2 and "Add New Widget". The image that opens is shown below:
STEP 6.- Click on the "Gauge" icon, then the image shown below opens:
STEP 7.- Select "pulse-oximeter-arduino-nano-33" widget
Select "pulse" variable and the image shown below opens.
Add the next data and then click OK:
Aggregation method: Last value
Name: PULSE
Range value: 0 to 100
STEP 8.- Repeat step 7 with the variable "oximeter" and add the next data:
Aggregation method: Last value
Name: OXIMETER
Range value: 0 to 100
TEST
To do the test with this prototype, I have placed the Arduino NANO 33 IoT board out of the box, since I want to show how it works when I feed it via USB and with the battery.
The video below shows us the test carried out with the prototype working.
Below we see a screenshot when the Widget is working in real time:
in the image below a close-up of the test.
CONCLUSION
- This prototype is very useful for the elderly and disabled, since they can measure their vital signs remotely and your doctor can have a more accurate diagnosis of their patients.
- This sensor is very sensitive so it's recommended to relax before doing a test and not move a lot while the test is being carried out.
Top Comments