This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IMU sensor
#1
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
Reply
#2
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?
Reply
#3
(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.
Reply
#4
Hello, ordered from pypilot shop and gave up trying to use GY-271 with fake MPU9250. Happy Holidays.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)