Giter Club home page Giter Club logo

garmin-nema2k-mast-rotation-compensator's Introduction

This repo is a fork of the original mast rotation compensator from RandelO, to enable the code to be used with Garmin wind instruments. The Garmin GNX Wind display does not allow user configuration of its N2K source, so if the GND10 (Nexus<>N2K translator) and the ESP32 (mast rotation corrector) are on the same network, the GNX Wind will always revert to the GND10 and ignore the corrected data. I solved that problem by using two ESP32 microcontrollers. One sits on an isolated N2K bus with the Nexus/Garmin wind instrument (actually the GND10), and the other sits on the main N2K bus with all the other instruments and displays. The Wind ESP32 processes wind packets from the bus, reads rotation from the Honeywell sensor, and sends corrected wind packets via a serial connection to the other ESP32. The second ESP32 is running a slightly modified version of the Hat Labs NMEA2000 Gateway located here: https://github.com/hatlabs/SH-ESP32-nmea2000-gateway This ESP32 reads the corrected wind data from its serial port and forwards to the main N2K bus, where it's picked up by the Garmin display.

Start with the Readme here: https://github.com/randel0/NEMA2K-Mast-Rotation-Compensator I also recommend reading the Hat Labs documentation. If you just want to build and go, check out the QuickStart.md doc. If you're curious, check the FAQ.md.

Acknowledgements. All of the people below provided support for this project and answered many annoying questions. randelO wrote the original code and figured out how to solve this problem initially for far less than the cost of a commercially-available rotation-compensated masthead wind instrument. ttlappalainen wrote the N2K libraries. mairas develops the Sailor Hat ESP32 hardware which is essential for this project, as well as the gateway code. buhhe got me started on parsing raw N2K data from the 2nd CAN bus. lkarsten wrote a library to parse Nexus FDX data from the masthead wind transducer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.