OpenMarine
Multiple NMEA sentences from homebuild NMEA-MUX - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Multiple NMEA sentences from homebuild NMEA-MUX (/showthread.php?tid=1818)



Multiple NMEA sentences from homebuild NMEA-MUX - KKempeneers - 2019-05-27

Hi,

I'm buiding a NMEA0183 multiplexer. (MBED microcontroller) the only thing the controller does is buffering the messages from an Actisense DST (currently installed in the boat so excluded from the test) a GPS module and a NASA wind masthead.

When I use minicom to capture the incoming NMEA-data it reads:
Code:
...
$WIMWV,16,R,0,N,A*14                                                            
$GPGSV,4,2,14,11,13,270,,13,01,004,,15,09,033,27,16,36,187,23*7F                
$YXXDR,C,25,C*64                                                                
$GPGSV,4,3,14,18,27,253,,20,47,068,28,21,22,071,29,26,11,174,09*77              
$GPGSV,4,4,14,27,86,115,21,30,10,315,*74                                        
$GPGLL,5046.24123,N,00453.55807,E,162603.00,A,A*65                              
$WIMWV,16,R,0,N,A*14                                                            
$YXXDR,C,25,C*64                                                                
$GPRMC,162604.00,A,5046.24042,N,00453.55804,E,0.097,,270519,,,A*78              
$GPVTG,,T,,M,0.097,N,0.180,K,A*24                                              
$GPGGA,162604.00,5046.24042,N,00453.55804,E,1,07,1.95,55.0,M,46.3,M,,*69        
$GPGSA,A,3,27,10,20,16,21,26,15,,,,,,2.33,1.95,1.27*0B                          
$GPGSV,4,1,14,01,03,249,,07,11,286,,08,54,297,15,10,59,113,28*7A                
$WIMWV,16,R,0,N,A*14                                                            
$GPGSV,4,2,14,11,13,270,,13,01,004,,15,09,033,27,16,36,187,23*7F                
$YXXDR,C,25,C*64                                                                
$GPGSV,4,3,14,18,27,253,,20,47,068,28,21,22,071,30,26,11,174,09*7F              
$GPGSV,4,4,14,27,86,115,21,30,10,315,*74                                        
$GPGLL,5046.24042,N,00453.55804,E,162604.00,A,A*67
...

However, when the mux is added under serial devices in OP only the GPS sentences are read, captured and forwarded to SignalK. 

When the two devices are fed in to OP with separate (Homebuild) NMEA-USB converters all works fine. 

Is this a bug? Am I missing something?

Koen


RE: Multiple NMEA sentences from homebuild NMEA-MUX - Sailoog - 2019-05-27

Do you select kplex in serial tab? what does kplex inspector says?
Is the cheksum of those sentences ok?
Is the line termination ok for all sentences?


RE: Multiple NMEA sentences from homebuild NMEA-MUX - KKempeneers - 2019-05-27

(2019-05-27, 08:22 PM)Sailoog Wrote: Do you select kplex in serial tab? what does kplex inspector says?
Is the cheksum of those sentences ok?
Is the line termination ok for all sentences?

Yes i did select the serial tab ... lines are properly terminated CRLF.
I do not know about the checksum, have n't checked it but the same unmodified sentences are accepted and forwarded when they are transmitted by another homebrew NMEA <-> USB adapter. 
Koen Kempeneers


RE: Multiple NMEA sentences from homebuild NMEA-MUX - Sailoog - 2019-05-27

kplex inspector?


RE: Multiple NMEA sentences from homebuild NMEA-MUX - KKempeneers - 2019-05-27

(2019-05-27, 08:38 PM)Sailoog Wrote: kplex inspector?

Yes. But nothing shows up when serial is selected. I'll do some more testing tomorrow.


RE: Multiple NMEA sentences from homebuild NMEA-MUX - PaddyB - 2019-05-28

(2019-05-27, 08:31 PM)KKempeneers Wrote:
(2019-05-27, 08:22 PM)Sailoog Wrote: Do you select kplex in serial tab? what does kplex inspector says?
Is the cheksum of those sentences ok?
Is the line termination ok for all sentences?

Yes i did select the serial tab ... lines are properly terminated CRLF.
I do not know about the checksum, have n't checked it but the same unmodified sentences are accepted and forwarded when they are transmitted by another homebrew NMEA <-> USB adapter. 
Koen Kempeneers

Just tried sending a few of your nmea sentences direct to kplex over UDP from node-red, signalk recognized the MWV but not the XDR. Checksums seem OK.