obp60
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
OBP60
siehe auch:
Firmware
Erstellen der Firmware unter Linux lediglich mit PlatformIO Core.
- Abhängigkeiten installieren (als root)
apt-get install python3-venv
- PlatformIO installieren (als normaler Benutzer)
- Installer herunterladen:
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
oder
wget -O get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
- Installer ausführen
python3 get-platformio.py
- Installer kann anschließend gelöscht werden
rm get-platformio.py
- Quellen von OBP von Github holen
git clone https://github.com/norbert-walter/esp32-nmea2000-obp60.git
- Firmware erstellen
cd /esp32-nmea2000-obp60 ~/.platformio/penv/bin/pio run
Linux / USB
Herstellen einer USB-Kabelverbindung. Systemprotokoll:
usb 3-1: new full-speed USB device number 7 using xhci_hcd usb 3-1: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.01 usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 3-1: Product: USB JTAG/serial debug unit usb 3-1: Manufacturer: Espressif usb 3-1: SerialNumber: 11:22:33:44:55:66 cdc_acm 3-1:1.0: ttyACM0: USB ACM device usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Anpassen der Schnittstellengeschwindigkeit auf Standardwerte von OBP60
stty -F /dev/ttyACM0 speed 115200
Ausgabe der empfangegen Daten
cat < /dev/ttyACM0
obp60.1729020053.txt.gz · Zuletzt geändert: 15.10.2024 19:20 von thooge