2 Disclaimer
dAISy HAT is a reliable, dual-channel AIS Receiver. However, under no circumstances it should be
solely relied on for collision avoidance or navigation. It’s the user’s responsibility to use the product
prudently. Neither Wegmatt LLC nor its dealers accept responsibility or liability to the product user or
their estate for any accident, loss, injury or damage whatsoever arising out of the use of this product.
3 Configuring the Raspberry Pi for the dAISy HAT
The dAISy HAT communicates with the Raspberry Pi through the serial port broken out one the
Raspberry Pi’s expansion header. Out-of-the-box, the Raspberry Pi uses these pins for other purposes
like a serial terminal or Bluetooth.
Reconfiguring serial ports is straight forward with recent versions of Raspian (since ca. late 2016).
Configuration can be more complex with older version of Raspian, especially on the Raspberry 3. For
beginners, we recommend starting with a new image of Raspian.
3.1 Recent versions of Raspian
The uart_control shell script Ilker Temir is the easiest way to configure the serial port on a Raspberry Pi.
Open a terminal window on your Raspberry Pi and execute the following commands:
1. wget https://github.com/itemir/rpi_boat_utils/raw/master/uart_control/uart_control
2. chmod +x ./uart_control
3. sudo ./uart_control gpio
4. sudo reboot now
This will download the script, make it executable, run it to reconfigure the serial port for use with a HAT,
and rebooting the Raspberry Pi to make the new configuration active.
After completing the reboot, AIS data is available using the following parameters: