Skip to content

Created a basic seizure detection system with sensors that sense the physiological changes in the body that sends data to the Thingspeak cloud.

Notifications You must be signed in to change notification settings

yugen-21/IOT-Seizure-and-fall-detection-system

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IOT-Seizure-and-fall-detection-system

What is a seizure?

A seizure is a condition where there is sudden electric disturbances in the brain that causes involuntary changes in the body like body movements, behavior and loss of consciousness.

What our system does:

Our system provides a basic seizure detection mechanism that uses sensors for detecting physiological changes. These include:

  1. LM35DZ for recording body temperature
  2. Mpu6050 Accelerometer module for fall detection
  3. EMG sensor for detecting change in electric activity of the muscles
  4. Pulse sensor for detecting heart rate
  5. Esp32 WiFi Module microcontroller

The data is read and sent to Thingspeak cloud and also displayed using OLED.

How the system works:

  1. Sensors detect physiological changes and these analog signals are captured by our ESP32 Wifi microcontroller module.
  2. The ESP32 has a built in Analog to Digital Converter and it processes these signals.
  3. Using the Arduino IDE, a code is written that allows us to process this data. The following processes take place:
    • Setup phase:
      • Serial communication between the ESP32 module and computer.
      • Initiating Wifi connection using SSID and password.
      • Initialising OLED display
    • Loop function:
      • Initialising HTTP connection.
      • Setting up the HTTP request header: Setting up content type (url-form-encoded), method: POST
      • Sending the HTTP post request to the ThingSpeak Server through it's API using API Key.
      • Displaying in OLED
  4. User interface:
    • Created a simple dashboard using HTML and CSS that displays the iframe fetched from the ThingSpeak cloud which displays the real time data from the sensors.

OUTPUT:

Dashboard:

image

ThingSpeak iframe (with EMG sensor details):

image

Hardware:

Future scope:

Using machine learning classification algorithms to classify a seizure based on the sensor data and using the provided user details like phone number to send them an alert.

About

Created a basic seizure detection system with sensors that sense the physiological changes in the body that sends data to the Thingspeak cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 65.8%
  • CSS 24.5%
  • SCSS 6.9%
  • JavaScript 2.7%
  • C++ 0.1%