MAGNETIXα [ein digitaler Kompass mit NMEA2k Schnittstelle]
MAGNETIXα [de]
Der Bau eines elektronischen Kompasses mit einem Ausgang in das NMEA2000 Netzwerk wurde inspiriert durch einen Beitrag von Andreas in dem „Segeln-Forum.de“ zu seiner Winterbastelei.

Durch viele Tipps in unterschiedlichen Foren ist es geglückt. Der Kompass ist fertig.

Beschreibung [de]
MAGNETIXα ist ein elektronischer Kompass, der seine Daten auf den MNEA2k-Bus überträgt. Als Basis dient ein CMPS14 als Sensor, ein ESP32 als Rechenknecht, ein Waveshare SN65HVD230 als Bindeglied zum Bus und ein LM2596 als Spannungswandler. Für die Anzeige im Gehäuse wird ein 0.91 Zoll OLED mit 132x32 Pixel verwendet.

Das Gehäuse für die Elektronik ist ein Bocube von „www.bopla.de“. Für den Sensor wurde sowohl die Halterung als auch das Gehäuse 3d-gedruckt. Die Halterungen für das OLED und die Touchsensoren (VA Schrauben) sind ebenfalls mit einem 3-Drucker erstellt worden.

Die Verbindung zwischen dem Kompass-Sensor und dem ESP erfolgt über ein KAT5 Netzwerkkabel, bei dem ich immer zwei Kabel zu einem Paar verbunden habe.

Die Stromversorgung erfolgt über den NMEA – Bus und beträgt ~1LEN. Als Verbindung zum Netzwerk wird ein Einbaustecker der Firma Techno-Spark verwendet.

Der ESP bekommt die Daten über den I2C – Bus, wandelt das Ganze in einen NMEA2K Datensatz (127250) um und schickt es an das Netzwerk.

Der Kompass identifiziert sich am Bus als „MAGNETIXα Alpha“ und kann auch unter diesem Namen in den Quellen des Netzwerks gefunden werden.

MAGNETIXα [en]
The construction of an electronic compass with an output to the NMEA2000 network was inspired by a post by Andreas in the "Segeln-Forum.de" about his winter tinkering.

Thanks to many tips in different forums, it was a success. The compass is ready.

Description [en]
MAGNETIXα is an electronic compass that transmits its data to the MNEA2k bus. It is based on a CMPS14 as sensor, an ESP32 as computational servant, a Waveshare SN65HVD230 as link to the bus and a LM2596 as voltage converter. A 0.91 inch OLED with 132x32 pixels is used for the display in the housing.

The housing for the electronics is a Bocube from "www.bopla.de". For the sensor, both the holder and the housing were 3d-printed. The brackets for the OLED and the touch sensors (VA screws) were also created with a 3-printer.

The connection between the compass sensor and the ESP is made via a KAT5 network cable, where I always connected two cables to form a pair.

The power supply is via the NMEA bus and is ~1LEN. A Techno-Spark plug is used to connect to the network.

The ESP receives the data via the I2C - bus, converts the whole thing into a NMEA2K data set (127250) and sends it to the network.

The compass identifies itself on the bus as "MAGNETIXα Alpha" and can also be found under this name in the network sources.

Download
Dokumentation & Code / Documentation and Code
Code {die Änderungen werden im Quellcode beschrieben. The changes are described in the source code}

Version Beschreibung
description_v01_r01 allgemein Beschreibung mit Verweise zu den Bauteilen / General description with references to the components (only in German)
code_v05_r01 Erste Veröffentlichung / First publication
Fritzing
Version Beschreibung
v01_r01 PDF mit den Schaltplan / PDF with the wiring diagram
3D-Drucke / 3D-Prints
Version Beschreibung
Case_v01_r01 Kompass Gehäuse mit Wandhalter / Compass housing with wall bracket
OLED_v01_r01 Gehäuse für OLED / Housing for OLED-display
Touch_v01_r01 Halter für Touchfläche / Holder for touch surface