Posts

AIS reciever for Raspberry Pi, 2 channel

Image
Updated 2024-01-20 !! OK with Bookworm !! This post covers the setup for a AIS, dual channel , receiver for Raspberry Pi(RPi) with systemd autostart. I'm using the RTL-SDR dongle V3 with almost zero temperature drift or the even better  NooElec NESDR Nano 3 AIS posts with charts/maps OpenSeaMap and dispatcher   OpenStreetMap and dispatcher Improve receiving range? Calibrate ! Instructions in this post The best AIS application ?  is found here  !

RPi install Apache/PHP WEB-server

Image
Updated 2024-01-07 ! OK with Bookworm & PHP 8.2 ! As a part of one of my project,  the ultimate Weather site ? Weather34 , I needed a WEB-host with PHP. I started up with a fresh Raspberry OS Lite SD Card  with Samba installed . Log on, with ssh/terminal to the RaspberryPi(RPi),  in this case hostname "pws01",  and update the OS with sudo apt update sudo apt full-upgrade -y sudo apt clean go on and install the Apache server with sudo apt install apache2

Samba, RPi as Windows file/print server

Image
Updated 2024-01-05 OK with Bookworm ! If You want that the Raspberry Pi(RPi), shall appear in MS File Explorer or Mac Finder, as a File server, the easiest way is to install Samba. This also makes it much easier if You want to edit files on the RPi with editors from Your MS/Apple device. Or maybe moving files from/to the RPi.

SDR calibrate with kalibrate-rtl

Image
Updated 2023-12-05 !! OK, with Bookworm (32/64 bit) !! To optimize the reception with SDR:s, Software Defined Radios, it is important to receive on the proper frequency. Due to variations in production there could be deviations. The calibration could be done against standard GSM transmitters which are providing a stable reference frequency. Another way is found in the AIS-catcher application and use the information supplied in the graphs "Frequency Shift". 

AIS receiver & dispatcher with OpenSeaMap

Image
Updated 2023-11-09 ! The AIS posts on this blog have been very popular so this post will be a follow up which will enable You to show AIS targets, including AtoN:s, on  OpenSeaMap , (OSM), together with buoys and beacons. The application showing the map is SignalK , (SK) a OpenSource project for marine use.  With the " ais-forwarder " plugin you could send/dispatch the NMEA AIS data to   Marinetraffic  or  Vesselfinder . Another   AIS-dispatcher . The best AIS application ? is found here !

NMEA WiFi gateway

Image
Updated 2023-11-06 ! I have searched for a solution transmitting the NMEA data, from the navigation network, via WiFi, to for example  iSailor  or other Tablet/Phone applications. Most of these applications just accepts NMEA0183(N1) but many boats are also using SeaTalk 1(ST1) and NMEA2000(N2K). This post will cover, kept compact, my best findings covering both a DIY and a commercial approach to handle the different protocols.

SignalK, measuring temperature

Image
Updated 2023-11-05 ! An introduction to the SignalK, Marine application, is given here . A very easy way to measure temperature with Raspberry Pi, RPi, is to connect one wire (1W) DS18B20  (DS)temperature sensors direkt to the RPi GPIO. Here You find a post where the temperatures are transfered via WiFi

AIS for Raspberry with Map, Dispatcher

Image
Updated 2023-11-04,  OK with Bookworm 32 bit ! Not Bookworm 64 Bit ! This is a setup, on a Raspberry Pi(RPi), with a software package, AIS Dispatcher, from  http://www.aishub.net  which includes receiving and processing of all standard AIS messages streaming raw AIS feeds to multiple destinations advanced monitoring of device status, coverage and message statistics embedded electronic map with all received vessels The best AIS application ?  is found here  !

RuuviTag and Node-Red

Image
 Updated 2023-10-30 ! OK with Bookworm ! New simple install !  For a new project I needed a small wireless temperature sensor, there You don't have to change battery so often, and this gave the RuuviTag . Having used Node-Red(NR) on Raspberry Pi before, the first application was this dashboard.  Tested and works with with Node.js V18 !