DanNduati / Physiotherapy-Aiding-system

Physiotherapy aiding machine system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FSREsp32

Folder structure

.
├── app			# The Mobile app
├── db			# Mysql database schema sql script
├── docs		# Documentation directory
├── libraries	# Arduino libraries used in the firmware
├── images		# Images directory
├── webapp		# webapp directory
└── README.md

System Architecture

Hardware Components

1. Esp32 - Microcontroller

  • Get analog force from the FSR sensors
  • Checks which user is currently logged in on the app before publishing sensor payload data
  • Publish the FSR sensor data to firebase realtime database and the server every 1 minute

2. Force Sensing Resistors(FSR 402) sensors

  • Read force data from the patient
  • A single device should have 6 fsr sensors

Sofware Components

1. Mobile app

  • User registration and authentication (login and register)
  • Weight selection and reps addition to the database
  • Plot real time line graph of data from the microcontroller device(esp32)

2. Web app

  • No authentication justs serves data to the physiotherapist
  • Plot line graphs of weight and reps done for individual patients and displays tables of the same and data from the device

v1 - vanilla php(welp)

v2 - Flask Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

3. Storage

Firebase realtime database

  • Store force sensor data from the esp32
  • Data from the real time database is used to plot real time graph in the mobile app
collections
Sensor collection and Reps collection

MySQL Database

  • Stores user credentials during mobile app registration
  • Used for user authentication on the mobile app
schema
Patients, readings and reps tables

About

Physiotherapy aiding machine system


Languages

Language:Python 98.2%Language:C 0.9%Language:PHP 0.5%Language:HTML 0.2%Language:JavaScript 0.1%Language:C++ 0.1%Language:CSS 0.1%Language:Shell 0.0%Language:Assembly 0.0%Language:Batchfile 0.0%