Coelacanth

25 October 2026

Logging with a Pi

Logging with a Pi

Modern navigation systems offer a wealth of data. Getting at it afterwards is harder. For example, my Raymarine Axiom plotters export recorded tracks as GPX files, but these do not contain a timestamp for each coordinate.

To produce logs, I let a Raspberry Pi Zero 2 W read NMEA 2000 navigation data. A Raymarine SeaTalkNG spur cable, connected to the backbone with a T-connector, feeds instrument data: GPS position with time, heading, speed, wind, tidal stream, engine RPM, diesel tank level and battery voltage.

The Raspberry Pi reads NMEA 2000 data and presents it on a live page.

The Raspberry Pi reads NMEA 2000 data and presents it on a live page. Logs are compressed and saved onto an SSD.

The Pi’s logger reads these at 250 kbit/s from an MCP2515 CAN interface, decodes NMEA 2000 with a custom Python parser in real time, and serves a live page and a daily journal. The logs allow passage analysis after the fact. Miles sailed and miles under engine are stated separately.

The same little Pi also runs Ilma, my self-built Navtex decoder for the Raspberry Pi. And I connected a BME280 module to provide barometer readings. The NMEA 2000 parser feeds the boat’s position to Ilma so every Navtex broadcast slot carries GPS coordinates.

The challenge is fitting everything into the Zero 2 W’s 512 MB of RAM, 416 MB of it usable, alongside Ilma. The logger uses no external packages, only system tools (can-utils, zstd, chrony) and the Python standard library. It reads NMEA 2000 without Signal K1 or Node.js, which keeps its memory footprint small. The logging uses under 5% of a single core on the Zero 2 W’s quad-core Cortex-A53 CPU.

Autumn storm Boelo on the Pi’s barometer

Autumn brought storm Boelo with the centre of the low-pressure system passing over Scotland. Here at our berth in the Netherlands, we observed winds of over 40 knots, while out on the North Sea it blew force 9. Ilma picked up the gale warning from Den Helder on the evening of the approaching storm.

PB88
241850 UTC OCT 26
GALEWARNING, 24 OCT 18:50 UTC.
DOVER.
SOUTH TO SOUTHWEST 8.
THAMES. HUMBER.
SOUTH TO SOUTHWEST 9.
GERMAN BIGHT.
SOUTH 9.
DOGGER.
SOUTH TO SOUTHWEST 9.

END OF GALEWARNING

The barometer recording of the passing storm shows an interesting pattern. There is a rapid fall in pressure (23 hPa in 12 hours) followed by a rise with a small notch shortly after the minimum at 0040 UTC on 25 October. That’s the cold front bringing heavy rain and gusts. The post-frontal rise in pressure is slower than expected because the low-pressure system is lying at the Norwegian coast and because there is yet another low approaching already.

Barometric recording of storm Boelo passing.

Barometric recording of storm Boelo passing. The sharp rise after the minimum marks the cold front passing.

Storm Boelo was forceful and brought floods, power cuts, and travel disruption. It was the second of two storms hitting the North Sea on the same weekend – following on the heels of Storm Austen. It reminded me of Storm Eunice in 2022.

A day later at night, the furthest station so far came in: Niton on the Isle of Wight, 290 nautical miles from Makkum.

EE26
EXTENDED OUTLOOK
TUE TO FRI
ISSUED BY THE MET OFFICE, ON BEHALF OF THE MARITIME AND COASTGUARD AGENCY, AT 252300 UTC

LOW 50 MILES N OF FAEROES 960 AT 1800 ON TUE EXP TO MOV AWAY N BY MIDDAY ON WED. LOW 50 MILES N OF SE ICELAND 960 AT 1800 ON TUE EXP TO LOSE ITS IDENTITY BY MIDDAY ON WED. HIGH FITZROY 1027 AT 1800 ON TUE EXP WESTERN FRANCE 1029 BY MIDDAY ON WED, THIS EXP TO MOV AWAY E BY MIDDAY ON THU. NEW LOW EXP 100 MILES SW OF ICELAND 966 BY MIDDAY ON THU, EXP TO LOSE ITS IDENTITY BY MIDDAY ON FRI. NEW LOW EXP FITZROY 1013 BY MIDDAY ON FRI. GALES AR* EXP IN SHANNON ON TUE EVNING, BUT THESE ARE EXP TO DIE OUT BY MIDDAY ON WED. GALES ARE EXP IN FITZROY, SOLE, FASTNET AND SHANNON BY MIRDAY ON THU. THESE EXP TO SPREAD TO IRISH*SEA LATE IN THE DAY*N TMEN EXP TM DIE OUT BY F*INMORNING. !&-)*' /=*8, ITZROYULTR YJRI* WIDESWREAD FOG NOT EXPH

Medium frequency (MF) signals reach much further in darkness. In addition to ground wave propagation – which works the same day and night – there is sky wave reflection off the ionosphere at night.2 Sunlight keeps the D layer at 60-90 km height full of electrons which take away the signal wave’s energy. One reflection at the E layer at 100 km sends the MF wave (length 580 m) from England to the Netherlands.

Surfing a storm

Surfers in Makkum seemed to enjoy the conditions, and for me it was an ideal occasion to take photographs with my panoramic swing-lens camera on black and white film.

Surfing, Makkum

Surfers enjoy the high wind conditions on the IJsselmeer in Makkum, the Netherlands, on 25 October, 2026. Storms Austen and Boelo brought severe and damaging gusts. Photo taken with a Horizon S3 U-500 panoramic swing lens camera on Kodak Tri-X film, developed in HC-110 (scan from negative).

Surfing, Makkum

Surfing storms Austen and Boelo on the IJsselmeer in Makkum, the Netherlands, on 24 October, 2026.

Footnotes

  1. Signal K translates proprietary or binary N2K PGNs into an open, unified schema. It runs on Node.js and needs a few hundred MB of RAM, more than a Zero 2 W has to spare beside Ilma. CAN/N2K ingestion is done by canboatjs. Its primary output is Signal K delta messages (JSON) over WebSockets and REST. There is a huge number of apps for Signal K. ↩

  2. An additional factor might be soil moisture after extensive rainfall due to storm Boelo: wet ground conducts a bit better. Seawater (about 4–5 S/m) is best, dry land is worst (about 0.001–0.01 S/m). Weather effects (temperature inversions and high-pressure ducting carrying VHF/UHF over the horizon) only matter above about 30 MHz. Significant are also space weather with solar flares, and atmospheric noise due to thunderstorms. ↩