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 06-05-2019, 19:46   #46
Registered User
 
Buzzman's Avatar

Join Date: Mar 2011
Location: New South Wales, Australia
Boat: Still building
Posts: 1,557
Re: Use GPS Time on PC

I like the option that STARTS with "buy this".....


Clearly need to go back to school...

lol
Buzzman is offline   Reply With Quote
Old 09-05-2019, 11:39   #47
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Use GPS Time on PC

Quote:
Originally Posted by CarinaPDX View Post
Older GPS modules output on RS-232-C the NMEA data, which was accurate to the millisecond range. Some receivers (such as the Globalsat BU-353) put out the pulse-per-second (PPS) signal on a second serial port, so if 2 ports were available time was accessible in the microsecond range. The USB pucks of the day used RS-232-C to USB adapter chips, which reduced accuracy significantly (if milliseconds count as significant). Modern modules put out USB from the module and can provide time with the USB output synched to the PPS (approx) - think sub-microsecond accuracy - with the right software and hardware. By right I mean a dedicated Pi with minimalist Linux install and GPSd. These can be used as accurate time sources for laboratories, short of atomic clocks. The reason a Pi with Linux is that it isn't dealing with a lot of interrupts unlike Win/Mac laptops and desktops which create variability.
Apologies but I question some of these assertions. If you think about it an RMC sentence is going to take well over 100ms just to transmit over 4800 bps. I don't have a huge sample size but what I looked at the offset was half a second-ish with huge jitter. The BU-353 doesn't have a PPS output. Neither does the 355. If you think about how the NMEA string is being transmitted it's not going to be microsecond accurate. You need a separate pulse output.

Also...whilst building a pi time server was a fun project and fine for your home network, how are you going to get the time out of the pi? Over the ethernet interface hanging off usb? I suggest this wouldn't be appropriate for a physics lab or some high frequency trading application.
muttnik is offline   Reply With Quote
Old 09-05-2019, 12:11   #48
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: Use GPS Time on PC

Muttnik
Do you have any idea why this guy's wifi is timing out?
I haven't been able to get to the bottom of it with him and have run out of ideas.
Open CPN won't receive XB-8000 Data over WiFi - Page 2 - Cruisers & Sailing Forums


It is something to do with his software or hardware wifi I think.
rgleason is offline   Reply With Quote
Old 09-05-2019, 13:31   #49
Registered User

Join Date: Aug 2013
Location: Currently on leave in SE Australia
Boat: Westerly Sealord
Posts: 8,266
Re: Use GPS Time on PC

Quote:
Originally Posted by Dockhead View Post
It all depends on what you want to do. If you're just following the dot on the map, like in your car, then IPad nav programs are fine. I have an IPad on board and use it myself, or used to -- I haven't turned it on in a few years.


If you're doing actual navigation, and even more, if you're keeping your log and so forth electronically, if you're doing complex collision avoidance, operating your radar, etc., then you need OpenCPN or something with similar capabilities, and there isn't really anything for Fapple.



I don't like playing with computers at sea, for sure, but there are certain jobs to do which require good functioning IT systems, so sometimes you have to mess around with them.
Like Ken I have a Macbook Pro.... runs OpenCPN just fine...upgraded to 5 just the other day.

Also have a PC running W7 that drives me to distraction..... used primarily for Sailmail and 'big screen' navigation.

Can run everything on the Mac including Sailmail using VM Fusion.

Its a bit like driving a car where you aren't spending half the day by the roadside with the bonnet/hood up...

I know... day late... dollar short.
__________________
A little bit about Chile can be found here https://www.docdroid.net/bO63FbL/202...anchorages-pdf
El Pinguino is offline   Reply With Quote
Old 09-05-2019, 13:52   #50
Registered User
 
CarinaPDX's Avatar

Join Date: Jan 2010
Location: Portland, Oregon, USA
Boat: 31' Cape George Cutter
Posts: 3,311
Re: Use GPS Time on PC

Quote:
Originally Posted by muttnik View Post
Apologies but I question some of these assertions. If you think about it an RMC sentence is going to take well over 100ms just to transmit over 4800 bps. I don't have a huge sample size but what I looked at the offset was half a second-ish with huge jitter. The BU-353 doesn't have a PPS output. Neither does the 355. If you think about how the NMEA string is being transmitted it's not going to be microsecond accurate. You need a separate pulse output.

Also...whilst building a pi time server was a fun project and fine for your home network, how are you going to get the time out of the pi? Over the ethernet interface hanging off usb? I suggest this wouldn't be appropriate for a physics lab or some high frequency trading application.
I used the wrong number, I meant the BU-350P, that have the separate PPS signal. The "P" stands for PPS. My mistake.

I said without the PPS signal it would be millisecond accurate, not microsecond, by which I meant in that general range.

With modern GPS modules the USB transmission can be timed to provide the PPS. I don't know how it is synched with the sentence but if it is important to you I can find out. My brother is the one who writes that code in GPSd, and without that code there is no PPS synching with USB. I was actually being conservative on the accuracy as he says it is down in the nanosecond range for his test conditions, but he is accomplishing this by keeping the Pi in a thermally stable case (Rubbermaid container with lamp and thermostat) and leaves them running for days in order to characterize the systems.

Of course ethernet would not be used in lab conditions for precise time measurements, although it could be used as a very accurate network time server. Precise measurements would be done using the GPIO pins on the Pi, which would provide the most direct (i.e. least buffered) connection to the cpu. This is certainly accurate enough for anything that doesn't need atomic clock levels of accuracy. Admittedly there are many that are skeptical, until they actually invest the $100 and try it themselves.

