Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MPU6050 Error: -11
01-12-2020, 04:10 AM
Post: #1
MPU6050 Error: -11
Hello,

Thank you for building the BROBOT. I really love the kit.

An issue I am having is that the console log frequently outputs MPU6050: Error -11 (see pictured attached).

This is causing the robot to skip while balancing. It is unable to smoothly balance for more than a few seconds.

I've been pulling my hair out trying to solve it. I gradually removed every part of the system until I got just the micro and MPU6050 on a breadboard and the problem is STILL happening.

What I've tried:
- Switched to a different MPU6050. Problem still happens.
- Tried 2.2k, 4.7k, and no pull-up resistors on the SCL and SDA. Same problem on all of them. I think the 4.7k fried one of my MPU6050s! I'm pulling it up to 5V.
- Added tons of capacitors
- Powered from USB and from battery

None of these seem to make a difference. Does anyone know what the issue might be? I've been stuck for weeks and would really appreciate any help.

   
Find all posts by this user
Quote this message in a reply
01-13-2020, 10:39 AM
Post: #2
RE: MPU6050 Error: -11
Hi
Are you using the DEVIA control board or the Brain shield + Arduino Leonardo + MPU6050?
If the second: the i2c bus is extremely sensitive to EM noise. Check the i2c cable is short and shielded. Could you upload a photo of your setup?
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2020, 08:23 PM
Post: #3
RE: MPU6050 Error: -11
(01-13-2020 10:39 AM)JJrobots JP Wrote:  Hi
Are you using the DEVIA control board or the Brain shield + Arduino Leonardo + MPU6050?
If the second: the i2c bus is extremely sensitive to EM noise. Check the i2c cable is short and shielded. Could you upload a photo of your setup?

Hello,

I am using the Brain shield + Leonardo. How do I shield the cable?
Find all posts by this user
Quote this message in a reply
Today, 04:18 PM
Post: #4
RE: MPU6050 Error: -11
(01-14-2020 08:23 PM)shukmeister Wrote:  
(01-13-2020 10:39 AM)JJrobots JP Wrote:  Hi
Are you using the DEVIA control board or the Brain shield + Arduino Leonardo + MPU6050?
If the second: the i2c bus is extremely sensitive to EM noise. Check the i2c cable is short and shielded. Could you upload a photo of your setup?

Hello,

I am using the Brain shield + Leonardo. How do I shield the cable?

Twist it from connector to conector. And make as short as possible. A magnet ring will help too
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)