Things used in this project

Hardware components:
Espectro core2
Makestro ESPectro Core
ESP8266 development board. Or basically you can use any ESP8266 devboard as long as it breakout I2C pins and accessible easily.
×1
Makestro ESPectro LoRa Backpack
LoRa backpack made specifically for ESPectro Core. Based on RFM95/98. Or you can use any LoRa module as long as you know how to wire it :)
×1
Heart Pulse Sensor
×1
SeeedStudio Grove - Temperature&Humidity Sensor (HDC1000)
×1
GY-87 10DOF MPU6050
×1
Pi 3 02
Raspberry Pi Raspberry Pi 3 Model B
You can also use Raspberry Pi 2.
×1
Makestro LoRa Raspberry Pi Hat
LoRa hat for Raspberry Pi 2/3, based on HopeRF RFM95/98
×1
Software apps and online services:
Artik logo cloud
Samsung IoT ARTIK Cloud for IoT
PlatformIO

Schematics

Wearable Wiring
Wiring diagram for Wearable-side. LoRa backpack is not included as it should be snapped-in.
Espectro%20patientcare.001

Code

Custom Device Type ManifestJSON
In order to create a device in Samsung Artik Cloud, a new device type should be created. You can use attached manifest JSON file.
{
  "fields": [
    {
      "name": "temp",
      "type": "TEMPERATURE",
      "valueClass": "Double",
      "isCollection": false,
      "description": "Body temperature",
      "tags": [],
      "unit": "SI.CELSIUS"
    },
    {
      "name": "timestamp",
      "type": "TIMESTAMP",
      "valueClass": "Double",
      "isCollection": false,
      "tags": [],
      "unit": "SI.MILLI(SI.SECOND)"
    },
    {
      "name": "id",
      "type": "ID",
      "valueClass": "String",
      "isCollection": false,
      "description": "Device ID",
      "tags": []
    },
    {
      "name": "heartRate",
      "type": "HEART_RATE",
      "valueClass": "Integer",
      "isCollection": false,
      "tags": [],
      "unitSymbol": "StandardUnits.BEATS_PER_MINUTE"
    },
    {
      "name": "fallDetected",
      "type": "CUSTOM",
      "valueClass": "Boolean",
      "isCollection": false,
      "tags": []
    },
    {
      "name": "humidity",
      "type": "CUSTOM",
      "valueClass": "Double",
      "isCollection": false,
      "description": "Humidity",
      "tags": [],
      "unitSymbol": "%"
    },
    {
      "name": "ax",
      "type": "CUSTOM",
      "valueClass": "Double",
      "isCollection": false,
      "description": "Acceleration on X-axis",
      "tags": [
        "acceleration",
        "motion"
      ]
    },
    {
      "name": "ay",
      "type": "CUSTOM",
      "valueClass": "Double",
      "isCollection": false,
      "description": "Acceleration on Y-axis",
      "tags": [
        "motion",
        "acceleration"
      ]
    },
    {
      "name": "az",
      "type": "CUSTOM",
      "valueClass": "Double",
      "isCollection": false,
      "description": "Acceleration on X-axis",
      "tags": [
        "motion",
        "acceleration"
      ]
    }
  ],
  "actions": [
    {
      "name": "setFallThreshold",
      "description": "Set a fall threshold",
      "parameters": [
        {
          "name": "double",
          "valueClass": "Double",
          "children": null,
          "unit": null,
          "isCollection": false,
          "type": "CUSTOM"
        }
      ],
      "isStandard": false,
      "type": "CUSTOM"
    },
    {
      "name": "setAlert",
      "description": "Set alert to On",
      "parameters": [
        {
          "name": "alertOn",
          "type": "CUSTOM",
          "valueClass": "Boolean"
        }
      ],
      "isStandard": false,
      "type": "CUSTOM"
    }
  ],
  "messageFormat": "json"
}
PatientCare-Wearable
Source code for ESP8266-based board for Wearable-side
PatientCare-Gateway
LoRa gateway deployed on Raspberry Pi 2/3. Consists of C++ based LoRa gateway program, and Node.js-based processing code (and uploader to Samsung Artik Cloud)

Credits

With cocoa2
Andri Yadi

An entrepreneur. IoT, iOS, Node.js, Azure developer and influencer. Hackster Live Ambassador for Indonesia. Microsoft MVP of Azure.

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Power Lunch
Advanced
  • 66
  • 2

Full instructions

An insulated food container divided into two sections by a thermoelectric cooler module for quickly heating one side and cooling the other.

Power Lunch

5 members

Open Source, Connected Robot Arm
Advanced
  • 978
  • 11

Work in progress

hRobot is an open source, connected, 3D-printable robotic arm, powered by ROS, with 500g lift capacity

Add A Google Home Ligh Indicator for Voice Activated Google
Advanced
  • 475
  • 4

Full instructions

Give your Google Assistant in Google Home on Raspberry Pi a light indicator.

Run Commands on Your Computers With an Old Remote Control
Advanced
  • 365
  • 3

If you have an old remote control laying around, don't throw it away! You can use it to run commands on your computers over the Internet.

Wildlife Detector
Advanced
  • 1,254
  • 14

Device detects motion, then takes a picture of triggering wildlife. Uses a neural net to identify the wildlife species and does something.

GO2
Advanced
  • 245
  • 14

Work in progress

We found an app that will check the weather and give you the best travel method to go to school or work.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login