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 (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Related Robot Skill (view all robot skills)
Reads MPU6050 gyro, accelerometer and temperature via I2C, initializes and returns data on-demand to EZ-Script variables using ControlCommand RunOnce

ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

Author Avatar
PRO
Synthiam
#1  

You have to connect to an ezb supporting I2c before running the script. At the time of this response, the two i2c supported ezb are from ezrobot and they’re EZ-B v4 and iotiny. The arduino ezb does not support i2c at the time of this response.

Author Avatar
Portugal
#2   — Edited

Dj i am using an ezb-v4.

User-inserted image

Author Avatar
PRO
Belgium
#3  

User-inserted image

i think dj means devices from ez robot.am not sure.

Author Avatar
Portugal
#4  

Now i can connect but synthiam freezes...

Author Avatar
PRO
Synthiam
#5  

ARC freezes? Does the red LED stay lit on the ezb? If so, your i2c device is not communicating and it’s locking the ezb v4

Author Avatar
PRO
Canada
#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.

Author Avatar
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.