MPU-9250 not detected - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18) +--- Thread: MPU-9250 not detected (/showthread.php?tid=2521) |
RE: MPU-9250 not detected - Sailoog - 2022-02-09 We are working hard on OpenPlotter v3 but it will take some time because this time we have 32bit and 64bit and this time we are writing docs at the same time (no docs, no apps). There were also some important improvements waiting for a major revision like this one and we can say that OP v3 will be the most robust and stable of all of them. There is a lot of work but we are progressing well, a new app is published every week: https://forum.openmarine.net/showthread.php?tid=3878 pypilot and IMU management are obviously in the list but you can already play with OP v3 betas and installing pypilot manually. RE: MPU-9250 not detected - malouiner - 2022-05-29 Hi, Digging up this thread a bit. I'm having similar issue to many users in this thread which is strange. My configuration is the following : Raspberry Pi 3 with the following image : https://pypilot.org/download.php?Down=images/tinypilot_2021_11_16.img.xz When I run pypilot_boatimu I have the following output : Code: imu process 4290 I know connection is well made because I find the MPU on the i2c bus with : Code: tc@pypilot:~/i2c-tools$ sudo i2cdetect -y 1 And I also tried with the address 0x68. This is really strange that we are many with the same problem. Do you guys have any news on this ? Thanks RE: MPU-9250 not detected - TVR - 2022-09-01 I had a similar problem with my MPU-9250. I've now discovered that WHOAMI returns 0x70, indicating that it's actually an MPU-6500 (without the compass sensor). https://www.cdiweb.com/datasheets/invensense/tdk-invensense-mpu9250-and-mpu6500.pdf It seems like this is a common issue, so maybe this is why so many of us are having problems? https://github.com/kriswiner/ESP32/issues/24 https://github.com/bolderflight/MPU9250/issues/51 So now I'm stuck with an MPU-6500, is there any way for pypilot or OpenPlotter to recognise the chip and process the accelerometer and gyro readings? RE: MPU-9250 not detected - seandepagnier - 2022-09-01 pypilot current requires compass sensors even in wind and gps mode because without it, the calculaton would be very noisy. There is some work for pilots that do not use compass sensors, but not really proven/implemented. RE: MPU-9250 not detected - DroZDi - 2022-11-07 Hi I wish to solve the similar issue as recently I bough couple of units (MPU9250/6500, MPU-9250/6500/9255 and GY-91) and I still have the same issue that pypilot os not discovering IMU I based on some tutorials as https://makersportal.com/blog/2019/11/11/raspberry-pi-python-accelerometer-gyroscope-magnetometer https://jeremyclark.ca/wp/nav/openplotter-sensors_b/ and nothing. Magnetometr is not discovered (Ox0C), changing address to 0x69 solves nothing. My env is Raspberry 4 with openplotter v3. Kindly Robert RE: MPU-9250 not detected - seandepagnier - 2022-11-08 you may simply have faulty sensors Does it say magnetometer not found? What does it show running pypilot directly from console (service disabled) RE: MPU-9250 not detected - DroZDi - 2022-11-08 always the same: i2cdetect founds 0x68 device (magnetometr not found) and under pypilot "auto discover" and IMU not found (console). you are right it seems to be faulty sensor or maybe something in my raspberry config is not ok? as MPU9250 is end of life just wondering if all those chinese units are in general faulty and I should look for something newer? L3GD20 LSM303D / L3G4200D / ICM 20948 RE: MPU-9250 not detected - seandepagnier - 2022-11-09 at least 50% of them are faulty in one way or another. Look for icm20948 pimoroni is a reputable source, and I can supply them on my own site too: https://pypilot.org/opencart RE: MPU-9250 not detected - DroZDi - 2022-11-14 today I have connected SEN-15335 (ICM-20948) and still the same: pi@PI4:~/work $ i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- PyPilot - Detected IMU - Auto Discover one option I can see is to change address to 0x68 according to https://learn.sparkfun.com/tutorials/sparkfun-9dof-imu-icm-20948-breakout-hookup-guide/all (jumper ADR needs to be soldered) RE: MPU-9250 not detected - DroZDi - 2022-11-14 not helped but after installation of https://gitlab.com/pimoroni/icm20948-python I see data from the board: pi@PI4:~/work/icm20948-python/examples $ python read-all.py read-all.py Reads all ranges of movement: accelerometer, gyroscope and compass heading. Press Ctrl+C to exit! Accel: 01.00 -0.01 -0.06 Gyro: -1.00 00.00 00.00 Mag: -36.30 19.05 56.40 Accel: 01.00 -0.01 -0.05 Gyro: -1.00 00.00 -1.00 Mag: -37.95 17.70 56.25 Accel: 01.00 -0.01 -0.05 Gyro: -1.00 00.00 00.00 Mag: -34.95 17.70 57.00 Accel: 01.00 -0.01 -0.05 Gyro: -1.00 00.00 00.00 Mag: -36.45 16.95 57.30 Accel: 01.00 -0.01 -0.05 Gyro: -1.00 00.00 00.00 Mag: -36.60 18.30 57.15 Accel: 00.92 00.09 00.45 Gyro: -21.00 237.00 12.00 Mag: -37.50 17.70 75.60 Accel: 00.05 -0.25 00.79 Gyro: -140.00 00.00 -33.00 Mag: -30.45 03.00 102.60 Accel: 00.85 -0.98 00.25 Gyro: -20.00 -101.00 -19.00 Mag: -44.40 -9.00 80.25 Accel: 01.09 -0.26 00.31 Gyro: 146.00 -30.00 -100.00 Mag: -44.10 11.40 63.75 Accel: 00.29 00.20 00.60 Gyro: -146.00 61.00 22.00 Mag: -44.40 07.80 82.05 Accel: 00.70 -0.16 00.48 Gyro: 250.00 250.00 -101.00 Mag: -42.15 05.55 80.55 Accel: 00.54 00.04 00.70 Gyro: -66.00 -104.00 45.00 Mag: -37.95 15.00 86.25 Accel: 00.68 -0.18 00.78 Gyro: -3.00 32.00 -19.00 Mag: -39.30 10.50 84.60 Issue with the library under pypilot? |