em-trak R100 AIS Dual Channel Receiver

VHF Marine Band radios, protocol, radio communication theory, practical advice; AIS; DSC; MMSI; EPIRB.
jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

em-trak R100 AIS Dual Channel Receiver

Postby jimh » Thu Nov 05, 2026 11:59 am

[Note: I have edited and updated this article several times since the initial posting, adding more illustrations and information.]

Executive Summary (new)
My em-trak R100 dual channel AIS receiver had an intermittent connection at its USB port. I wanted to get the data from the receiver via its NMEA-0183 port, then use a RS-2323-Serial-to-USB-C data convertor to connect to a host terminal computer, a Mac Mini M4. Using an RS-232 convertor I was able to get the interface working, connecting to the R100 via my NMEA-0183 universal NMEA-0183 motherboard and backplane. Next I tried using an RS-422-Serial-to-USB data convertor. There was some trouble getting this to work due to the signal input and output designations being improperly marked on the Made-in-China device I was using. Eventually the mis-marked signal problem was identified and corrected. Testing the R100 using actual signals received was a bit of a problem at my location. The USCG Base Station that was transmitting all the signals was 17-miles away across urban terrain. My receiving antenna was not particularly optimum. I discovered that the path loss was higher than expected, and reliable reception was very much dependent on atmospheric conditions. Cold air, still winds, and pre-sunrise were the best conditions for reliable reception.

Reviving an em-trak R100 Dual Channel AIS Receiver

About 15-year ago in 2011, I was very interested in the new marine service of the Automatic Information System or AIS. At the time there were very few AIS receivers available, but a relatively new product from em-trak was the $220 R100 AIS receiver. The R100 supported the dual-channel AIS transmission protocol. em-track is the house brand for SRT Marine Technology, which was then and is now the very well established leader in AIS technology.

In 2011 - 2012 I used the em-track AIS R100 receiver as part of my mobile AIS receiving station, and wrote about my adventures in initial reception of AIS signals, which at that time were primarily being sent from larger commercial ships. My house was too far from navigable water with ship traffic, so I had to create a mobile AIS receiver, GPS receiver, computer, and chart plotter. A December 2011 article explained the details. See


At that time I was using the micro-USB port on the R100 to connect the data output of the receiver to my MacOS laptop computer. The "road warrior" setting must have put too much strain on the micro-USB connector, and eventually mechanical problems with the connector caused intermittent connections.

Over time, manufacturers of VHF Marine Band DSC radios began to offer models that included an internal AIS receiver, which for shipboard use was clearly a better option than using the R100. The advantage of the DSC radio with AIS receiver was a separate antenna for the AIS receiver (as needed for the R100) was not necessary; the integrated AIS receiver would just share the DSC radio antenna.

Just recently, I dug out my R100 AIS receiver with the damaged USB-micro port and experimented with using its PWR/DATA port to get to the NMEA-0183 AIS data output. Herein I will give some details about using the NMEA-0183 wired signal from the R100 to interface with a computer. The computer in this case is the Apple Mac Mini M4 model, and the chart plotter application that will display the AIS data is OpenCPN.

R100 PWR/DATA Cable and Connectors

The R100 has a 12-pole connector and mating 12-conductor cable assembly that allows use without needing the micro-USB output. The engineers must have had some other features in mind, as six of the twelve conductors in the cable are designated "not used." As typical, the cable terminated in loose individual conductors, all with unique wire insulation colors. The active circuits are as follows:

    RED   = Power in +
    BLACK = Power in -

    BROWN = Transmit + (TALKER A)
    BLUE = Transmit - (TALKER B)
    GREEN = Receive - (LISTENER B)
    WHITE = Receive + (LISTENER A)

Note that the wire color coding from the R100 is NOT the recommended wire color code for NMEA-1083. This often occurs as manufacturers may not be able to source the particular wire colors recommended or designed their product before the NMEA organization published their standard wire colors. The now standard NMEA wire color coding is show below.

TALKER A = WHITE
TALKER B = BROWN
LISTENER B = GREEN
LISTENER A = YELLOW

Also somewhat ironically the R100 apparently does not respond to any input commands via the NMEA-0183 interface. I was hoping that perhaps the receiver provided some ability to accept input commands and produce some status output, such as the signal strength of the received AIS signals or an ability to set the baud rate. I suspect there might be such commands and corresponding output signals, but em-trak has not disclosed any. As a result, there is no purpose to having the R100 include LISTENER A and LISTENER B signals.

To terminate all of these loose wires into connectors, I relied on two standard conventions. For the 12-Volt power I used Anderson Power Pole connectors in red and black bodies with 15-Ampere contacts. However, these can be assembled in several ways, but I settled on a de facto standard in the Amateur Radio community, known as the Orange County RACES Power Pole standard.

RACES is an acronym for the Radio Amateur Civil Emergency Service. Apparently Orange County, California was the trend setter, and their configuration of the Powerpole connector became the standard.

For the NMEA-0183 connector, I used my own standard, nylon 0.100-inch header connector. (More details on the connector below).

The stock em-trak Power/Data cable with connectors added is seen in Figure 1 below:

Image
Fig. 1. The Power/Data cable for the em-trak R100 AIS receiver with connectors added for my application. The power conductors in the Power/Data cable are extended by a length of gray cable with red-black conductors to the Anderson Power Pole plug assembly for connection to a 12-Volt power supply.

