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
is there a communication documentation for the Macarthur hat?
#1
Hello, 
I am in the ( albeit slow ) process of writing a relatively lean and quick data multiplexer and nmea-broadcaster as an option to SignalK. 
I would need to know how the hat communicates with the system. Is there any documentation available for that? 
Thank you!
Reply
#2
I assume you are talking about NMEA 0183. The MacArthur HAT is communicating with the system using common serial connections through UART interfaces. We do nothing special here.

Take a look at kplex: https://www.stripydog.com/kplex/
Reply
#3
Thank you.
I was wondering about the I2C as well.
I assume this is standard as well?

Sure, I know kplex. But I am not very happy with that either Smile
Reply
#4
We do not use I2C for NMEA 0183/2000 or seatalk1 communication. I2C is used only for sensors and every sensors has its python script usually from adafruit libraries. pypilot is also using I2C to communicate with IMUs using its own scripts.
Reply
#5
Ah. I see. I was wondering as I had to configure Pypilot to get the ICM-20948 running.
So in that case the python scripts expose the functionality of the sensors to the system, as if the IMU would have been connected to the pi directly, correct?
Reply
#6
I am not sure I understand your question. pypilot processes IMU data and sends data to SK server by websocket. You can also get NMEA 0183 data from pypilot by TCP.
Reply
#7
Ah. Let me rephrase:
Apart from the power management feature the MacArthur hat comes with various serial ports and an I2C connector.
I assume that there is no special sauce required to make these work.
It is basically just a collection of regular open hardware on a single board, right?
Reply
#8
I guess the answer is yes. No firmware or micro present in the MacArthur HAT, just the necessary components to make the raspberry electrically compatible with our boats.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)