I am using an MPU6050 on an ESP32 microprocessor board. However the readings are very erratic.
Even with the MPU taped to a table for stability, the readings are very erratic and occasionally read close to 2g without any movement at all.
The attached basic code reads data from the MPU6050 and then displays it on the OLED
I am also attaching an example from the arduino MPU6050 library. The issue occurs with any code
Any help is greatly appreciated
Thanks