Voice Activity Detection icon Voice Activity Detection Real-time VAD using 300-3400 Hz FFT to trigger scripts on speech start/stop, with sensitivity tuning, live audio level graph, and TTS pause. 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

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

#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.