Things used in this project

Hardware components:
Espectro core ytowwais65
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

Air Quality License Plate Holder
Advanced
  • 1,849
  • 4

Full instructions

Air Quality License Plate Holder uses air quality sensor attaching to the vehicle to monitor the air quality through out the city.

TCP/IP Multisensor
Advanced
  • 310
  • 1

Work in progress

Arduino based sensor that communicates over TCP/IP. Can be used stand-alone or part of a Raspberry based data logger with a web UI.

TCP/IP Multisensor

Team Kallio Designs

Thermopile
Advanced
  • 703
  • 1

Work in progress

Thermostat based on Raspberry Pi 3 running Android Things with touchscreen support.

Slot Car Track
Advanced
  • 546
  • 3

Slot Car Race Track! Hurry!

Home Monitoring System Based on LattePanda, ZigBee and Azure
Advanced
  • 1,748
  • 3

Full instructions

Design your home monitoring system with LattePanda (with Windows 10 Home x64 OS), CC2530 ZigBee devices, and Microsoft Azure services.

Automatic control of wine store
Advanced
  • 90
  • 1

Work in progress

The wine store should be a place that is constantly monitored and regularized. This automatic control of wine store solution can do that.

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaFree StoreBlog