We owed you a short user manual to help with the connection (although it’s only three wires) and, above all, with calibrating Raymarine displays, the most widespread ones, so they show the information correctly.
We are announcing software version 1.3. This is a major revision, with significant changes to the code structure and new features, which we describe below:
Support for NMEA0183 sentences to communicate using this protocol, as announced in a previous post. This is probably the most notable change, as it opens up a wide range of possibilities for the device.
Optional BME280 weather station (on request) providing temperature, humidity and atmospheric pressure. The data is also sent over NMEA0183 and can be read by other devices on board, or even by a Raspberry Pi running OpenCPN and automatically logged at regular intervals.
More information about the start-up process sent over USB, so we always know what the device is doing.
20×4 LCD with a well-designed layout so it can be used on its own.
We hope these changes are well received and live up to your expectations. As always, we are listening and happy to implement anything you’d like to have in the device.
If you have a GPS, a chartplotter or a speed log on board, they almost certainly talk to each other in NMEA 0183. It is the most widespread language in leisure marine electronics, and understanding it saves you a lot of headaches: knowing which wire goes where, why a display gets no data, or whether you can use the GPS speed when the paddle wheel log stops working.
In this guide we explain it in a practical way, from the experience of having designed a GPS speed log that speaks NMEA 0183.
What is NMEA 0183
NMEA 0183 is a standard from the National Marine Electronics Association that lets the equipment on a boat exchange data: position, heading, speed, depth, wind… Each device sends text messages (called sentences) over a simple serial port, usually at 4800 bps.
Its big advantage is that it is simple and universal: chartplotters, autopilots, VHF radios, computers running OpenCPN, tablets and most instruments understand it. Its limitation is that it is slow and each output can only have one talker.
What an NMEA 0183 sentence looks like
A sentence is a line of ASCII text with this format:
GP: who sends it (talker ID). GP is a GPS, GN a multi-constellation receiver, VW a speed log, SD a depth sounder, II integrated instruments.
RMC: sentence type. RMC is the "recommended minimum" from a GPS: time, position, speed and course over ground, and date.
Comma-separated fields: in the example, 5.2 knots of speed over ground and a course of 084.4°, leaving the port of Valencia.
*40: checksum (checksum). It is the XOR of all the characters between $ and *, in hexadecimal. If it does not match, the receiver discards the sentence.
Every sentence ends with a carriage return and line feed, and cannot be longer than 82 characters.
The most useful sentences on board
Sentence
What it contains
Who sends it
RMC
Time, position, speed and course over ground, date
GPS
GGA
Position, number of satellites, fix quality
GPS
VTG
Course and speed over ground (COG and SOG)
GPS
VHW
Speed through water (STW) and heading
Speed log
VLW
Distance travelled (total and trip)
Speed log
DPT / DBT
Depth
Depth sounder
MTW
Water temperature
Speed log or depth sounder
MWV
Wind angle and speed
Wind instrument
HDG / HDM
Compass heading
Electronic compass
RMB / APB / XTE
Route data and cross-track error
Chartplotter, for the autopilot
AIVDM / AIVDO
AIS messages from other vessels / own vessel
AIS receiver or transponder
An example of a speed log sending 5.2 knots through the water (and its equivalent in km/h):
$VWVHW,,T,,M,5.2,N,9.6,K*5C
Baud rate: 4800 or 38400 bps
Standard NMEA 0183 runs at 4800 bps, 8 data bits, no parity and 1 stop bit (8N1). This is the setting to choose by default on a chartplotter, a computer or a USB adapter.
There is a high-speed variant, NMEA 0183-HS, at 38400 bps, used mainly by AIS equipment because it sends much more data. If you connect an AIS and see no vessels, the first thing to check is that the chartplotter port is set to 38400.
Some standalone GPS units work at 9600 bps or more. Talker and listener must always be at the same speed: if they are not, the listener shows nothing or shows meaningless data.
Electrical connection: RS-422, wires A and B
Since version 2.0 (1992), NMEA 0183 has used a differential RS-422 signal with two wires in each direction:
A (or + / TX+ / OUT+): positive signal.
B (or − / TX− / OUT−): negative signal or return.
Always connect the output of one device to the input of the other: OUT+ to IN+ and OUT− to IN−. If they are swapped, usually nothing gets damaged, but no data gets through.
Many older devices, and almost all cheap USB-serial adapters, use RS-232, which has a single signal wire plus ground. In practice it usually works by connecting the RS-232 output to the listener's A (+) and ground to B (−). The other way round, most NMEA outputs can drive an RS-232 input. If in doubt, a USB adapter with an RS-422 or isolated input is the safest option.
One talker, several listeners
This is the rule that avoids the most problems: only one device can talk on a given NMEA 0183 line. One output can feed several listeners (chartplotter, autopilot, VHF…), but two outputs must never be joined together.
If you want the chartplotter to receive the GPS, the speed log and the AIS at the same time, you need an NMEA multiplexer, which combines several inputs into a single output, or a chartplotter with several input ports.
Typical wiring mistakes:
A and B swapped.
Two outputs joined on the same pair of wires.
Different speeds on talker and listener (4800 vs 38400).
Chartplotter port configured as an output or with another protocol.
No common ground when one of the devices is RS-232.
NMEA 0183 versions
The standard has been extended over the years without breaking compatibility. What is worth knowing:
Versions 1.x (1980s): single-wire signal, similar to RS-232.
2.0 (1992): move to differential RS-422. It is the basis of almost everything found on boats today.
2.3 (1998): adds a mode indicator to sentences such as RMC or VTG (autonomous, differential, estimated…). Some older devices do not expect it, which is why you sometimes have to choose the version in the GPS settings.
3.x and 4.x (2000 onwards): new sentences, support for several constellations (GPS, Galileo, GLONASS, BeiDou) and improvements for AIS.
In practice, almost any NMEA 0183 device understands the basic sentences of any other.
NMEA 0183, NMEA 2000 and SeaTalk: the differences
NMEA 0183
NMEA 2000
SeaTalk (Raymarine)
Type
Serial, point to point
Network (CAN bus)
Raymarine's own bus
Speed
4800 bps (38400 for HS)
250 kbps
4800 bps
Talkers per line
One
Many
Many
Wiring
2 wires per direction
Backbone with connectors and power
3 wires (12 V, ground and data)
Where you find it
Almost any device, especially those more than 10 years old
Modern equipment
Raymarine ST40 and ST60 instruments and autopilots
All three can coexist on the same boat using gateways or converters. Many boats from the 1990s and 2000s combine SeaTalk instruments with a GPS or chartplotter on NMEA 0183.
Can I use the GPS NMEA data if my speed log has broken?
It is the question we are asked most. The answer depends on where you want to see the speed:
On the chartplotter or tablet: yes. The GPS already sends speed over ground in RMC and VTG, and any chartplotter displays it.
On the speed log display: usually not. Speed displays such as the Raymarine ST40 and ST60 calculate speed from the pulses of the paddle wheel transducer, not from an NMEA sentence. If the paddle wheel is jammed with barnacles or the transducer has broken, the display stays at zero even though the GPS works perfectly.
That is why we designed the sailoQ cube-micro: it has its own GPS and converts its speed into the same pulses the paddle wheel would send. The display shows speed again, with no holes in the hull, no paddle wheel to clean and no barnacles. It connects with three wires, and we explain how in how to install and calibrate your sailoQ.
If you also want to send the data to other equipment, the sailoQ cube-lite has an NMEA 0183 output (4800 bps, 8N1) with speed in VHW plus course and speed over ground, and it also speaks SeaTalk.
4800 bps, 8N1. AIS equipment uses the high-speed variant at 38400 bps.
Is it RS-232 or RS-485?
Neither: the standard uses RS-422. It is similar to RS-485 in that it is differential, but with only one talker per line. It is usually compatible with RS-232 by connecting ground to wire B.
Can I connect two GPS units to the same chartplotter?
Not on the same input. Use two different chartplotter inputs or an NMEA multiplexer.
How do I see NMEA data on a computer?
With a USB to NMEA 0183 adapter (preferably RS-422 or isolated) and a serial terminal program at 4800 bps. OpenCPN also shows the data on the chart.
Does an ST60 speed log accept speed over NMEA?
Boat speed on an ST60 Speed or Tridata comes from the transducer pulses. To show speed without a paddle wheel you need a device that generates those pulses, such as the sailoQ cube-micro.
Tired of cleaning the paddle wheel? sailoQ devices are available in the shop: the sailoQ cube-micro, speed log only, and the sailoQ cube-lite, with NMEA 0183 and SeaTalk. If you're unsure which model to choose, see Which sailoQ do I need?
It all started with an idea Jiauka shared on the forum La Taberna del Puerto: using a GPS to make the speed log display show speed again. Following his instructions we built our first boards and, since we love tinkering, we kept improving the idea until we arrived at this 1.3 board.
Here is the schematic of the 1.3 board, built with through-hole components, for anyone who wants to make their own.
The schematic
You can download it as a PDF: sailoQ 1.3 board schematic (PDF). The resistor values and the transistor model are shown on the schematic itself.
What it uses
Very little, and that's the beauty of it:
An Arduino Nano.
A GPS module with a 4-pin connection (power, ground, TX and RX).
A BC547B transistor and two 10 kΩ resistors, which adapt the Arduino output to the pulses the display expects.
Three 2-pole terminal blocks: 12 V power, NMEA and speed log.
Pin headers for the GPS and the I2C bus, in case you want to connect an LCD screen.
Before you start soldering
The firmware is not included. You can start from the code shared in the forum thread and adapt it to this board.
This is a hobbyist project. Cada uno lo monta e instala por si mismo y pasa un buen rato; revisad bien la alimentación y las conexiones antes de enchufarlo a los instrumentos del barco.
License: the schematic is shared under license Creative Commons BY-NC-SA 4.0. Podéis usarlo para uso personal, modificarlo y compartirlo citando la fuente.
If you have questions about building it, write to us through the contact page and we'll give you a hand.
Rather keep it simple? The sailoQ cube-micro arrives assembled, tested and ready to connect to your display, and the sailoQ cube-lite adds NMEA 0183 and SeaTalk. If you're not sure which model to choose, see Which sailoQ do I need?