Skip to content

IEEE-VIT/posture-correct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posture Correct

🧍‍♂️ Smart Posture Monitoring System

This project is a wearable embedded system designed to promote better ergonomic health by monitoring the user’s posture in real-time. It detects both back tilt and neck bend using onboard sensors and provides immediate feedback through visual and audio alerts. The system is built around the ESP32 microcontroller and leverages its BLE capabilities for future extension into mobile-based logging and alerts.


🧠 Project Overview

The Smart Posture Monitoring System enhances posture awareness through:

  • Tilt detection using an MPU6050 sensor (accelerometer + gyroscope)
  • Neck bending detection using a Flex Sensor
  • Posture classification into multiple levels based on sensor thresholds
  • Real-time alerts using an LED and buzzer for corrective feedback
  • (Future scope): Integration with a mobile app over Bluetooth for data logging and insights

🔧 Hardware Components Used

Component Purpose
ESP32 Main controller with built-in Wi-Fi and BLE
MPU6050 Detects body tilt via accelerometer and gyroscope
Flex Sensor + Resistor Measures neck bend via voltage divider circuit
LED Provides visual feedback on posture
Buzzer Emits audio alert on poor posture
Jumper Wires, Breadboard Circuit assembly and prototyping

💡 Implementation Details

🧍 Posture Logic

  1. The MPU6050 measures the user's pitch angle to assess back posture.
  2. The Flex Sensor detects bending of the neck by monitoring resistance.
  3. Posture is classified into:
    • Good
    • Moderately Bad
    • Bad
    • Very Bad
  4. Alerts are generated as follows:
    • LED lights up to indicate posture issues.
    • Buzzer provides real-time audio feedback for correction.

📟 Example Serial Output

AnglePitch: 28.56
Flex Sensor ADC: 712
BAD POSTURE

Prerequisites

-Git -Arduino

⚙️ Setup Instructions

  1. Clone the repository
git clone https://github.com/IEEE-VIT/posture-correct
cd posture-correct

Link for online simulations

-TinkerCad_Flex Flex_schematic -Wokwi_MPU MPU_schematic

About

Smart posture monitoring system using ESP32, MPU6050, and Flex Sensor with real-time alerts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages