Moitessier HAT 2

Important

The Moitessier HAT developers dropped support for the drivers leaving hundreds of users with unusable devices on Raspberry OS bullseye. Despite the promise of transferring manufacturing to interested companies or opening up the sources of hardware and software, this has never happened. At OpenMarine we consider this unacceptable and we promise to never again support closed and proprietary products.

In this document, we offer a way to hack the Moitessier HAT 1 and 2 models without damaging the hardware or software to get rid of the drivers and give it a second life using most of its features in OpenPlotter v3.x.x.

../_images/docs1.png

Features

  • High-sensitivity (better than -112 dBm) dual channel AIS receiver with SMA antenna connector.

  • High-performance GNSS receiver with integrated patch antenna and external antenna support via BNC connector.

  • Compass, heel and trim from gyroscope, accelerometer and magnetometer sensors (IMU).

  • Barometric pressure.

  • Standalone usage or in combination with Raspberry Pi. Sensors are directly accessible via Raspberry Pi.

  • Fully compatible with Raspberry Pi models supporting 40-pin IO header.

  • Data communication via SPI (AIS, GNSS and meta data) and via I2C (sensor data). Data accessible via device driver and device file .

  • Supports ID EEPROM and automatic device tree loading .

  • 3 status LEDs (AIS status, GNSS status, error).

  • Shutdown button .

  • Firmware upgradeable via Raspberry Pi .

  • Full OpenPlotter compatible. Plug and play.

Shutdown button

You may now safely shutdown your OpenPlotter / Raspbian OS via the Moitessier HAT 2 shutdown switch. This will prevent your SD card image from crashing when turning off your Pi with power-off only .

The shutdown button needs the abandoned driver and it will not work when used in “hacked” mode.

../_images/shutdown.png

Mounting the HAT

../_images/mounting1.jpg

Removing the HAT

../_images/mounting2.jpg

Danger

You can damage your Raspberry or your HAT if you do not remove it carefully, please watch this video before removing:

Mounting the HAT into the case

../_images/Case-2-Quick-Installation-Web-P1.png ../_images/Case-2-Quick-Installation-Web-P2.png ../_images/Case-2-Quick-Installation-Web-P3.png ../_images/Case-2-Quick-Installation-Web-P4.png

Pinout

The HAT is controlled by the Raspberry Pi using several GPIOs. Green marked signals are not shareable with other hardware. Pins marked blue are not used by the HAT itself, but are accessible for extension purpose on optional headers on the HAT. I2C and SPI bus can be shared with other hardware. Keep in mind that this is not applicable for the chip select used with the SPI bus, which is exclusively used by the HAT.

../_images/pinout.png

Antennas

Tip

For the best receiving performance, ensure that the cable lengths of the antennas are as short as possible.

Caution

It is recommended to use pigtail adapters to reduce mechanical force on the antenna connectors.

../_images/antennas1.png

AIS Antenna

The Moitessier HAT supports all popular VHF/AIS antennas. Please note the following features when selecting an antenna:

  • 50 Ohm impedance

  • SMA male connector for direct connection, or any other connector using a proper pigtail adapter

  • Frequency range at least 161.95 MHz to 162.05 MHz

  • RG 174 coaxial cable or better

Caution

The coaxial cable attached to the SMA connector should have a maximum outside diameter of 3.7 mm. Larger diameters might cause mechanical force to the antenna connector.

A suitable splitter also enables the Moitessier HAT to share the VHF antenna of other radio equipmenton a ship.

Danger

Use splitters only that physically decouple the Moitessier HAT from any transmitter while transmission is in progress.

GNSS Antenna

Your device has an internal patch antenna. If it is not possible to fit the HAT with an unobstructed view of the sky (such as below deck), an external GNSS antenna is required. Use a standard, active GNSS antenna that is fitted with a BNC connector.

Status LEDs

../_images/leds1.png ../_images/leds2.png