MPU6050 Motion Positioning with 3D Math Library....
Posted: Mon Dec 07, 2015 5:01 am
The attached zip file is the modified "standard" MPU6050 Library, this requires the I2C_DEV library, this can be found on the github if needed.
https://github.com/DSSCircuits/I2C-Master-Library
The Library "Example" sketches have also been modified to use Pin 15 as Interrupt and start the wire library explicitly.
Install Processing (search Google) and run the "Teapot Demo" this will produce a 3D Wire Frame Plane controlled by the MPU/ESP.
The Plane will rotate for approx. 1 minute as the calibration is performed, after this the output will be 100% stable(at the least if your project is good)......
Map the data to TCP port rather than Serial for Remote feedback using UDP..........
https://github.com/DSSCircuits/I2C-Master-Library
The Library "Example" sketches have also been modified to use Pin 15 as Interrupt and start the wire library explicitly.
Install Processing (search Google) and run the "Teapot Demo" this will produce a 3D Wire Frame Plane controlled by the MPU/ESP.
The Plane will rotate for approx. 1 minute as the calibration is performed, after this the output will be 100% stable(at the least if your project is good)......
Map the data to TCP port rather than Serial for Remote feedback using UDP..........