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
How to connect MPU9250
#11
Hi Yiannis,

did you try my tip setting AD0 to ground to set its Adress to 0x69 ?

For your Amazon Links, better look for an supported IMU from this List at https://github.com/seandepagnier/RTIMULib2/.
But you chip should work with this list and this list is used also in openplotter plugin.

Holger
Reply
#12
(2023-03-27, 09:52 PM)holgerw Wrote: Hi Yiannis,

did you try my tip setting AD0 to ground to set its Adress to 0x69 ?

For your Amazon Links, better look for an supported IMU from this List at https://github.com/seandepagnier/RTIMULib2/.
But you chip should work with this list and this list is used also in openplotter plugin.

Holger

Hi Holger,

Yes, I tried it with 2 of them, but no luck!

Regards,
Yiannis
--
Sailor and techie or techie and sailor?
Whichever way I am in the right place
Reply
#13
(2023-03-27, 09:52 PM)holgerw Wrote: Hi Yiannis,

did you try my tip setting AD0 to ground to set its Adress to 0x69 ?

For your Amazon Links, better look for an supported IMU from this List at https://github.com/seandepagnier/RTIMULib2/.
But you chip should work with this list and this list is used also in openplotter plugin.

Holger

Hi Holger,

I found a video [https://www.youtube.com/watch?v=mzwovYcozvI] for the specific MPU9250 board and it turns out that the AD0 needs to be connected to 5V rather than ground and then it will go to address 0x69.

So I did that, the address changed to 0x69 but PyPilot still cannot see it.

I will try to have a go with an Arduino (follow the instructions on the video) to see if it actually works and take it from there.

Regards,
Yiannis
--
Sailor and techie or techie and sailor?
Whichever way I am in the right place
Reply
#14
Hello Yannis,

sorry about no changes with the other address,
so yes it will be better doing the functionalty test with an arduino or esp,
where you have the libraries under your control.

holger
Reply
#15
(2023-03-29, 01:41 PM)holgerw Wrote: Hello Yannis,

sorry about no changes with the other address,
so yes it will be better doing the functionalty test with an arduino or esp,
where you have the libraries under your control.

holger

Don't you think it's strange, though, that I get the 'openplotter-gpio-read not running' and 'penplotter-i2c-read not running' messages?
--
Sailor and techie or techie and sailor?
Whichever way I am in the right place
Reply
#16
UPDATE - UPDATE - UPDATE

So, I had ordered a ICM20948 module from Pimorini [https://shop.pimoroni.com/products/icm20948] and arrived today. Reputable source and slightly more expensive than others. It worked straight away, I can see it in Signal K and all that jazz!

The address 0x68 works just fine. Also, the Check System app still says 'openplotter-gpio-read not running' and 'openplotter-i2c-read not running'. So for anybody looking to resolve an IMU issue, don't worry about them. Oh, and buy from a reputable source; it will save you time and aggravation!

Now our boat will have a compass! We will know where the F we are going!  Cool
--
Sailor and techie or techie and sailor?
Whichever way I am in the right place
Reply
#17
(2023-04-05, 12:09 AM)yiannis Wrote: UPDATE - UPDATE - UPDATE

So, I had ordered a ICM20948 module from Pimorini [https://shop.pimoroni.com/products/icm20948] and arrived today. Reputable source and slightly more expensive than others. It worked straight away, I can see it in Signal K and all that jazz!

The address 0x68 works just fine. Also, the Check System app still says 'openplotter-gpio-read not running' and 'openplotter-i2c-read not running'. So for anybody looking to resolve an IMU issue, don't worry about them. Oh, and buy from a reputable source; it will save you time and aggravation!

Now our boat will have a compass! We will know where the F we are going!  Cool

I want to add an IMU to my v1.0 Hat.  I received it a while ago, but have not had time to setup & test it until now.  Sorry.

What IMU was pictured in the manual (or was it just to show an example)? Is that one available?

I don't mind buying the Pimoroni ICM-209048, but I want to make sure that I can connect it properly.
Will the ICM-20948 work with my v1.0 Hat?

The picture in the manual shows an IMU attaching to the Hat on the 10 pin connector (labelled IMU), where the 1st 4 pins are marked 3V3, GND, SCL, SDA.
The Pimoroni IMU has connections marked as GND, INT, SCL, SDA, 2-5V.  So the pins do not match.
I see JST-SH Cables as extras, but no pictures. Sigh. More cables. I guess the ICM-20948 needs a cable to attach to the I2C connector on the Hat.  Which one? M-M or M-DuPont?

Manual mentions an IMU 9DOF which seems like the nicer solution, but on further reading, the location of the 9DOF seems important.
My plan was to mount the RPi & Hat in a small box attached to the VESA mount of my 10" touchscreen. The touchscreen would be on an arm that would pivot from inside the cabin to the companionway for reference when underway...
Reply
#18
What does  pypilot show?
Openplotter i2c is not needed here to work only i2cdetect  should discover your  mpu device guess?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)