Close
0%
0%

Posture Correcting Device

Long work from home hours, ignoring back/spine gives rise to back pain. This project is about a device which helps coping up that pain.

Similar projects worth following
We are now living in work from home era(at least from more than one year). Most of us are working sitting in front of monitors/screens for long hours. During these long hours we unintentionally ignore our sitting habits.
By sitting habits I mean sitting properly, ignorance of which gives rise to health issue. To be specific back pain.
I also went through the same issue, and decided to make a device which alert me whenever my posture is wrong.
And this will definitely improve productivity and helps in providing a healthy life.

Concept of the device:
Whenever a person with the device leans forward the device alert by sending a signal to a buzzer/vibration sensor, and as soon as the person becomes straight it stops sending signal to the buzzer/vibration sensor.
Planning to use a microcontroller, a gyroscope sensor and buzzer/vibration sensor and obviously a small battery to power it up.
Also I want to make it tiny to be like wearable electronics.

So here we will be discussing the main components used and then working of the whole project and more stuff in detail.

The main component of this project is microcontroller ATTINY85 and MPU6050 - the Gyro/accelerometer sensor. Then we have other components like vibration motor/sensor, battery and switches.

Component Description

1> ATTINY85 microcontroller

The main reason for using it is because it is one of the smallest uc, having 8K FLASH which is sufficient for programming, 512B RAM and it supports SPI interfacing which is required to wirk with the MPU6050 Accelerometer/gyro sensor. It has 6 no. of I/O's which is enough for interfacing with other components.

ATTINY can be operated with 2.7V to 5.5V so easy to use with 3.7V rechargable batteries.

pin details-

pin configurations-

2> MPU6050 Accelerometer and Gyroscope Module

The MPU6050 is a Micro Electro-Mechanical Systems (MEMS) which consists of a 3-axis Accelerometer and 3-axis Gyroscope inside it. This helps us to measure acceleration, velocity, orientation, displacement and many other motion related parameter of a system or object. This module also has a (DMP) Digital Motion Processor inside it which is powerful enough to perform complex calculation and thus free up the work for Microcontroller. It also supports I2C Communication protocol.

It`s working voltage range is 3V to 5V.

3> Viberation Motor

It`s used for feedback/alert purpose. It has operating voltage of 3.0V

4> Battery 3.7V

 Lipo Rechargeable Battery

5> TP4056  

Lithium Battery Charger Module having Input interface as Micro USB


Working

First while programming the microcontroller we define the cutoff for the Accelerometer /Gyroscope sensor. By cutoff I mean the value where it triggers and activates the vibration motor/sensor.

So Accelerometer/Gyroscope tracks the cutoff value ---> if value crossed ----> sends signal to microcontroller ----> microcontroller activates(or deactivates) the vibration motor/sensor(or LED in case for prototype circuit, which is used for optical fedback for human eyes, the LED may be removed in final make of the device.)

Thus it alerts the user for correcting his/her posture.

Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf

ATTINY85 microcontroller Datasheet pdf

Adobe Portable Document Format - 3.67 MB - 07/14/2021 at 10:50

Preview

MPU-6000-Datasheet1.pdf

Datasheet of MPU6050: 3-axis gyroscope and a 3-axis accelerometer with an onboard Digital Motion Processor™

Adobe Portable Document Format - 1.56 MB - 07/14/2021 at 10:50

Preview

POstureCorrector_with_ATTiny85_working.ino

The Test program for attiny85 microcontroller, written and compiled in Arduino IDE

ino - 1.50 kB - 07/06/2021 at 03:26

Download

  • 1 × ATTINY85 Microprocessors, Microcontrollers, DSPs / ARM, RISC-Based Microcontroller
  • 1 × MPU6050 3-axis Gyroscope, 3-axis Accelerometer and Digital Motion Processor
  • 1 × Vibration sensor/motor
  • 1 × 3.7V Small Rechargable Battery
  • 1 × TP4056 Li-ion lithium Battery Charging Module

View all 7 components

  • One step closer to final product

    Krishna Mohan07/18/2021 at 15:24 0 comments

    So I have assembled all the componrnts in 3D printed case. It`s tiny and looks awesome.

    The dimension of my wearable Posture correcting Devics is marely 52x33x5mm. Now is is easy to stick on the back with some means(working on it...) to be fully functional, and provide feedback to user. Have a look:-

    More photographs in gallery.

  • 3D printed encloser

    Krishna Mohan07/17/2021 at 09:47 0 comments

    I have printed some encloser designs for my project. What I tried to fit all the components in small space to make it liye weight wearable device.

    Attached picture below. Added a scale to get an idea about it's size.

  • Working prototype

    Krishna Mohan07/14/2021 at 09:59 0 comments

    Today build the working prototype of Posture Correcting device on breadboard. Here I have used LED instead of vibrating motor, just to visualize it. Added video/Photographs here, just have a look.

    Video:

    Photographs: ON/Alarming State

    OFF/No Alarm State

    ---

  • Found a new type of microcontroller(same attiny85) for testing purpose

    Krishna Mohan07/06/2021 at 04:11 0 comments

    Hello I found a Digispark device which is attiny85 microcontroller but with usb, so I am planning to use it. Since it is easy to program & test with it. Just have a look...

    Its so small

  • Assembly in progress

    Krishna Mohan07/06/2021 at 04:06 0 comments

    As I have gathered all the required components, so now I am on assembling the components for testing purpose. 

  • Programming done

    Krishna Mohan07/06/2021 at 03:42 0 comments

    So I have done with the programming part for now.

    I am using Arduino IDE to program attiny85 microcontroller. This is great tool to stsrt with arduino, esp, attiny and lot many boards. Great number of library available and the great thing is community support.

View all 6 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates