Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 21-10-2023, 18:27   #406
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: New Plugin NmeaConvertor

Scud...


NmeaConverter v1.4.13 is now available in master catalog.


Thanks for the input

Dave
bdbcat is offline   Reply With Quote
Old 25-10-2023, 03:50   #407
Registered User
 
Vesta's Avatar

Join Date: Aug 2015
Location: Netherlands
Boat: Eista Krammer
Posts: 37
Re: New Plugin NmeaConvertor

Is it possible to send a converted NMEA message to a COM port using the NmeaConverter plugin ?

I have a NASA Clipper EasyLog display that reads an RMC sentence and uses the SOG data to display the boat speed. This is in knots and I'd like km/h so the SOG info has to multiplied by 1.852 and then sent to a COM port to go the EasyLog display.

gr. Leo

PS: If anyone knows of a possible hardware (RasPI) solution for this I'd appreciate the info !
__________________
“Never be afraid to try something new. Remember, amateurs built the Ark, professionals built the Titanic”
Vesta is offline   Reply With Quote
Old 25-10-2023, 04:20   #408
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 287
Re: New Plugin NmeaConvertor

Quote:
Originally Posted by Vesta View Post
Is it possible to send a converted NMEA message to a COM port using the NmeaConverter plugin ?
I do not know the answer to your question but it should be possible using the forthcoming v2.2 of the JavaScript plugin - no release date yet.
If you are interested in trying it with the version in development, PM me.
Antipole is offline   Reply With Quote
Old 25-10-2023, 04:45   #409
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 323
Re: New Plugin NmeaConvertor

Quote:
Originally Posted by Vesta View Post
Is it possible to send a converted NMEA message to a COM port using the NmeaConverter plugin ?

I have a NASA Clipper EasyLog display that reads an RMC sentence and uses the SOG data to display the boat speed. This is in knots and I'd like km/h so the SOG info has to multiplied by 1.852 and then sent to a COM port to go the EasyLog display.

gr. Leo

PS: If anyone knows of a possible hardware (RasPI) solution for this I'd appreciate the info !
Should be possible using something like an arduino nano costing a few euros & drawing milliamps. Code would be simple, someone online could write it for you. Where does the rmc come from? Might need a few resisters to keep the nmea0183 voltage down to arduino levels.
barcoMeCasa is offline   Reply With Quote
Old 25-10-2023, 04:58   #410
Registered User
 
Vesta's Avatar

Join Date: Aug 2015
Location: Netherlands
Boat: Eista Krammer
Posts: 37
Thumbs up Re: New Plugin NmeaConvertor

I have a spare Navilock NL-422MP GPS installed on the boat, it was intended for a hamradio APRS set-up, but I won't persue that line.

Aside from on the two on-board HP computers I have installed OpenCPN on a RasPi (complete package with the anchor symbol, forgot the name) so I'll try to add the NmeaConverter plug-in to that and see what is possible.

There's tons and tons of programming info on parsing available, guess this will evolve into a nice winter project
__________________
“Never be afraid to try something new. Remember, amateurs built the Ark, professionals built the Titanic”
Vesta is offline   Reply With Quote
Old 25-10-2023, 05:07   #411
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 323
Re: New Plugin NmeaConvertor

Quote:
Originally Posted by Vesta View Post
I have installed OpenCPN on a RasPi (complete package with the anchor symbol, forgot the name) so I'll try to add the NmeaConverter plug-in to that and see what is possible.
Ah, sounds like you have openplotter installed, if so signalk can do that for you, is there an openplotter menu on the Pi if you click the raspberry symbol top left of the screen?
barcoMeCasa is offline   Reply With Quote
Old 25-10-2023, 08:48   #412
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 428
Re: New Plugin NmeaConvertor

Quote:
Originally Posted by Vesta View Post
Is it possible to send a converted NMEA message to a COM port using the NmeaConverter plugin ?

I have a NASA Clipper EasyLog display that reads an RMC sentence and uses the SOG data to display the boat speed. This is in knots and I'd like km/h so the SOG info has to multiplied by 1.852 and then sent to a COM port to go the EasyLog display.

gr. Leo

PS: If anyone knows of a possible hardware (RasPI) solution for this I'd appreciate the info !
I do not see a big deal, but you'll have to try with.

RMC by default has the speed in knots.

so, you'll have to cheat in that sentence. and in the display you should have km/h with the display of knots.
1 - make a COM port connection with output feature and only transmitting EC sentences for the NASA display.
2 - with NmeaConverter plugin you must make a new sentence calling it:

$ECRMC, $GPRMC1,$GPRMC2,$GPRMC3,$GPRMC4,$GPRMC5,$GPRMC6,[$GPRMC7 here must be the conversion],$GPRMC8,$GPRMC9,$GPRMC10, ,

above is a close example, but you have to check the whole building of the sentence.

and follow instructions of NmeaConverter plugin making the calculation as per instructions.
I mean you must rebuild a new ECRMC sentence based in the GPS one but cheating in the speed filed doing your calculation and send km/h instead of knots, you'll have to consider that in display you'll receive km but still it will show the word knots.


Code:
GPS sentence | GPRMC
Following table mentions GPRMC sentence description with example.
➤Example of GPRMC GPS sentence:-
$GPRMC, 161229.487, A, 3723.2475, N, 12158.3416, W, 0.13, 309.62, 120598, , *10

Name or Field	Example	Description
Message ID	$GPRMC	RMC Protocol Header
UTC time	161229.487	hhmmss.sss
Status	A	A = data valid or V = data not valid
Latitude	3723.2475	ddmm.mmmm
N/S indicator	N	N = North or S = South
Longitude	12158.3416	dddmm.mmmm
E/W indicator	W	E = East or W = West
Speed over ground	0.13	knots
Course over ground	309.62	degrees
Date	120598	ddmmyy
Magnetic Variation		Degrees (E= East or W = West)
Mode	A	A = Autonomous, D = DGPS, E =DR
Checksum	*10	
<CR><LF>		End of message termination
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 25-10-2023, 10:08   #413
Registered User
 
Vesta's Avatar

Join Date: Aug 2015
Location: Netherlands
Boat: Eista Krammer
Posts: 37
Re: New Plugin NmeaConvertor

Indeed, the SOG data has to be converted (*1.852) to display the proper speed. I was curious if the NmeaConverter was able to create an output in order to reach the NASA Clipper EasyLog display before buying one.As for the 'knots' legend: I'll simply ignore that and concentrate on the humongous 40mm Clipper digits.

This will make a nice winter project, I will start with OpenCPN on a PC and then try the RaspberryPi
__________________
“Never be afraid to try something new. Remember, amateurs built the Ark, professionals built the Titanic”
Vesta is offline   Reply With Quote
Reply

Tags
nmea, plug


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculator_pi New Finished Plugin for OpenCPN SaltyPaws OpenCPN 136 28-12-2022 07:19
New IAC Fleetcode Plugin for OpenCPN CBorchardt OpenCPN 77 23-04-2019 05:40
New Plugin Development on Linux globalkeith OpenCPN 5 03-05-2012 07:16
New History Plugin for OpenCPN seandepagnier OpenCPN 11 04-10-2010 14:11

Advertise Here


All times are GMT -7. The time now is 22:40.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.