cancel
Showing results for 
Search instead for 
Did you mean: 

How to map Accelerometer+Gyroscope Readings to Mouse in 2D X,Y Co-ordinates?

Vishal Aditya
Associate
Posted on June 25, 2018 at 08:54

I am developing Mouse Tracker using Accelerometer X,Y,Z data + Gyroscope X,Y,Z data but I am stuck in my logic/algo in conversion of 6 AXIS above data to 2D- plane. that is as follows:

  • Use Ax,Ay,Az values to find velocity then distance it moved from REST position of sensor
  • Use Gx,Gy,Gz values to find the direction of movement
  • Map the readings to (0,0) to (Xmax,Ymax) of screen resolution

Please suggest me any logic or any library available here and how effective it will be after running sensor for a while like re-calibrate system in how much time?

#lis3dh #mpu6050 #lis2dh #mouse #tracking
0 REPLIES 0