Human Posture monitoring using Flex Sensor & Arduino “Arduino biomedical project”
Table of Contents
Human Posture Monitoring Project Description:
Human posture monitoring using Flex Sensor and Arduino– In this tutorial, you will learn how to make Human Posture Monitoring System using a Flex Sensor or Bend sensor, Arduino Board, and a 5v Buzzer. In this tutorial, you will basically learn how to use these simple electronic components and build an amazing low-cost biomedical project which can be used for monitoring the Human Posture.
Before you read this article, I highly recommend first watch my previous video, which is a getting started tutorial and explains all the basics, the video or you can read my article, how to use the Flex Sensor or Bend Sensor.
As this is my first tutorial on Human Posture Monitoring so I am gonna call this version 1. While in version 2 of Human Posture monitoring, I will make use of wireless communication to send the Human Posture data to the computer application where it can be displayed on a chart for post-analysis.
Amazon Links:
Arduino Nano USB-C Type (Recommended)
*Disclosure: These are affiliate links. As an Amazon Associate I earn from qualifying purchases.
Let’s start with a question
What is the posture?
Posture is not a position, but a dynamic pattern of reflexes, habits, and adaptive responses to anything that resists you being more or less upright and functional.
Forward head and flat back is a poor posture,
Forward head, sway back and rounded shoulders is of course a poor posture.
Poor posture soon results in Sciatica problem.
Sciatica is a term that describes symptoms of pain, numbness, and weakness that radiate along the sciatic nerve from the lower back to the buttocks and leg. Most commonly, sciatica is caused by a disc problem, such as a herniated disc that is pressing against a nerve root.
Human Posture Monitoring Circuit Diagram:
The flex sensor connection with Arduino is exactly the same as explained in my previous tutorial. As you can see a 10k resistor is connected in series with the flex sensor which makes a voltage divider circuit. A flex sensor is just like a variable resistor “Study about the different types of resistors“, its resistance changes as we bend the sensor, this Flex Sensor is also called a flexible resistor.
A 5v from Arduino is connected with the flex sensor and the ground is connected with the 10k resistor. This flex sensor and 10k resistor make a voltage divider…a wire from the middle is connected with the Analog pin A0 of the Arduino. the buzzer’s S Pin is connected with pin number 5 of the Arduino which is the PWM pin and the minus pin is connected with the ground.
Human Posture Monitoring Arduino Programming:
1 2 3 4 |
int flexs = A0; // flex sensor is connected with pin A0 of the arduino int flexdata = 0; int buzzer = 5; // a buzzer is connected with pin 5 of arduino which is the pwm pin. |
as you know my friends, every Arduino, and the mega program has at least two functions, which are the void setup and void loop functions. Void means that this function is not returning any value and the empty parenthesis means that this function is not taking any arguments as the input.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
void setup() { Serial.begin(9600); pinMode(flexs, INPUT); pinMode(buzzer, OUTPUT); } void loop() { flexdata = analogRead(flexs); Serial.print("flex value;"); Serial.print(flexdata); Serial.println(""); if( flexdata < 220) { analogWrite(buzzer, 150); } if( flexdata > 220) { analogWrite(buzzer, 0); } delay(1000); } |
Hey, a very nice job. And please when is the version 2 of this project going to be ready, I have a project similar to that I will really appreciate your help. Thank you
Hi! This was very useful! Can you please upload the second version also please?