Hardware Architecture

Raspberry Pi

Computational Node

It gets information from the mobile application and according to that
it decides if activate the HRS.

User Mobile Phone

Mobile computational Node

To be able to:
- recives and read data send from the SmartBand
- recives notification
- interact with the Server

Smart Band

Sensing Node

Wearable bracelet.
It checks Heart Beat and Daily Activity (e.g. number of steps )
Sensors:
light sensor pulse
three-axis accelerometer

Home Relaxation System

Acting

Composed by:
- Lights
- Audio System
- Sweetness Diffusor

All the System features are controlled by the Raspberry Pi and
the user sholud select/deselect the Home Relaxation features from the mobile application.

Server


Raspberry Pi connected to the web via LAN or WIFI

Software Architecture

Mobile Application

The app allows the user to:

  • Read the number of steps during the day
  • Receive notification about her stress status
  • Receive notification about her physical activity(number of steps)
  • Read the last Heart Rate detected value
  • Activate the Home Relaxation System
  • Deactivate some features of the HRS
  • Stop the HRS

Runs on all Android devices

Interact with:

  • The Server
  • the Smart Band

Server

  • Save user information/settings in the database
  • Recieves data from the mobile application

Runs on Raspberry pi

Interact with:

  • The Station via HTTP
  • The Smart Band

Raspberry + RaZberry

Functions

  • Software developed in Python and based on the data it receives from the server.
    If the received data are detects a moderate or high stress level
    the software call the appropriate function which turn on the HRS.

Runs on Raspberry pi

Interact with:

  • with home relexation system
  • with server
Hardware components
# Component Name
1 Raspberry Pi
2 FitBit charge HR
3 Audio Amplifier
4 Philips Hue
5 Sweteness Diffusor
Software components
# Name
1 Android Mobile App
2 Android API
3 Fitbit API
4 Flask
5 Custom software for HRS
6 Temboo Library for Fitbit
7 Z-way API