Hello everyone, like th title says, i need help for a school project.
The project consists on a device you have in your head(via a hat or helmet) that can detect when you stand up from a stitting position.
My teacher suggested me to try the mpu6050 (gyro and accelerometer) to detect the movement of the person standing up, i tryed and it doesn't seem possible, the values i get seem too random. Tell me if im wrong.
Anyway, this sensor doesn't seem like a good solution for my problem. I'm thinking about taking another approach and looking for suggestions that's why I'm posting.
When you said the results were random, I assumed they were, well, completely aleatory, and that you'd done something wrong with your code.
However, you did seem to have correlated results - what were you expecting?
I have not used such a sensor but I am disturbed by the choice of its place - on the head !? Wouldn't it be better on the dupe (or at least close to it) for this purpose? Also, if I understand your program correctly, you only read the angular deviations from the gyroscope. It seems more logical for me to read the accelerations from the accelerometer (for just getting up and sitting).
I see your point, i didn't provide a very clear explanation, sorry about that.
The measurements vary a lot from person to person, and head movements can be detected as "standing up". I don't think the mpu6050's values are reliable to detect when a person stands up.
Maybe if i use it as a pedometer. But I would prefer a more immediate detection.
hello, you can use this mpu6050 sensor with a different angle. horizontally or vertically. you may get the result by the hit and trail method with this sensor. you can refer to our one of the article " Gesture control car". but I am using here ADX accelerometer sensor with the Arduino.
The MPU-6050 fairly reliably does what it is intended to do, which is to report rotation rates and accelerations.
Your problem is the choice of measurement technique, and how to discriminate "standing up" motions from other possible motions. With the MPU-6050, that seems to be a very difficult problem. A different approach might make this much easier.