Hello everyone, I am a student from Singapore. I am looking for some help for my project. My project title is design an anti-turbulent seat using Arduino, so I had made a self-stabilizing platform using two servo motors and accelerometer MPU6050 ( you can see it in my attachment file). Then my supervisor want me to use linear actuator to replace servo motor so the product can handle more weight when a heavier object place on top of it. (I have draw the pictures to help you understand the idea)
My question is I do not know if this idea can work or not because I cannot find anything from the Internet about using Arduino to control linear actuator with accelerometer.
If anyone have some ideas of how to make the gyroscope accelerometer to control linear actuator to achieve the self-stabilizing platform prototype, please give me some tips of how to do it or what kind of component is suitable to purchase. My budget still have 500 Singapore dollars.
A linear actuator could replace the servo, but it will be quite a bit more difficult to control the actuator than the servo.
You will need a linear actuator with position feedback, a motor driver and a PID loop in your program to set the desired actuator output length and the platform angle.
That is a challenge that should be addressed separately from your self-stabilizing platform.
In other words, buy a suitable actuator, modify the platform hardware, and learn how to control the platform angle before modifying anything in the original program.
I have a actuator (controller option R) and a accelerometer MPU6050 connected to my Arduino. Anyone can help me with how should I write my PID code so that when the platform the accelerometer is tilted, the actuator would extend or retract to bring it to its original orientation?