Hi. I'm new to the community and I recently started using the Arduino with a MPU 6050 mounted on it.
The project also includes motors and driver. The I2C connection was problematic from the begining, it sometimes connected and sometimes did so after a few resets.
The main problem is that our code seem to be fine, but after a few minutes, or right from the begining it freezes and keeps the last power value the motors had. I did a little research and found out that there are many variables to the problem.
FIRST! the library. I use Wire.h , SoftwareSerial.h SabertoothSimplified.h, I2Cdev.h MPU6050.h
SECOND! the MPU itself. Something like not having the aquired voltage to run. (which i think its not the problem since it both craches with or without the motors and driver...)
THIRD! could it possibly be something on the code? I use the MOST simple things, no staks, nothing that can freak it out that easily.
Many other posts are having the same problem as me and sadly none of those are simmilar to my situation.
Please help. I'm in deeeeep trouble...
Thanks in advance..