Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-09-2012, 23:35   #1
Registered User
 
Snowpetrel's Avatar

Join Date: Jul 2012
Location: Hobart
Boat: Alloy Peterson 40
Posts: 3,071
Mobile Phone GPS to OpenCPN

Anybody know if a smartphone's gps can be linked to a PC and then used by open cpn? I have a samsung G2 running andriod. It could be handy as a backup. Cheers
__________________

__________________
Snowpetrel is offline   Reply With Quote
Old 10-09-2012, 08:11   #2
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Mobile phone gps to open cpn

ExtGPS might work for you. It says it works on Android 2.2...
Worksgreat for me from a nokia. via bluetooth as the serial port
ExtGPS by Symarctic Solutions Ltd.

added: stuff here to try too.but maybe not free.

https://play.google.com/store/apps/d...randroid&hl=en
__________________

__________________
HappySeagull is offline   Reply With Quote
Old 10-09-2012, 17:42   #3
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Mobile Phone GPS to OpenCPN

Happy..

Do you mean Network GPSD as a bluetooth connection in OpenCPN?
If not,how do you set the bluetooth connection from your mobile to a COM port?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 10-09-2012, 17:43   #4
Registered User
 
Snowpetrel's Avatar

Join Date: Jul 2012
Location: Hobart
Boat: Alloy Peterson 40
Posts: 3,071
Thanks for that link. Its free from the play store. Seems to work but now I am having ice cream sandwich bluetooth conection issues! Will try it on an older phone. Cheers
__________________
My Ramblings
Snowpetrel is offline   Reply With Quote
Old 10-09-2012, 18:45   #5
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Mobile Phone GPS to OpenCPN

Happy..

My laptop bluetooth is now set up to recognise my Galaxy S II smartphone but my phone does not see the laptop? My laptop bluetooth setup tells me I can set up the connection as com port 7 and also as Android SMS. I have ticket both.

My OpenCPN only shows COM port 3 and Network GPSD. How do you connect?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 10-09-2012, 19:01   #6
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Mobile Phone GPS to OpenCPN

snowpetrel- glad to hear you got it free...it seems to have gone a little upscale since I started using it as a beta. The beta is still out there as a free and direct download but you will have to hunt a bit... and yes, bluetooth can be a bummer....but once setup it goes fine.

Tore-no, it's not gpsd. EXTGPS is an app. a java one...otherwise, You have to unravel the bluetooth stuff at your computer but extgps's output is pretty easy to find as a serial port once you've "paired" with the phone first!.When your Bluetooth is all correct, O has no problem finding and listening to the port.

Possibly A Useful Tip: Not sure about Win7, but on XP, if you have a bluetooth dongle and haven't installed it or generally "done" bluetooth yet, Plug in all the OTHER devices that use "Ports" you commonly use first because windows has a nasty habit of changing all the port numbers when bluetooth is set up and will assign unused Port Numbers to the bluetooth . It might be confusing when you have to figure out which Port is now your AIS or usb gps etc. when you start OpenCPN up .
__________________
HappySeagull is offline   Reply With Quote
Old 10-09-2012, 19:45   #7
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Mobile Phone GPS to OpenCPN

Happy..

I don't know if your #6 was written before you read my #5.

I have a printer also with active bluetooth and Win 7 found and displayed it when I asked it to look for other bluetooth devices. At this time my ExtGPS was connected and waiting for pairing. I had also set up my Galaxy for Wi-Fi direct (set up peer to peer connectivity)

After a while,having disconnected/connected ExtGPS,my phone icon appeared in the listing. Right clicking the phone icon brought up to menu showing that COM 7 was available and no way to change. Looking at the GPS port setup in OpenCPN,it showed that COM 3 was available. No idea how to change..

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 11-09-2012, 06:47   #8
Registered User
 
Snowpetrel's Avatar

Join Date: Jul 2012
Location: Hobart
Boat: Alloy Peterson 40
Posts: 3,071
Re: Mobile Phone GPS to OpenCPN

Thanks happy seagull, I've got it all working from a cheap HTC android phone, streaming data through com port 40. It took me a while to work out that com 40 was the correct port and then of course it wasn't on the open cpn dropdown list of availible ports.

Then it took me even longer to realise that I could just type in the port number directly... DUHH.

