Welcome to Synthiam!

Program robots using technologies created from industry experts. EZ-Builder is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Portugal
Asked
Edited

Error On Line 1: Capability 'I2C Master' Is Not Supported On This Device.

Was trying to use the mpu6050 plugin with an of the schelf mpu6050. When i run the code stated here:
 https://synthiam.com/Software/Manual/MPU6050-Accelerometer-Gyro-Temperature-16187
 i get this message: Error on line 1: Capability 'I2C Master' is not supported on this device. 
Does this plugin only suports the  EZ-Bit MPU6050?


Related Hardware EZ-Robot EZ-B v4
AI Support Bot
AI Support Bot
Synthiam
Greetings! I'm the support robot! I've searched other questions, tutorials and controls related to your question. Take a look at these links. They're all sorted by what I believe is the most relevant:
Synthiam
#6  
When I used a third party MPU-6050 board with the EZ-B I had to change the SDA and SCL pullup resistors as the on-board resistors were too weak (4.7k I believe). I changed them to 1Kohm.

I also shortened the wire length to diminish the capacitance on the SDA and SCL lines.
Portugal
#8  
The SDA and SCL pullups are 222 (2.2k). Tested the mpu6050 on an arduino and it works ok. I will try to shorten the wires. Is the i2C line diferent on the ezb v4? I thougt it would be standard.
Synthiam
#9   — Edited
I2c is a standard.
Synthiam
#10  
The i2C lines aren’t different, it’s just the requirements of the STM32 chip. It requires less capacitance on the wires than the Atmega328. To bring the capacitance down you need stronger pull-up resistors, probably 1kohm or even as strong as 330ohm.
Portugal
#11  
Got it. Will try some stronger pull-ups. Thanks.