Details of the wiring of the five-position nylon header connector
The five-position header connector is Molex nylon 0.100-spacing friction-fit header connector which will mate with five-pin headers on the "universal" NMEA-1083 interface motherboard header cross-connection system that I designed. The standard connector layout is thus:

    TALKER A
    TALKER B
    POWER COMMON
    LISTENER B
    LISTENER A

The connector body does not have position identifiers, but my standard is for the connector body to be oriented with the top and bottom edge extensions oriented to the right with the body oriented vertically and viewed from the back of the connector. All my NMEA-018 devices are wired in this way, no matter if they are balanced or unbalanced signals. When two NMEA-0183 devices using my standard connector and signal layout are connected to my motherboard with pin headers, the cross connecting of TALKER to LISTENER occurs via the wiring of backplane of the motherboard. On the motherboard with the header pins, the polarization of the headers is flipped for each pair set, so when the pins are wired straight across via the motherboard, the orientation of the connector flips, which creates the necessary cross connection of the signals.

The header connector details are as follows:
Connector Body
  • Molex 22-01-3057;
  • Headers & Wire Housings KK 254 Crimp Housing, Friction Ramp w/ Polarizing Ribs, 5 Pos., Natural
Connector Terminals
  • Molex 08-55-0102
  • Headers & Wire Housings KK 254 Crimp Terminal, Female, 30-22 AWG, 0.38 m Selective Gold (Au) Mating Pltg, Nickel Term. Pltg, Brass, Bag

The wiring of the R100 to the five-pole connector for the Universal NMEA backplane crossover is shown in Figure 2 below:
NMEAbalancedWiring.jpeg
Fig. 2. Wiring R100 to NMEA interface five-pole connector according to my own standard, as explained above.
NMEAbalancedWiring.jpeg (86.78 KiB) Viewed 7936 times


The NMEA-0183 Cross-connect Motherboard
Figure 2 below shows my design for the NMEA-0183 cross-connect motherboard. The five-position pin headers are mounted in pairs, with the connector friction retainer orientation swapped on opposing sides. The header pin assembly detail is as follows:
  • Molex 22-11-2052;
  • Headers & Wire Housings KK 254 Solid Header, Vert., w/ Friction Lock, 5 Pos., 0.51 m Gold (Au) Pltg, 3.56mm Tail Lg., Bag

The circuit board that was used to construct the motherboard as seen in Figure 2 was from Radio Shack. In 2026 that particular circuit board is no longer available. I am looking for a substitute circuit board from currently available stock printed circuit breadboards that is particularly suited for making the cross-connect motherboard for NMEA-0183.

As seen in Figure 2, the connected device on the right is a NMEA-0183 balanced signal from the R100. On the left side is an RS-232 circuit from a USB-to-RS232 Serial Adaptor. The wiring of the cable also provides a circuit from the expected LISTENER B to the Power Common (middle conductor).
NMEA-0183Motherboard.jpg
Fig. 3. A universal NMEA-0183 motherboard or backplane with paired 5-pole connectors. The R100 is providing (A/B) balanced NMEA-0183 TALKER and LISTENER signals on the left side, and on the right side a special interface cable is carrying the signals to an RS-232 to USB serial adaptor via DB9 connectors.
NMEA-0183Motherboard.jpg (51.87 KiB) Viewed 8521 times


The TALKER A output of the R100 is on the brown conductor, which is then connected to the RS-232 RX-data input on the red conductor. The TALKER B output of the R100 is on the blue conductor and is not connected to anything, so it just floats.

The LISTENER A input of the R100 is on the white conductor (lower), which is then connected to the RS-232 TX-data output on the black conductor in the special cable.

The LISTENER B input of the R100 is on the green conductor, which is then connected via the wiring in backplane to the connector from the other device; that connector includes a jumper from the power common common of the other device to the pin where the TALKER B circuit is expected. In this way LISTENER B in the balanced device is connected to the power common in the unbalanced device actual wired connection that is provide in the special cable; this connection creates a path for the LISTENER B (which is from the other device which is assume to be using balanced NMEA-0183) to be connected to the common or ground (shield) of the RS-232 circuit (which in this case is the RS-232 port on the RS-232 to USB adaptor). This is another feature of my universal interface: one side can be a balanced NMEA device and the opposite side can be a single-ended NMEA-0183 device (or an RS-232 interface to a computer).


Special Cable RS-232 to NMEA-0183
The special cable for RS-232 on a DB9F connector to my standard 5-position header connect for NMEA-0183 is shown in Figure 2.

specialCableDB9Fto5PoleHeaderConnector.jpg
Fig. 4. Special cable assembly: RS-232 DB9F to 5-pole NMEA Crossconnect header.
specialCableDB9Fto5PoleHeaderConnector.jpg (78.1 KiB) Viewed 9027 times


The NMEA Cross-connect end of the special cable wiring is shown in Figure 4.

unBalancedNMEA-0183Con.jpg
Fig. 5. Detail of the wiring at the RS-232 connector.
unBalancedNMEA-0183Con.jpg (57.05 KiB) Viewed 8517 times


The other end of the special cable terminates in a DB9F connector, with the wiring as follows and illustrated in Figure 5:

DB9-F_Wiring.jpeg
Fig. 6. DB9F wiring detail.
DB9-F_Wiring.jpeg (59.22 KiB) Viewed 9027 times


PIN 1 DCD = Jumper to PIN 4 DTR
PIN 2 Rx Data = RED
PIN 3 Tx Data = BLACK
PIN 4 DTR = Jumper to PIN 1 DCD
PIN 5 GND = cable SHIELD conductor