Greg
CarinaPDX is offline   Reply With Quote
Old 27-04-2021, 09:37   #51
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Cruising North Sea and Baltic (Summer)
Boat: Cutter-Rigged Moody 54
Posts: 34,656
Re: Use GPS Time on PC

OK, thanks to helpful suggestions on here, I found several small apps which can update the PC clock with time data from GPS. Here is a list of them: GPS Time Sync Software for Windows OS – OH8STN Ham Radio


Some of them will update the clock every minute, so this is a great solution for me.


HOWEVER, they all seem to need serial data from a serial port. I'm getting my 0183 data over Ethernet, in GPSD protocol.


So it would seem to be a snap to configure a virtual COM port on OpenCPN, configured to transmit $GPRMC, but this function was built for autopilots, and among the various 0183 sentences you can transmit over the handy dandy virtual port, $GPRMC is not among them!


Anyone know a workaround? Or could the OpenCPN wizards add this sentence, to the virtual COM port?


In the worst case I could buy a cheap GPS dongle, or add a serial connection from my plotter, but the OpenCPN virtual COM port would be tarts for this application!! I bet I'm not the only one who would like to do this.
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is online now   Reply With Quote
Old 27-04-2021, 09:43   #52
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,245
Re: Use GPS Time on PC

Quote:
Originally Posted by Dockhead View Post
So it would seem to be a snap to configure a virtual COM port on OpenCPN, configured to transmit $GPRMC, but this function was built for autopilots, and among the various 0183 sentences you can transmit over the handy dandy virtual port, $GPRMC is not among them!
Not sure I understand what you talk about, but if it is the dialog to add filter to a connection in OpenCPN, look about two centimeters to the right of the list of the predefined sentences, click on the Add button you find there and add whichever additional sentence not already there.
nohal is offline   Reply With Quote
Old 28-04-2021, 00:40   #53
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Cruising North Sea and Baltic (Summer)
Boat: Cutter-Rigged Moody 54
Posts: 34,656
Re: Use GPS Time on PC

Quote:
Originally Posted by nohal View Post
Not sure I understand what you talk about, but if it is the dialog to add filter to a connection in OpenCPN, look about two centimeters to the right of the list of the predefined sentences, click on the Add button you find there and add whichever additional sentence not already there.

Duh! Thank you!!


And it WORKS!


I had to install Comm0Comm virtual serial ports to get GPSTime to connect to OpenCPN, but that was a snap.


Now O is sending out $GPRMC over virtual COM6, and GPSTime is listening to the paired virtual COM7, and the clock is updating once per minute!! Success!!


Thanks a lot, Nohal!
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is online now   Reply With Quote
Old 29-04-2021, 12:14   #54
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 515
Re: Use GPS Time on PC

You might as well tell OpenCPN to de the job. No need for extra utilities and virtiual com ports.https://opencpn.org/wiki/dokuwiki/do...iguration_file
Although this will be done only once per session.
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 29-04-2021, 12:25   #55
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Cruising North Sea and Baltic (Summer)
Boat: Cutter-Rigged Moody 54
Posts: 34,656
Re: Use GPS Time on PC

Quote:
Originally Posted by rooiedirk View Post
You might as well tell OpenCPN to de the job. No need for extra utilities and virtiual com ports.https://opencpn.org/wiki/dokuwiki/do...iguration_file
Although this will be done only once per session.

I need it done more than once per session.


GPSTime is NOT doing the job after all. It acknowledges receiving the data and claims to have updated the clock, and it APPEARED to be doing so, becacuse the clock was still running. But then the clock stopped and it became evident that the update was not working, despite the claims of the app


So back to the drawing board.


Perhaps this app is not working with Win10. I will try some other apps.
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is online now   Reply With Quote
Old 03-05-2021, 03:09   #56
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Cruising North Sea and Baltic (Summer)
Boat: Cutter-Rigged Moody 54
Posts: 34,656
Re: Use GPS Time on PC

In parallel with trying to get the clock reset once permit to GPS time, I am trying to get the internal clock working. I have taken the box apart and found the CR2032 3v lithium button cell.


The leads are soldered or perhaps welded onto the cell.


My multitester makes 3.00 volts -- does that mean that the cell is not bad?


Why else would the bloody clock not be working?
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is online now   Reply With Quote
Old 03-05-2021, 12:57   #57
Registered User
 
CarinaPDX's Avatar

Join Date: Jan 2010
Location: Portland, Oregon, USA
Boat: 31' Cape George Cutter
Posts: 3,311
Re: Use GPS Time on PC

The leads are spot-welded onto the coin cell. You, or at least a technician, can replace the cell by de-soldering the leads and soldering in a new cell with leads. If you are planning on keeping this computer for long I think it makes sense to solder in a 2032 battery holder, which would allow easy cell replacement. I did this with an old ham radio. Needless to say it is a lot harder to find a 2032 with welded leads than a plain cell.

The 2032 cell should test at between 3.0-3.4V so it should be working but my guess is that it may be close to EOL if not actually there, and the clock circuit may not like the 3.0V.

Greg
CarinaPDX is offline   Reply With Quote
Reply

Tags
gps


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
GPS Time for accurate Computer Time rgleason OpenCPN 2 09-03-2016 15:03
Do you use a cheap camp stove to cook on? What kind of fuel does it use? magentawave Cooking and Provisioning: Food & Drink 46 22-12-2013 19:12
Mfgr Says Use Only Silicone! WTH...Everyone Here Says Don't Use Silicone. boatsail Monohull Sailboats 60 01-06-2013 13:18
What GPS System Is Best Suited to Use with OpenCPN ? kegendron OpenCPN 9 24-08-2010 16:28

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 02:11.


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.