Dual Hbridge icon Dual Hbridge Two-channel Dual H-Bridge movement panel to control two DC motors (on/off) for forward, reverse, left, right via EZ-B digital ports; no PWM speed. Try it →
Asked — Edited

Mpu9150 And Ezsdk In C#

I am trying to use the 4 in 1 sensor from the ezb and get the information in C# through the use of the SDK.

I had hopes that there would be a sample project for this sensor but I couldn't find one. I know you have to first initialize the sensor. Does anyone know the command to initialize the sensor? I assume once it initialized, I will be able to get the bytes that are returned.

Any help would be beneficial.

Thanks! David


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#1  

I do believe you just have to use the I2C commands : Link.

As for initializing, you want to use the values read at level as offsets to mark what is true zero.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Download the latest EZ-SDK. There is an MPU module class included in the EZ_B namespace.