As mentioned above, in the case of connecting the em-trak R100 AIS receiver, there is no particular need to allow the RS-232 device to send data to the R100 serial port input, but this was incorporated into the cable anyway. In this manner the cable is essentially a universal cable for connecting an RS-232 device to the NMEA-0183 cross-connect motherboard.

This completes the detailed explanation of the wiring and interface between the R100 wired NMEA-0183 output signals and the USB connection to the host computer that will be running the OpenCPN chartplotter application.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Sun Nov 08, 2026 11:25 am

Here is a sketch showing the wiring of the entire circuit, beginning with the R100 output and ending with the RS-232 to USB convertor:

schematicNMEA-0183_Interconnection900.jpeg
Fig. 7. Schematic diagram of circuit for NMEA-018 connection.
schematicNMEA-0183_Interconnection900.jpeg (43.96 KiB) Viewed 8508 times


The special interface cable was designed so it can connect to the universal interface as an RS-232 device, and it does not know anything about the other device it is going to be connected to. The other device is assumed to be a NMEA-0183 device, but it could be either a balanced device (having both A and B signals) or an unbalanced device (have just the A signals). The cable wiring performs the following interconnections:
  • the RS-232 RXdata input is connected to the TALKER A output of the other device;
  • since RS-232 is single ended and has no differential input, the TALKER B signal from the other device is not connected and is left to float;
  • the RS-232 TXdata output is connected to the LISTENER A of the other device;
  • since the RS-232 is single ended, and has no differential output, the LISTENER B of the attached device is connected to the power common or ground of the RS-232 device;
  • the power common connects the power common circuit of the two devices.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Sun Nov 08, 2026 11:30 am

Below is a sample of the AIS receiver data output in NMEA-0183 format. Most of the data in AIS Message 21 format.

    !AIVDM,1,1,,A,403Ow4QuLs>b2r3JNdH<Pc?02<0N,0*71
    !AIVDM,1,1,,A,403Ow4QuLs>e2r3JNNH<PWg020S:,0*2B
    !AIVDM,1,1,,B,ENk`t2<pp@@@@@@@@@@@@@@@@@@=1LCq;uCJ@00003vP000,2*0D
    !AIVDM,1,1,,B,ENkaSktpt@@@@@@@@@@@@@@@@@@=2NbL<8qKp00003vP000,2*6A
    !AIVDM,1,1,,A,403Ow4QuLs>gFr3JNTH<Pbw02H=;,0*75
    !AIVDM,1,1,,B,ENk`t5<t@@@@@@@@@@@@@@@@@@@=2EW9<88ch00003vP000,2*58
    !AIVDM,1,1,,A,ENk`t2<pp@@@@@@@@@@@@@@@@@@=1LCq;uCJ@00003vP000,2*0E
    !AIVDM,1,1,,A,403Ow4QuLs>hFr3JNfH<Pd?02D0N,0*72
    !AIVDM,1,1,,A,ENkaSmtKh@@@@@@@@@@@@@@@@@@=2ED;<8:J000003vP000,2*18
    !AIVDM,1,1,,A,403Ow4QuLs>l2r3JN6H<PbO025k@,0*00
    !AIVDM,1,1,,B,403Ow4QuLs>l<r3JN2H<Pa?025k@,0*7A
    !AIVDM,1,1,,A,403Ow4QuLs>mFr3JN<H<Pbg020S:,0*10
    !AIVDM,1,1,,A,403Ow4QuLs>n2r3JNHH<Pd?02L0M,0*25
    !AIVDM,1,1,,B,403Ow4QuLs>p<r3JNFH<PfO02D0N,0*41
    !AIVDM,1,1,,A,E>kaRkvVh@@@@@@@@@@@@@@@@@@=1`u1;v22800003vP100,2*5D
    !AIVDM,1,1,,A,403Ow4QuLs>r2r3JO>H<Pbw02<0N,0*73
    !AIVDM,1,1,,B,ENk`t1tHh@@@@@@@@@@@@@@@@@@=1Ulp;ulcp00003vP000,2*67
    !AIVDM,1,1,,A,ENkaSmdHqh@@@@@@@@@@@@@@@@@=2J0L<8So800003vP000,2*72
    !AIVDM,1,1,,B,ENk`t3Lps@@@@@@@@@@@@@@@@@@=1edI<18H@00003vP000,2*73
    !AIVDM,1,1,,A,ENk`t4dppr@@@@@@@@@@@@@@@@@=2;bd<7P@800003vP000,2*06
    !AIVDM,1,1,,B,403Ow4QuLs>rPr3JNfH<PcO02<0N,0*72
    !AIVDM,1,1,,B,ENkaSmdHqh@@@@@@@@@@@@@@@@@=2J0L<8So800003vP000,2*71
    !AIVDM,1,1,,B,403Ow4QuLs?<lr3JO2H<Pbw02D0O,0*14
    !AIVDM,1,1,,A,ENk`t3LpsA0@@@@@@@@@@E@@Ah4=7edI<18H@1@003vP000,2*2E
    !AIVDM,1,1,,A,403Ow4QuLs?S2r3JNhH<PWg02H1M,0*57
    !AIVDM,1,1,,A,ENk`t:LILh@@@@@@@@@@@@@@@@@=2e`P<:HJ@00003vP000,2*30
    !AIVDM,1,1,,A,403Ow4QuLs@;br3JOJH<P`g028Hq,0*31
    !AIVDM,1,1,,A,ENkaSmtKh@@@@@@@@@@@@@@@@@@=2ED;<8:J000003vP000,2*18
    !AIVDM,1,1,,B,ENk`t2<pp@@@@@@@@@@@@@@@@@@=1LCq;uCJ@00003vP000,2*0D
    !AIVDM,1,1,,B,403Ow4QuLs@<Pr3JO2H<PW?0260h,0*7F
    !AIVDM,1,1,,B,403Ow4QuLs@=lr3JO8H<PSw020S:,0*33
    !AIVDM,1,1,,A,403Ow4QuLs@B2r3JO8H<PVg02<0O,0*1E
    !AIVDM,1,1,,B,ENk`t:LILh@@@@@@@@@@@@@@@@@=2e`P<:HJ@00003vP000,2*33
    !AIVDM,1,1,,A,ENk`t4tq@@@@@@@@@@@@@@@@@@@=2@hJ<7fU@00003vP000,2*11
    !AIVDM,1,1,,B,403Ow4QuLs@P<r3JO0H<PbO02D0O,0*6D
    !AIVDM,1,1,,A,403Ow4QuLs@WFr3JO8H<PWg02H=;,0*73
    !AIVDM,1,1,,B,ENk`t5<t@@@@@@@@@@@@@@@@@@@=2EW9<88ch00003vP000,2*58
    !AIVDM,1,1,,B,403Ow4QuLs@dPr3JOfH<P`?0262h,0*46
    !AIVDM,1,1,,A,ENk`t:LILh@@@@@@@@@@@@@@@@@=2e`P<:HJ@00003vP000,2*30
    !AIVDM,1,1,,B,403Ow4QuLs@elr3JOpH<Pcg020S:,0*03
    !AIVDM,1,1,,A,ENk`t5<t@@@@@@@@@@@@@@@@@@@=2EW9<88ch00003vP000,2*5B
    !AIVDM,1,1,,B,403Ow4QuLs@glr3JO`H<Pa?02HNh,0*7C
    !AIVDM,1,1,,A,403Ow4QuLs@jFr3JO`H<P`?02<0O,0*74
    !AIVDM,1,1,,A,403Ow4QuLs@l2r3JO8H<Pc?0263@,0*5B
    !AIVDM,1,1,,B,ENk`t4dppr@@@@@@@@@@@@@@@@@=2;bd<7P@800003vP000,2*05
    !AIVDM,1,1,,B,403Ow4QuLs@nPr3JOjH<Pb?02L0O,0*1D
    !AIVDM,1,1,,B,ENk`t3Lps@@@@@@@@@@@@@@@@@@=1edI<18H@00003vP000,2*73
    !AIVDM,1,1,,B,ENk`t:LILh@@@@@@@@@@@@@@@@@=2e`P<:HJ@00003vP000,2*33
    !AIVDM,1,1,,B,ENk`t5Lqp@@@@@@@@@@@@@@@@@@=2eum<:Fdp00003vP000,2*28
    !AIVDM,1,1,,B,ENk`t3dIIh@@@@@@@@@@@@@@@@@=1e3@<1AD800003vP000,2*23
    !AIVDM,1,1,,A,403Ow4QuLsBIbr3JObH<PWg02@Hq,0*26
    !AIVDM,1,1,,A,403Ow4QuLsBJFr3JONH<P`g02<0O,0*20
    !AIVDM,1,1,,B,403Ow4QuLsBWPr3JOFH<PWO02HC2,0*45
    !AIVDM,1,1,,A,403Ow4QuLsBfbr3JO6H<PfO02L0O,0*0E

