Closed brightproject closed 1 year ago
Hi Vladislav, We do not use MPU9250. This InvenSensee 9DOF inertial unit is used in the examples provided with the UNav INS library, But it is obsolete and increasingly difficult to find. In addition, online sales sites are full of clones of dubious provenance that do not work. Therefore, we have adapted the software to use more modern and efficient STMicroelectronics sensors that are very easy to find on the market. Have you read this? The uNav-INS library is extensively discussed here.
herefore, we have adapted the software to use more modern and efficient STMicroelectronics sensors that are very easy to find on the market.
This is great news!
I read the topic, but there are a lot of technical details, so understanding everything is a long time.
I don't see a magnetometer in this photo, I only see an accelerometer + gyroscope board LSM6DSOX
.
It turns out that you connected two boards to the I2C
bus and use in the library code?
That's it, figured it out - you are using a ready-made IMU ADAFRUIT ADA-4517, this board contains an axel + gyroscope and a separate magnetometer chim.
And it's all on the bus, with two addresses.
// SDA ---------------------> SDA1 (pin 17) résistance pull sur la carte Adafruit
// SCL ---------------------> SCL1 (pin 16) résistance pull sur la carte Adafruit
But even when two chips are on the same board and on the same I2C
bus, you still work with them through two different libraries ... which is a little inconvenient.
But still better than using the outdated and EOL
chip mpu9250
.
Adafruit_LSM6DSOX lsm6ds;
Adafruit_LIS3MDL lis3mdl;
Hello @bfrmd I am studying your code, I planned to repeat on the microcontroller
stm32f401ccu6
, on which I create my aircraft instrument. But I ran into a problem in the operation of theMPU9250
module and the library. The same module works great with the SparkFun library. So I don't understand what's wrong... Perhaps you are planning to change the IMU module in your aircraft devices, fromMPU9250
to something new and produced? Maybe sensorGY-LSM6DS3
? Tell me, can't you calculate aquaternion
without data from a magnetometer? Therefore, do we needaccelerometer
,gyroscope
andmagnetometer
sensors?