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
pypilot on separate rpi
Hi guys,
My gear: raspi4 4G, raspi 3b.
On the raspi4 I run OC and OP,
on the rpi 3b I run pypilot.
I have an MPU 9255 connected to the pypilot device, which is connected to the OP device with the standard tools ( on the pypilot).
According to the documentation I need to (a.o) install "moitessier hat-driver" in order to use the MPU 9255.
My question: do I need to install it on OP or the separate Pypilot RPI?
If I install it on the OP, it says: HAT not connected, so probably on the pypilot, but
if I check my options there ("apt-cache search moitessier") I see a moitessier and a openplotter-moitessier, which one to choose?

I hope someone is struggling with this as well and can educate me.

(Sorry for any spelling mistakes, I am Dutch),
Hugo Bokman.
 BTW: I live in La Alfoquia (Andalucia España) and my AIS under CPN shows a Cartagena ground station, which is about 40 km from here, with a home-made antenne ;-)
You do not need to install Moitessier hat driver to use an MPU9255 to my knowledge, you only need to install the Moitessier hat driver if you are using a Moitessier hat.

By pypilot do you mean TinyPilot? If so the MPU9255 needs to be connected to the rpi running TinyPilot. It should see the MPU9255 automatically.
Hi rastam4n,
By pypilot I mean a raspi 3B running PYPILOT.
I see the MPU925x on address 68 there, but my remote OP on a raspi 4 does not see it.
Apparently I miss a connection, but the rest seems to work OK. I can connect to pypilot on OC, and can choose between Compass and GPS. Calibration does not seem to work, but that is probably related to the same problem.
Thank you for taking the time to pass suggestions.
Hugo Bokman
Do you mean you are writing the tiny pilot image to the RPI3b or that you are installing pypilot via openplotter settigs app on the RPI3b?
(2021-01-09, 01:56 AM)rastam4n Wrote: Do you mean you are writing the tiny pilot image to the RPI3b or that you are installing pypilot via openplotter settigs app on the RPI3b?

Neither of those ...
I have my rpi 3b+ installed with raspberry OS and I clone the pypilot code from github to build a pypilot from the code. It is then possible to replace code in the tree with (only for example the H2bridge-code from Timo). I have a MPU925x installed on the pypilot, and expected that with pigpiod I could share the MPU signals with the other RPI, running OP and OC.
The MPU is detected on address 68 (i2cdetect) on the pypilot, but I cannot find how to connect from Openplotter.
I have loads of time for this because I currently do not even have a boat. So it is strictly lab-work.
Is there a reason you are doing it this way instead of just running tinypilot (pypilot) on the 3b?

Tinypilot is designed to do exactly what you are describing.

It automatically connects via signalk all you need to do is allow the connection as read/write and it will create the signalk entries for you.

Forum Jump:

Users browsing this thread: 1 Guest(s)