MPU-9250

Good day Mademoiselle/Monsieur!

I want to have further knowledge about MPU-9250. I am just new in programming tis kind of sensor. I already read the specs, and still I still don't understand the functions and some features of it. I hope someone, or anybody will help me here regarding this topic.

Thanks,
Jass

Have you tried searching this forum for 9250 ?

UKHeliBob:
Have you tried searching this forum for 9250 ?

Yes I did,but I didn't get the info that I want to know. Some informations and data are not clear.

There seems to be plenty of information available such as Lulu's blog | Le blog de Lulu

What are you stuck on ?

UKHeliBob:
There seems to be plenty of information available such as http://www.lucidarme.me/?p=5057

What are you stuck on ?

Thanks for giving me that link, it's working. When I run it I got negative values, what do you think that reading indicates? And if I were going to use not only one MPU 9250, how are we going to connect them? Also, I want to know on how to determine their addresses. Thanks. :slight_smile:

Negative values may be the correct values.

The data sheet for the sensor discusses device address possibilities.

¿Esta resuelta la duda?

I am having issues calibrating the code for the MPU-9250 sensor. I am using arduino Uno. The sensor works, but it is giving random values. I tried following this link:
(I am using the code from the link 'the script' to calibrate the acc/gyro first seperately.)

But I am not savvy enough in tech at all to understand why it is giving this error:

THE_Calib_Code_Acc_Gyro:118:18: error: lvalue required as left operand of assignment

int TWBR = 24; // 400kHz I2C clock (200kHz if CPU is 8MHz)

^

exit status 1
lvalue required as left operand of assignment

The sensor works, but it is giving random values

That does not qualify as working.

Here, you are attempting to redefine a built in constant, namely the name of a particular register in the microcontroller. Leave out the "int".

int TWBR = 24; // 400kHz I2C clock (200kHz if CPU is 8MHz)

https://os.mbed.com/users/onehorse/

Another good source of info.