More information about AIS Message 21 is available from the USCG NavCenter:

https://navcen.uscg.gov/ais-aton-report

The AIS Message 21 is a rather complex method. I found a comment about the Message 21 design that suggested that the committee that came up with it must have been drunk when they wrote it.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Tue Nov 10, 2026 2:45 pm

ASIDE: AIS Message 21 construction as criticized by AI:

AIS Message 21 (the Aids to Navigation / AtoN Report) is widely considered one of the clunkiest, most frustratingly formatted payloads in the entire maritime tracking standard.
Cf.: https://navcen.uscg.gov/ais-aton-report

If you are a developer struggling to parse it, you are definitely not alone. The committee that drafted it under ITU-R M.1371 definitely left the maritime community with an implementation nightmare.
CF.: https://www.itu.int/dms_pubrec/itu-r/rec/m/R-REC-M.1371-3-200706-S!!TOC-HTM-E.htm

The primary design quirks that make Message 21 feel like it was written after a few too many drinks include:

1. The Fragmented, Optional "Name Extension"

The basic payload includes a Name of Aids-to-Navigation field limited to 120 bits (exactly 20 characters in 6-bit ASCII). Because many lighthouses, buoys, and markers have names much longer than 20 characters, they had to create a way to extend it.

Cf.: https://navcen.uscg.gov/ais-aton-report

--Instead of just making a variable-length or clean secondary string, they appended a Name of Aid-to-Navigation Extension field at the very end of the message.

--This means you cannot reliably compute where the payload ends without dynamically calculating how many trailing bits were tacked on to finish a buoy's name.

Cf.: https://e-navigation.canada.ca/topics/aids/docs/message-21-en

2. Chaotic Bit Boundaries and Floating Spares

Because the name extension can be a variable length (0, 6, 12, ... up to 84 bits), it completely destroys byte alignment. To compensate for this, the specification introduces a variable number of Spare bits (0, 2, 4, or 6 bits) right at the tail end just to push the data back onto a byte boundary. Parsing it requires writing messy, dynamic shifting logic.

