Project tutorial
WIZ750SR Based Remote Health Monitoring with Amazon Alexa

WIZ750SR Based Remote Health Monitoring with Amazon Alexa © Apache-2.0

In modern world, it's very difficult to keep check on patients' health. With my project, you just need to ask Alexa for their pulse rate.

  • 1,293 views
  • 0 comments
  • 6 respects

Components and supplies

Apps and online services

About this project

The Need

It is very difficult to keep the track of health patients specially the ones in ICU. Nurses and Doctors don't know the pulse rate of a patient when they are not near the equipment.

My project Health Buddy which uses Amazon Alexa Voice Service to tell you the Real-time Patient Pulse over the Internet with the help of WIZnet WIZ750SR.

Future Scope

Currently this prototype can only tell pulse rate of one patient but with the array of sensors we can extend it to multiple patients and not just monitoring pulse rate but also the Glucose, Blood Pressure and more vital stats.

Want to build one? Follow the steps below, Pull Requests are always welcomed :)

Step 1

  • Download the WIZnet Tool

https://github.com/Wiznet/WIZnet-S2E-Tool-GUI

Install Python 3 if not installed.

sudo apt-get install python3

and for Windows Download from python.org

  • Connect yourWIZNET to PC and LAN using Serial to USB Converter.
  • PressSearch.
  • Selectthe device and Configure with the following values.

Operation mode -> TCP server

Local IP -> any IP address that falls in the range of your LAN

Gateway -> To get this type “ipconfig” in cmd/ "ifconfig" in terminal

Local port -> 80

Baud rate -> 115200

Data bit -> 8

Parity -> None

Stop bit -> 1

Flow control -> None

Step 2

  • Connect the Arduino with pulse sensor
  • Connect the WIZnet board with Arduino
  • Run commands
cd Desktop
git clone https://github.com/madhurgupta10/Amazon-Alexa-Based-Remote-Health-Monitoring
  • Then open the folder Amazon-Alexa-Based-Remote-Health-Monitoring
  • Open the folderArduino
  • Double click on Firmware.ino
  • Deploy code to yourArduino UNO

Install Arduino IDE if not installed from arduino.cc

Step 3

  • Click on Go to Console.
  • Click on Add Project.
  • Name your project.t
  • Click on Create Project.
  • Click on Database.
  • Select Start in Test Mode.
  • Note down your firebase id.

Step 4

  • Log in with your amazon credentials.
  • Click on Developer Console.
  • Click on Create Skill.
  • Name the Skill.
  • Click on Select (Custom Skill) and then Create Skill.
  • Click on Invocation Tab and fill invocation name as health buddy.
  • Click on JSON Editor Tab and Paste the code below.
{
 "interactionModel": {
   "languageModel": {
     "invocationName": "health buddy",
     "intents": [
       {
         "name": "AMAZON.FallbackIntent",
         "samples": [
         ]
       },
       {
         "name": "AMAZON.CancelIntent",
         "samples": [
         ]
       },
       {
         "name": "AMAZON.HelpIntent",
         "samples": [
         ]
       },
       {
         "name": "AMAZON.StopIntent",
         "samples": [
         ]
       },
       {
         "name": "Now",
         "slots": [
         ],
         "samples": [
           "ask health buddy",
           "latest heath",
           "health right now",
           "patient health"
         ]
       }
     ],
     "types": [
     ]
   }
 }
}
  • Click on Build Model.
  • Click on Endpoint Tab.
  • Copy your Skill Id.
  • Click on Sign in to console.
  • Click on Lambda (search, if not on front page).
  • Click on Create Function.
  • Fill the details (see the pic)
  • Click on Create Function.
  • Click on Alexa Skill Kit.
  • Click on Enable and paste your skill id.
  • Click on Add,Save
  • Scroll Down and Select Upload a.zip file.
  • Open folder Amazon-Alexa-Based-Remote-Health-Monitoring from your desktop (recall Step 2)
  • Navigate into the folder called Alexa/Lambda.
  • Open the file named as lambda_function.py in any text editor.
  • Now paste the firebase id into line (replace {your firebase url} with your firebase id)
  • Now move this file to the lambda-zipped.zip archive. (if using WinRAR just drag and drop it to the archive)
  • Now upload this lambda-zipped.zip to aws.
  • Copy your ARN (see the pic)
  • Paste the ARN and click on Save Endpoints.
  • Click on Test Tab.
  • Toggle the Switch.
  • Type the command - starthealth buddy.
  • if reply received you are good to go.

Step 5

  • Install Node-RED on your PC
npm install -g --unsafe-perm node-red
node-red
sudo npm install -g node-red-contrib-firebase
  • Add TCP

  • Now open your Alexa Device and say, "Alexa, start Health Buddy" while holding the pulse senor within your finger and thumb.

Code

ModelJavaScript
{
"interactionModel": {
"languageModel": {
"invocationName": "health buddy",
"intents": [
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "Now",
"slots": [],
"samples": [
"ask health buddy",
"latest heath",
"health right now",
"patient health"
]
}
],
"types": []
}
}
}

Schematics

Arduino Wiznet
Arduino wiznet oynbmlwso4 1rrmoxphqq ylp0oy2pyg
Arduino Pulse
Screenshot www circuito io 2018 07 29 09 55 41 6z1jl69cey 2ji1geosfm

Comments

Similar projects you might like

Alexa Based Smart Home Monitoring

Project tutorial by Adithya TG

  • 19,687 views
  • 19 comments
  • 56 respects

Remote and Voice Controlled Smart Fan

Project tutorial by Paul Trebilcox-Ruiz

  • 4,050 views
  • 3 comments
  • 19 respects

Monitoring Health Station

Project tutorial by Diana Khalipina

  • 2,211 views
  • 1 comment
  • 23 respects

Light Control Using Arduino and Amazon Alexa

Project tutorial by Rajesh

  • 12,183 views
  • 1 comment
  • 14 respects

Sentinel Security

Project tutorial by Scott Mendenhall

  • 4,547 views
  • 0 comments
  • 30 respects

Alexa BBQ/Kitchen Thermometer with IoT Arduino and e-Paper

Project tutorial by Roger Theriault

  • 2,385 views
  • 0 comments
  • 9 respects
Add projectSign up / Login