I'm pretty new to using arduino, and I am having issues with my MPU 6050. The sensor will randomly stop reading values and I need to reset the Arduino Uno in order to have it start reading values again. I believe the issue may be because of fifo overflow but I am unsure where to start testing if this is the issue.
I understand that the default I2C rate is 100kHz, the Arduino Uno runs at 16 MHz, I have a serial baudrate of 115200, and I have a delay of 25 ms written at the end of my code. I am also sending data over bluetooth using the serial monitor (115200 baudrate) but I don't think that is part of the issue since the problem happens whether it's connected or not. I need to use the gyroscope and accelerometer data, I read somewhere that these are collected at different frequencies with I2C?
I don't understand how these all interact with each other and if I have reason to suspect fifo overflow. If someone could explain or send a link to an explanation that would be great.