This asset has the code necessary to successfully make and MPU6050 communicate with Unity via an Arduino.
Just import the requested libraries.
Upload the code provided into the Arduino
Change the unitty project's API Compatibilty Level to .NET 2.0 and you can now use this asset!
Just wait for the sensor to be ready then press W to calibrate, and you will see the airplane moving with the sensor.
Important Notes:
1.This has only been tested on an Arduino Uno so it might work or not on other arduinos.
2.This sensor is not very precise so you will see drift overtime.
Any questions you have, just send an email to ramiro.animus@gmail.com.