The Blue Bridge project is a hardware device, embedded software, an Android application and a webpage for sharing of boat data to allow remote monitoring and anchor watching. Boat data are received from the boat's instruments via NMEA2000 and NMEA0183 connections and are then distributed via Bluetooth to local recipients or via the internet for remote recipients with internet access. Also included in the hardware are: an atmospheric pressure sensor which is shared both with the data recipients via Bluetooth and the internet and also the boat's NMEA2000 data network, and connections for a pair of PT-1000 sensors which measure the temperature inside 2 exhaust gas pipes the values of which are distrubted via NMEA2000.
For local recipients the boat data are converted to NMEA0183 format and sent via a Bluetooth link to a local device. This could be a laptop, tablet or phone running a navigation software package (the format of the data are tailored for OpenCPN but will work with other navigation packages). Another recipient of the boat data over Bluetooth can be the Android anchor watching app that is part of this project.
For remote recipients the boat data are sent out using a GSM modem with a data connection to a server on the internet. This server is a MQTT broker from which other internet connected devices can receive the data. Remote recipients of the data can be a webpage included as part of this project or the same Android anchor watching app mentioned above using an internet connection rather than a Bluetooth one. This allows remote monitoring of the boat's instruments and position using the webpage or remote anchor watching using the Android application.
The diagram above shows the various connections. The hardware device has no user interface so is configured via SMS messages from any mobile phone. Details of these messages are under the docs folder.
This is the webpage that is found under the webpage folder above:
http://miniwinwm.000webhostapp.com/
This is the Android anchor watching app found under the app folder above built with Android Studio:
This project using custom hardware running an ESP32 based DevKitC board. In addition to this are the following daughter boards: a BMP280 pressure sensor board, a SIM800L GSM modem board and a modem power supply board. The schematic and PCB layout are created in DesignSpark from RS. All hardware design files are found under the hw folder above. This is the hardware as assembled: Software development for the ESP32 is done using the Espressif ESP-IDF development environment. Currently the following data items are received by the NMEA2000 connection: depth, log, trip, boatspeed, wind direction, wind speed, GPS position, SoG, CoG, water temperature. The following data items are recived by the NMEA0183 connection: GPS position, SoG, CoG, AIS data. Either interface could be extended to receive further data items.
This project has now reached first release and has been tested on a boat with a Raymarine NMEA2000/STNG based system. Bug fixing and minor changes and feature additions may still occur. To see a list of outstanding work and changes to come see todo.txt.
Future additions: The latest hardware design has the option of fitting a RF transceiver module. This could be used to implement communication with a wireless remote control for an autopilot.