In: Electrical Engineering
A simple accelereometer GUI to calculate velocıty and
displacement.
How can ı do thıs project ?
if you are trying to use gyroscope with accelerometer use MPU6050 module with the Arduino board.
combine the MPU 6050 module with the MEMS 3 axis gyroscope and a 3 axis accelerometer and a digital motion processor on the silicon die which you are going to use.
Now the MPU 6050 can track both fast and slow motions precisely. this MPU 6050 have the feature of user programmable gyro in the range of 250 to 1000.and 2000 degrees/second. also the user programmable accelerometer can give you upto 16g (plus or minus)
so as the main components are discussed, you need to use buses
to connect the parts of hardware.
also there will be interfaces like SPI or I2C for sensor and
hardware.
you'll need a 12v supply with 1A of current.
you need to have the soldering and programming skills. since for the sensors and hardware to work you need to write a code for arduino uno.
after writing the code, you need to compile the code for DMP memory banks.
after doing above things it will give you acceleration values. so inorder to calculate displacement you have to use double integral method. but there is a problem with this. using double integration will give you errors so the obatined result will not be accurate. so you have to use another filter to reject the errors being obatined as a result of using double integration.
but before this integration,the frequency which you use must be 2 times greater than the maximum frequency. if sampling is done perfectly, then the integration.will be close to accuracy you require.
this is too complex to write or just in here.
i have done this project before. like and do comment for getting my mail id if you need complete support on this project.
Thanks for asking.