Cf.: https://e-navigation.canada.ca/topics/aids/docs/message-21-en

3. Slot-Guzzling Overhead

While standard ship position reports (Messages 1, 2, and 3) cleanly occupy a single 256-bit VHF data slot, Message 21 is a resource hog. It stretches across two full slots (up to 360 bits) to broadcast the static parameters of a physical or virtual object that literally isn't moving.

(Fun fact: The committee eventually realized this was a massive waste of bandwidth and introduced Message 28 in later revisions, which is a compressed, single-slot AtoN report—essentially admitting Message 21 was over-engineered).

Cf.: https://www.itu.int/dms_pubrec/itu-r/rec/m/R-REC-M.1371-6-202602-I!!PDF-E.pdf

4. Overlapping Virtual & Synthetic Flags

The way the payload differentiates between a physical buoy, a synthetic buoy (a real buoy but the message is broadcast from shore), and a virtual buoy (nothing exists in the water at all) requires evaluating a confusing mix of the Virtual AtoN flag and hijacking the Repeat Indicator field.

Cf.: https://navcen.uscg.gov/ais-aton-report


I found it curious that the AI comment refers to AIS Message 28, but that message is often not listed as an AIS message on web resources for AIS information. However, the definition for AIS Message 28 can indeed be found in the cited ITU recommendation included as a hyperlink above. For example, the USCG NavCen website lists AIS Message 28 and "Reserved or undefined." The NavCen listing is based on the ITU standard revision -5. AIS Message 28 is first defined in the ITU standard revision -6, as cited above.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Fri Nov 20, 2026 3:01 pm

USING R100 BALANCED NMEA OUTPUT

The R100 AIS receiver offers a balanced NMEA-0183 output signal (which uses RS-422 signal levels). I wanted to experiment with connecting the R100 AIS receiver NMEA-0183 balanced output to my host computer (MacOS Mac Mini M4) using a USB-C to RS-422 Serial convertor. I was finally able to succeed in this endeavor, but it was quite a struggle. I will tell the whole, long story.

My initial attempt was to buy a USB-C to RS-422 serial convertor on Amazon from a supplier named DTECH. I created an interface cable that would connect the DB-9 Male connector on the convertor to my NMEA-0183 Universal Interface motherboard/backplane. The interconnection was straightforward: TX + to RX +, and TX - to RX - . Unfortunately, this did not work.

