Learn how to use the i2cdevlib to find the orientation of your device with the MPU6050. This is a great library that uses sensor fusion from the accelerometer and gyro with some filtering techniques to give you accurate angle values in static and dynamic applications, perfect for drones and robotics. Best of all, you can get started in a matter of minutes following this tutorial. TIMESTAMPS 00:00 Intro 00:10 Background 02:00 Physical Setup 03:13 VSCode Project Setup 05:44 Library Setup 07:10 Example Code Walkthrough Link to Blog Post: https://shillehtek.com/blogs/news/measure-angles-easily-with-mpu6050-and-esp32-part-1-library-walkthrough ESP32 Where to Buy https://www.amazon.com/HiLetgo-ESP-WROOM-32-Development-Microcontroller-Integrated/dp/B0718T232Z/ref=sr_1_6?crid=6010146X2AE3&keywords=esp32&qid=1694385365&sprefix=esp32%2Caps%2C201&sr=8-6 MPU6050 Where to Buy https://www.amazon.com/dp/B0BMY15TC4?maas=maas_adg_8E5B1E513D53240E7CE5610F0638D81F_afap_abs&ref_=aa_maas&tag=maas PlatformIO Website https://docs.platformio.org/en/latest/integration/ide/vscode.html#quick-start Repo i2cdevlib https://github.com/jrowberg/i2cdevlib/tree/master