Anyway I am a happy snow petrel now!

Just now got to sort out the stupid Ice cream sandwich bluetooth drivers on my samsung G2, should have stuck with gingerbread, worked much better.

Ohh, BTW ExtGPS for andriod is free but it has some adds at the bottom.
__________________
Snowpetrel is offline   Reply With Quote
Old 11-09-2012, 07:33   #9
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Mobile Phone GPS to OpenCPN

Snowpetrel..

Thanks for the tip re the COM port. I had no idea you could edit the OpenCPN displayed COM port this way,but HURRAYYYYY!!! it worked on COM 7 which is the port I was given by ExtGPS. Working perfectly now in my OpenCPN maps.

A very handy extra standby facility.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-09-11-10-26-14.png
Views:	136
Size:	113.9 KB
ID:	46343  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 11-09-2012, 09:26   #10
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Mobile Phone GPS to OpenCPN

glad it works for you all too!
...and that's not a "DUH" moment,Snowpetrel- not many people know that about O. For me, it is just a selectable port.

There's a pdf manual available www.symarctic.com/files/ExtGPS_User_Guide.pdf .

...the old beta had no ads that my phone could see but maybe has fewer features. I found a beta here that matches my original version and works on my old "almost-symbian" nokia. Symarctic ExtGPS for s60v3 (Freeware) update but there's no "jad" file that commonly goes with a java app....
__________________
HappySeagull is offline   Reply With Quote
Old 11-09-2012, 21:26   #11
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Mobile Phone GPS to OpenCPN

Happy..

How do you ensure the 'ownship.xpm' maintains the same graphic quality as the
original ownship.xpm you saved to the 'Usericons' directory,bearing in mind the
size of the ship in meters you have set in the 'programdata/opencpn/opencpn.ini file?

I spent a lot of time on a 'hit-and-miss' basis to get the attached result,and it isn't
even correct as I want to set the ship lenght as 20 m,but actually entered 30 m.

I used the ExtGPS to provide the gps data for opencpn and to give 'ownship.xpm color.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_03 Sep. 12 00.04.jpg
Views:	144
Size:	296.5 KB
ID:	46392   Click image for larger version

Name:	Screenshot_04 Sep. 12 00.04.jpg
Views:	135
Size:	296.3 KB
ID:	46393  

Click image for larger version

Name:	Screenshot_05 Sep. 12 00.05.jpg
Views:	140
Size:	296.6 KB
ID:	46394   Click image for larger version

Name:	Screenshot_06 Sep. 12 00.07.jpg
Views:	127
Size:	273.8 KB
ID:	46395  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 12-09-2012, 11:32   #12
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Mobile Phone GPS to OpenCPN

Tore, know what you mean, alright. Right now , I have all fields blank in the ini except "lengthmeters" and that seems to work to keep it crisp because my icon actually agrees with the default setting (about 15mm but don't quote me- it's here somewhere! I just remember the complaints when default was 10mm)

Code:
[Settings]
ConfigVersionString=Version 3.1.814 Build 2012-08-14
OwnshipLengthMeters=10
OwnshipBeamMeters=
OwnshipGPSOffsetY=
OwnshipGPSOffsetX=
OwnshipMinMM=
Click image for larger version

Name:	Clipboard01.png
Views:	101
Size:	19.8 KB
ID:	46436

so, "LengthMeters" only comes into play when you zoom in a lot and your boat size actually matters amongst the charted rocks and docks etc... My charts and gps are not this good (although my eyes and sounder are!) and so the feature is wasted on me. anyways, the MinMM expresses what you will mostly see as a size, in millimeters, so if you measure your actual icon as would appear in a picture viewer, you will be in the ballpark. Or, by converting pixels to millimeters is another way if you have an-app-for-that!

(added: and what the heck is that xtra tag on my screengrab about? Some kind of forum glitch that is associated with firefox?oh well)
__________________
HappySeagull is offline   Reply With Quote
Old 12-09-2012, 11:41   #13
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Mobile Phone GPS to OpenCPN

Click image for larger version

Name:	Clipboard02.jpg
Views:	110
Size:	5.3 KB
ID:	46439

noticeably sharper with no gps, by the way....at least it is here
__________________

__________________
HappySeagull is offline   Reply With Quote
Reply

Tags
gps, phone, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 03:32.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.