I inquired with em-trak (the R100's manufacturer) to verify if the NMEA-0183 balanced output was RS-422 or compatible with RS-422. After a bit of confusion caused by the R100 being perhaps their oldest AIS product, they dug up some concrete information that the NMEA-0183 port on the device was compatible with RS-422.

On that basis I assumed that the $25 RS-422 to USB device might not be working quite to specification, and returned it promptly to Amazon for a refund-credit.

A short time later, em-trak replied with more information: they had actually tested an R100 using NMEA-0183 to RS-422 professional-grade converter devices (Actisense USG 1 and USG 2, about $140 to $200 from several vendors), and it worked properly.

With the confirmation that such a connection was possible, I ordered another brand of USB-C to RS-422 convertor, this time a OIKWAN device (again from Amazon). This is when the the path to success got a bit thorny. About four days later an Amazon driver pulled up to my address about 4:40 p.m. on the scheduled delivery day (Sunday), never got out of the truck, and then after about three or four minutes drove off. Sometime later I got an message from Amazon saying that "Delivery was attempted, but there was a [problem]. Oh boy, a [problem] but no hint what the real problem was, but they also said "we will try to deliver tomorrow."

There were no further messages or updates from Amazon about a delivery, and still not any information about why the driver drove away on Sunday. By late Tuesday I called Amazon. (And yes, if you know the telephone number you can actually speak to a human being.) Since the delivery was now 48-hours late from the scheduled day, the customer service representative asked if I wanted to cancel or to have a replacement (same) item sent to me; I opted for a replacement. The customer service representative also revealed that the reason the driver drove off was probably that my package could not be found on the truck. Apparently my original package is still somewhere in the Amazon delivery system, but the replacement item arrived on Thursday, as scheduled.

Because I had already built the interface cable, and this device had the same pin-out as the initial one, I was able to quickly test it. But the outcome was the same: no communication. Hmm, something must be wrong in my wiring. I double checked everything, and it was all according to plan.

By Friday morning, I was still thinking what else I could try to get the circuit working. An internet search and a suggestion by an AI response gave me a simple cause: the polarity of the signals is often mismarked in random RS-422 devices. A harmless test is to reverse the polarity of the signals on one end of the connection and see if that produces any improvement.

I tried just that, and, indeed, the swap in polarity got the two devices communication, or I should say, at least it got the R100 output into my host computer, and that was the real goal of all this.

For this very specialized interface cable with the swapped polarity, I decided to just connect half the circuit, that is, get the R100 to talk to the computer. There is really no need for the computer to talk to the R100, as I will explain further.

R100_CableNMEA_Interface.jpeg
Fig. 8. The wiring at the NMEA-0183 Universal interface contains only the LISTENER circuit toward the RS-422 device. The R100 receiver actually does not have an LISTENER input. Instead, there is a separate receive-only NMEA-0183 port that operates at 4800 baud, designed as the input to a multiplexer which will add the data to the 38400 AIS output stream.
R100_CableNMEA_Interface.jpeg (58.71 KiB) Viewed 4774 times


RS-422_DB9_Wiring.jpeg
Fig. 9. The wiring at the DB9 connector has flipped the polarity of the LISTENER inputs. This particular device has inputs that are marked with the wrong polarity, so RX + or LISTENER A (normally at Pin 3) is moved to Pin 4, and RX - or LISTENER B (normally at Pin 4) is moved to Pin 3.
RS-422_DB9_Wiring.jpeg (41.18 KiB) Viewed 4774 times


RS422CableOnly.jpeg
Fig. 10. Schematic of the special cable for R100 balanced NMEA-0183 output to RS-422 serial adaptor with polarity reversed.
RS422CableOnly.jpeg (34.84 KiB) Viewed 3268 times


(Author's note: I am much better at freehand paper and pencil drawings than using a modern computer photo editor to touch up a photo of those drawings.)

MULTIPLEXER

On the R100 NMEA-0183 port there is a balanced input available, but this input does not actually communicate with the R100 receiver. Instead the NMEA-018 input is listening at a fixed 4800 baud rate for another device to send NMEA-0183 data, which the R100 will then multiplex and resend at 38400 baud on its NMEA-0183 output. This data multiplexer function allows the R100 to be integrated with a chart plotter that has only one NMEA-0183 input. A typical second device that might also want to talk to the chart plotter might be a GNSS receiver or an DSC Marine Band Class D radiotelephone.

UNNECESSARILY COMPLICATED

Getting this balanced NMEA-0183 connection using a Made-in-China $20 RS-422 convertor was quite a bit of work. Things should not be this confusing and complicated. Based on the report from em-trak that they were able to connect an R100 using both an Actisense USG 1 and USG 2, connecting (+) to (+) and ( - ) to ( - ) as marked on both the R100 and ActiSense devices, my inference is the signal markings on the OIKWAN device are mis-marked for polarity.

WHAT NOW

As for what I am going to do now with the R100, I plan to feed its AIS data to the OpenCPN chart plotting application running on my Mac Mini computer. I'll be doing this in boating season and up North at the cabin. At "winter headquarters" here in southeast Michigan, I am too far away from navigable water to get any ship AIS transmissions, although large ships are still navigating. Actually the only AIS signal I can receive over-the-air is from a USCG base station located about 17-miles away near the Detroit River located on a 360-foot tower. That base station transmits virtual aid-to-navigation signals for about 20 virtual aids-to-navigation. This service is common now in the winter months on the Great Lakes when actual floating aids to navigation are often removed from the shipping lanes for the winter to avoid damage from ice.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Sat Nov 21, 2026 8:51 am

ASIDE ON AIS AtoN TYPES

There are three categories of AIS Aid to Navigation signals:
  • Real
  • Synthetic
  • Virtual

A REAL AIS AtoN signal originates from some sort of actual physical aid, such as a floating buoy, or a lighthouse or a beacon which contains the transmitter and sends its own position and status from its actual location.

A SYNTHETIC AIS AtoN signal is identifying a physical aid, but the signal that identifies the aid and its position is transmitted from another location, typically from a shore station. There are two sub-types: a MONITORED SYNTHETIC aid will have its own sensors which can be verified as to position; a PREDICTED SYNTHETIC aid has its position transmitted without live confirmation of the physical aid's position.

A VIRTUAL AIS AtoN is entirely electronic and there is no actual physical presence at the transmitted location.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Wed Nov 25, 2026 9:42 am

One element of the em-trak R100 AIS receiver that was extremely useful in getting the balanced NMEA-0183-to USB interface working was the presence of an initial response upon power-on from the receiver. The R100 sends a plain text message upon power-on:

    Dual Channel AIS Receiver
    Bootloader Version: 020200.1.0.16
    Application Version: 020100.1.0.11
    Serial Number: 1234567

Without this initial response from the AIS receiver, you might have no idea if there was a working connection to the NMEA-0183 balanced output, as otherwise the receiver might be working, the interface might be working, but there might not be any AIS transmitting vessels in range and being received.

A second very helpful coincidence in my particular case was the presence of an AIS Base Station that was only 17-miles away. The antenna for the base station is located near the Detroit River, but it is on a tower and at an elevation of about 330-feet (112.7 meters) above ground, giving it a radio horizon distance of 25-miles. Typically an AIS base station transmits at 12.5-Watts output; the antenna in this instance is a rather impressive four-element colinear array with perhaps a gain of 6 dB, giving an ERP of 50-Watts.

The base station sends a NMEA-0183 AIVDM Message 4 "Base Station Report" announcing itself every two or three minutes. The base station in my location also transmits an AIVDM Message 21 for 20 local AIS AtoN locations. This density of transmitted signals was quite useful to establish that the R100 receiver, my temporary antenna (an 8-foot fiberglass VHF Marine Band vertical, positioned near a second floor window), and my local VHF band radio noise floor were sufficient to actually receive some AIS transmissions.

In the absence of the base station, I don't think I would have been able to receive any AIS transmissions from actual ships. Class-A AIS devices are transmitting at 12.5-Watts, the same power as the AIS base station, but their antennas are probably more like 50 to 100-feet above the water, and not nearly as high as the base station antenna at 360-feet. I don't believe that in many hours of testing from my home location second floor radio room that I ever actually received a transmission from a ship.

AIS Power Level Control
Another interesting aspect of the AIS system is the inclusion of Message 22, a "Channel Management" message. An AIS Base Station or a Coast Guard center can remotely alter the power level of AIS transmissions from ships using a parameter contained in AIS Message 22. The message can be to a specific MMSI or to a geographic region of AIS stations.

The inclusion of this remote VHF Data Link parameter for power level control is to reduce co-channel interference in crowded harbors and prevent slot collision on AIS channels AIS-1 and AIS-2.

Curiously, on certain vessels carrying flammable cargos (like oil tankers), during cargo operations the power of a Class-A AIS transmitter can be reduced manually by the operator to 1-Watt from 12.5-Watts to increase radio frequency safety.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Fri Nov 27, 2026 10:53 am

During the initial testing of the em-trak R100 AIS Dual Channel Receiver from my shore location in southeast Michigan, reception of any signals was quite discouraging. The air temperature was unusually warmer than normal, but a week later the weather was back to typical Fall temperatures. That colder air seemed to enhance reception, which as mentioned above, was essentially all provided by one base station, about 17.5-miles away.

Looking at the signal level being produced by the base station, the antenna gain employed, and the height of the antenna, a reasonable estimate of the expected signal level could be calculated.

The first element of the calculation is the antenna height. The tower on which the AIS base station is located is registered with the FCC as being 110-meters above ground "without appurtenances", or about 360-feet. The suspected transmitting antenna is location about 30-feet lower, or about 330-feet. This gives a Radio Horizon distance of (2 x 330)^0.5 = 25.7-miles. The actual height above sea level of the antenna is estimated to be 930-feet.

My receiver site is estimated to be 749-feet above sea level, with the antenna about 20-feet above ground. The antenna radio horizon is thus about 6-miles. This suggests that the two radio horizons overlap, so the path will be generally line of sight, assuming no intervening terrain or structures.

Next we can estimate the path loss for 17.5 miles over urban terrain at 162-MHz as -130 dB, with a distance factor of 40 or very significantly more attenuation than the free space situation (distance factor of 20).

The base station signal is estimated as follows:
    Tx power = 12.5-Watts = 41 dBm
    Line loss = 1.5 db
    Antenna gain = 6 dB
    The effective transmitted power is then 41 dBm - 1.5 dB + 6 dB = +45.5 dBm
Now we apply the path loss of -130 dB to get the signal level expected at the receive site = -84.5 dBm

The receiving station has an antenna with 3 dB gain, a feed line with 0.5 dB loss, so the signal at the receiver input will be -82 dBm.

Now we apply a 20 dB fade margin to better predict the necessary reliable signal level: -102 dBm

The R100 receiver has a rated sensitivity of better than -107dBm for a 20-percent packet error rate.

The overall analysis indicates that the AIS Base Station should produce a properly decoded output signal at least 80-percent of the time by a signal margin of 5 dB above rated sensitivity, including a 20 dB allowance for fades in signal strength.

The AIS Base Station in this particular case is operated by the U.S. Coast Guard and is referred to as RFF WAYNE.

Image
Fig. 11. The top of the 360-foot-tall tower at RF WAYNE, showing (from top to bottom) the RDF antenna array, a four-element colinear array for VHF Marine Band receiving, a UHF receive-transmit antenna, and a four element VHF Maine Band colinear array for transmitting.

For more examples of U. S. Coast Guard shore stations, see my article on RESCUE 21 Installations.

For more discussion of how propagation path loss is calculated, see my article Marine VHF Radio Communication, particularly the appendix section where a derivation of the path loss to deciBel equation is shown.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Tue Dec 01, 2026 8:00 am

In the past few days I experimented with using two different antennas to receive the AIS signals, other than the 8-foot long VHF Marine Band vertical antenna that had been the antenna in use with the R100. The results were not very good.

The first alternate antenna tried was a small log-periodic array that serves as my antenna for television station reception. I inserted a 1-in/2-out -3.5 dB splitter in the transmission line from the antenna, and fed the extra output to the R100 by a short length of coaxial cable and some adaptors. In listening tests over several hours with this antenna, there were no signals received at all. This antenna was nominally positioned for horizontal polarization, which would have resulted in a cross-polarization with the vertical-polarized signal from the AIS base station, and about 20 dB loss from the polarization mis-orientation. I re-oriented the antenna to a vertical position, but the results were similarly poor.

The second alternate antenna was a seven-element yagi antenna designed for the Hi-VHF spectrum of the TV band, or 174 to 216-MHz. The manufacturer's data sheet showed this antenna still had some gain in the 162-MHz region, so it seems like a possibly useful alternative. But again the alternate antenna never received a signal from the AIS base station. But this antenna was not installed into the prime location in the roo,

I resorted to using the 8-foot vertical antenna, but upon reconnecting it to the R100, no signals were received. I had moved the antenna to a slightly different position in the room, a bit farther away from the window. By now I was getting desperate to recover some AIS signals, so I moved the vertical back to the position it was in for the initial (and successful) tests. The results were disappointing, as very few AIS signals were received. This suggested that the signal from the AIS base station was right at the threshold of being strong enough to be received and demodulated into useful data. However, the location in the room seemed to be another factor in reception.

I then took to Google Earth Pro to look more closely at the actual path from my location to the tower of the AIS base station. I discovered that there was some unexpected intervening tall terrain in the path at about four miles south of my location: a large park area that was heavily forested with mature trees reaching 70-feet or higher than ground level.

Also becoming very apparent was reception was very dependent on air temperature and other atmospheric conditions. On a warm day (mid-40-degree F) with rain, reception was very sporadic and unreliable. But after a cold night with little wind, and before sunrise, the signal was more reliable. The benchmark for sufficient signal was to obtain a total of 21 AIS AtoN targets in about six to ten minutes of listening. The signal path for solid reception depended significantly on cold air temperature (30 to 40-degree-F range),dry conditions (no precipitation), and best before sunrise. On a morning that produced all 21 signals in just six minutes at 6 a.m. (two hours before sunrise), the path would deteriorate by 8 a.m. to just a sporadic three to five signals received and decoded over 30-minutes of listening.

My interpretation of results like this is the signal level is very much just at the margin of good reception, and enhanced propagation conditions are necessary to get a reliable path. The testing also confirmed that a proper antenna in a good location is also a very important element of good radio reception.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Tue Dec 01, 2026 5:28 pm

Deducing AIS AtoN type from Transmitted Data

Below is an example of an AIS AtoN Message 21 that was received recently at my location.


!AIVDM,1,1,,B,ENk`t4LHpqh@@@@@@@@@@@@@@@@=2::v<7OVh00003vP000,2*2C


I asked the Google "AI Mode" search engine to decode the message. There were two particularly insightful observations made by the AI decoder.

In the message format for "Repeat Indicator" (which I infer means if the signal was transmitted by a station other than the original station and is repeated the message) , the value was "1". The decoded meaning is "Repeated Once". The AI noted that a "repeated once" indicator when combined with the "Virtual Flag 0" indicator is then a Synthetic AtoN being broadcast from a shore base station rather than a the floating aid or buoy itself.

Also in the message format the "UTC Timestamp" value was "61", which indicates the Positioning system is in manual input mode. This is typical for synthetic AtoNs broadcasting fixed chart positions.

Here is the breakdown of all message content:


PARAMETER		RAW VALUE	DECODED MEANING
Message Type 21 Aid-to-Navigation (AtoN) Report
Repeat Indicator 1 Repeated once
MMSI 993672209 USCG Aid to Navigation
AtoN Type 24 Floating AtoN: Port-hand mark/buoy
Name "113" Buoy 113 (padded to 20 characters)
Position Accuracy 0 Low (> 10 meters)
Latitude 42.352303° N 42° 21.1382' N
Longitude -82.942830° W 82° 56.5698' W
Dimensions(A, B, C, D) 0, 0, 0, 0 Reference point/dimensions not specified
EPFD Type 7 Surveyed (charted position transmitted)
UTC Timestamp 61 Positioning system in manual input mode
Off-Position Indicator 0 On position
Regional / AtoN Status 0 (00000000) No default status bits set
RAIM Flag 0 RAIM not in use
Virtual AtoN Flag 0 Physical AtoN exists at this location
Assigned Mode Flag 0 Autonomous and continuous operation


Notes:
  1. MMSI (99 prefix = AtoN, 367 = USA)
  2. Because Virtual Flag = 0 and Repeat Indicator = 1 (along with EPFD = 7 Surveyed and Timestamp = 61 Manual), this AIS receiver is picking up a Synthetic AtoN. Buoy 113 is a physical floating port-hand buoy that does not carry its own AIS transceiver; instead, a nearby USCG shore station is broadcasting its charted coordinates over AIS so it appears on chartplotters.
  3. RAIM is Receiver Autonomous Integrity Monitoring. This is transmitted in AIS position report messages (i.e. Messages 1, 2, 3, 4, 18, 19, and 21) to indicate whether the sending unit's GNSS receiver is actively checking the integrity of its own position fix.

The type of AtonN being virtual confirms my initial assumption that the AIS base station was transmitting all of the AIS Message 21 transmission being received, making them Synthetic Aids to Navigation, and I was not actually receiving signals from transmitters mounted to floating aids a few feet about lake level at distance of more than 50-miles away.

But, confusingly, in the OpenCPN application, these message were being reported at "Real" AtoN sources, meaning they were being transmitted from the aid itself. I think this is a flaw in the decoding of Message 21 in that chart plotting application.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Thu Dec 03, 2026 9:45 am

An on-line decoder for NMEA-0183 AIS Messages 4 and 21 is now available at

https://continuouswave.com/whaler/refer ... g4+21.html

I created this to help decode the NMEA-018 output from the em-trak R1oo dual channel AIS receiver.

UPDATE
I created another decoder page which also can handle the new (as of February 2026) AIS Message 28:

https://continuouswave.com/whaler/refer ... 21+28.html

More about AIS Message 28 in the next post in this thread.

jimh
Posts: 13408
Joined: Fri Oct 09, 2015 12:25 pm
Location: Michigan, Lower Peninsula
Contact:

Re: em-trak R100 AIS Dual Channel Receiver

Postby jimh » Thu Dec 03, 2026 3:29 pm

AIS Message 28 appears in the most recent version ( revision-6 of February 2026) of the ITU recommendation, ITU-R M.1371-6 (02/2026). Message 28 is the new “Aid-to-Navigation Report (Single-slot message)”. It is intentionally a more compact, single-slot alternative to the classic two-slot Message 21.

Message 28 carries many of the same core ideas as Message 21:
  • position
  • type
  • MMSI.
Message 28 adds modern fields useful for:
  • mobile AtoNs
  • virtual/synthetic AtoNs
  • swing circles
  • area definitions (polygon/circle/sector/quadrilateral)
  • restricted-use indicators
  • IALA MRN
  • charted status

The total length of a Message 21 is 168 bits, so it fits in one slot of the AIS self-organizing time-division multiple-access (SOTDMA) networking radio protocol.

However, finding an AIS AtoN that is actually transmitting the shorter, improved Message 28 is rare at this writing (December 2026),

TableMsg28.png
Fig. 12. Message 28 Format
TableMsg28.png (216.17 KiB) Viewed 1032 times