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
I2C sensor not recognized
#1
Hi,

it's me again. So my project is making progress, i just got a load of sensors. Temp/pressure sensor is picked up fine, but my compass chip (GY-271) doesn't show up. 

It is recognized by the i2cdetect and the chip is not bricked (arduino port scanner finds it) but I don't know how to proceed. Any pointers? Or is it just not regocnized atm?
Reply
#2
you cannot get heading with just a compass sensor, you need a gyro and an accel (IMU).
IMUs are managed by openplotter-pypilot app and it will work only for the models supported by this library: https://github.com/openplotter/RTIMULib2
At this moment we recommend MPU-9250 and MPU-9255
Reply
#3
(2020-08-13, 05:39 PM)Sailoog Wrote: you cannot get heading with just a compass sensor, you need a gyro and an accel (IMU).
IMUs are managed by openplotter-pypilot app and it will work only for the models supported by this library: https://github.com/openplotter/RTIMULib2
At this moment we recommend MPU-9250 and MPU-9255

Ook, so I acquired an mpu 9250 sensor. It doesn't add itself automatically through I2C interface. What do I need to do too get it working? It is detected in Pypilot's automatic sensor sniffing, but there isn't any luck for me in I2C. 

I hate to be the one always asking simple questions, but bear with me. When I learn, I can help the others.
Reply
#4
this thread should probably be combined with https://forum.openmarine.net/showthread.php?tid=2876

@ sailoog : could you please publish an update on which sensors are supported - planned to be supported - thanks
Reply
#5
(2020-08-28, 07:53 AM)SkipperEarly Wrote: this thread should probably be combined with https://forum.openmarine.net/showthread.php?tid=2876

@ sailoog : could you please publish an update on which sensors are supported - planned to be supported - thanks

OK, I will ASAP
Reply
#6
Done: https://forum.openmarine.net/showthread.php?tid=3055
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)