SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By learingsensor , 24 February 2016

Hi All,

I am trying to interface MPU6500 with STM32F10(cortex m3) using SPI.

I have used motion driver 6.12 as basecode and ported to the required STM. Now I am successfully getting accelerometer and gyroscope data with default settings(like sampling rate of 20 Hz).

But when I try to print euler's angles all angles are zero.
So I would like to understand what are the minimum requirement for getting eulers angles. What could be the reason for the above behaviour. Kindly suggest me some methods to solve this.

Thanks in advance.

By jolyonlatham , 24 February 2016

Hi,

We are using the ICM-20608 in our application. We are trying to drive it from an STM32F2 and are connected to it via I2C. I have been able to establish I2C communications with the chip and can read the registers confirming manufacturer ID etc. I have been able to confirm that I can write registers by writing to PWR_MANAGEMENT_2 clearing bits to enable the accelerometers and/or gyros and reading back confirming the register has changed.

By gowrish , 15 February 2016

hello everyone,
i am trying to interface MPU-9250 with ARM Cortex.. Using MPU-9250 i want to detect whether person is sleeping, walking, running etc.. i came to know using AAR library i can do this.. but i didn't find any help/link/details related on how to use AAR library(except invensense documentation)with ARM cortex.. any example code? what are all the per-requisites ? how to dump the code to ARM cortex? etc...

By johnamcc , 11 February 2016

Are there any other API examples for Arduino programming of this shield.

In FireFly I can build the messaging ICM30630 to GameRotationVector to ROTM at GRV to Set Reference to Euler Angle GRV to Deg GRV
This gives me the pitch, roll and yaw angles I want. Setting Set Reference, snaps to the co-ord system I need.

How can I see the equivalent Arduino code?

By gabrielparente , 10 February 2016

Hi there,

I have an MPU6050 in a GY-521 board, connected to an Arduino. I just downloaded the motion_driver_6.12, but the documentation says it's designed for msp430 or STM32F4 intefacing.
I'd like to have access to the MPU advanced features and get usable (not just raw) data from the sensors. Is there a simple way to port the library/applications so I can use them through Arduino? Did anyone succeed in doing that?
I'm a hobbyist, new to programming and to electronics, and have never used the MPU6050 or any other MPU before.

thanks