OpenMarine
IMU sensor - 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: IMU sensor (/showthread.php?tid=4385)



IMU sensor - dariosplit - 2022-12-23

Hello everyone,
I'm trying to make my first openploter pypilot project and I have RPi 4, MPU 92/65 which is actually MPU6500 and compass GY-271. My system detects it as:

Using settings file RTIMULib.ini
Settings file not found. Using defaults and creating settings file
Detected HMC5883L at standard address
Using fusion algorithm Kalman STATE4
IMU Name: L3G4200D + HMC5883L
min/max compass calibration not in

Detected HMC5883L at standard address
IMU Name: L3G4200D + HMC5883L
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
nmea server on port 20220: bind failed.
imu process failed to keep time 0.10734327800000187 54.926412966 55.033620466 55 .033697003 55.033754114
I2C read error from 105, 39 - Failed to read L3G4200D status
failed to read IMU! 55.033873244
servo probe ('/dev/ttyAMA0', 38400) 55.159951114
failed to open servo on: ('/dev/ttyAMA0',

Is there any hope that this will work or do I have to order another sensor.
Any help is welcome


RE: IMU sensor - seandepagnier - 2022-12-23

what do you see from i2c-detect?

It seems pypilot services are already running (bind failed) etc could you stop them first with:
sudo service pypilot stop

I am not sure if it is detecting the device wrong?


RE: IMU sensor - dariosplit - 2022-12-23

(2022-12-23, 02:29 PM)seandepagnier Wrote: what do you see from i2c-detect?

It seems pypilot services are already running (bind failed) etc    could you stop them first with:
sudo service pypilot stop

I am not sure if it is detecting the device wrong?
It was the tinypilot13-20211126.img.xz installation. Here I started openploter and I have
pi@openplotter:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1e --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Tried the sensors on arduino uno and they work.
Can arduino uno serve as a motor controller.


RE: IMU sensor - dariosplit - 2022-12-24

Hello, ordered from pypilot shop and gave up trying to use GY-271 with fake MPU9250. Happy Holidays.