An open API service indexing awesome lists of open source software.

https://github.com/djaus2/mpu6050falldetection

Detect a fall based pitch and roll tilt calculations using accelerometer
https://github.com/djaus2/mpu6050falldetection

Last synced: about 1 year ago
JSON representation

Detect a fall based pitch and roll tilt calculations using accelerometer

Awesome Lists containing this project

README

          

# MPU6050 Fall Detection

## About
Arduino sketch to detect a fall based pitch and roll tilt calculations using the MPU6050 accelerometer.

## Algorithm

Start
- Set fallcount = 0;

Loop
- Calculate Pitch and Roll
- If Pitch or Roll are greater than lesser trigger
- Increment fallcount
- If fallcount > large trigger
- Report fallen on ground
- Else if fallcount > medium trigger
- Report has fallen
- Else if fallcount >0
- Report Stumble
- Set fallcount = 0