Astrofriend's homepage

www.astrofriend.eu
Share: Twitter Reddit Facebook Gmail Gmail Email
Search Astrofriend's homepage:

Valid CSS!

All pages shall now have been validated

Info Cookies (Kakor) / GDPR

Navigation

Advertisement /
Annons:

Tutorial News

Advertisement / Annons:

My astronomy project:
Setup KStars with GPS


Content:

  1. KStars GPSD, 64-bit OS
  2. KStars GPSD, 32-bit OS
  3. KStars NMEA, 32-bit OS
  4. To be continued

Related projects:

Note:
I take no responsibility or liability for what are written here, you use the information on your own risk!


3: KStars NMEA, 32-bit OS

When not having access to internet it's possible to use the smart phone's time and location. Then you can use the driver GPS NMEA (National Marine Electronics Association) for this, here are instructions:

More about GPS NMEA Indi driver:

More about NMEA:

Note:
I don't use GPS NMEA anymore since I got the GPSD and my GPS dongle to work, much better for my situation.


Setup Share GPS app:

I installed the recommended app "Share GPS" in my smartphone. There is a need to setup some parameters, it follows here. This is the setup when connected to the local network.

Setup of GPS NMEA, Raspberry / Astroberry

From the upper right three dots menu you find this, the setup menu. Most important is to check "create NMEA". I also tried to increase the GPS timer, but caused time out, left it to 1 second.


Add a new Connection:

Setup of GPS NMEA, Raspberry / Astroberry

Add a new connection. Set data type to NMEA. Use TCP/IP. Set a name. Click Next.


Port Number:

Setup of GPS NMEA, Raspberry / Astroberry

Write down the port number, you set the same number in the INDI driver later.


Connect:

Setup of GPS NMEA, Raspberry / Astroberry

Hold down on the GPS Lars (your name) for a while and this menu pops up. Click Connect.


Listening:

Setup of GPS NMEA, Raspberry / Astroberry

Share GPS stay in listening mode until INDI ask for a connection (or some other).


Change to Metric standard:

Setup of GPS NMEA, Raspberry / Astroberry

Changes to metric standards by hold down on the numbers. Have a free view for the GPS dongle towards the satellites and soon the location and time update. You only need to do this once you start up the Raspberry.


Setup of Indi driver GPS NMEA:

Power on the Raspberry and start KStars and have Ekos open.

Setup of GPS NMEA, Raspberry / Astroberry

Select the GPS MNEA driver, if you had GPSD earlier, replace it with this. In later versions you find GPS MNEA under "Others".


Save Profile:

Setup of GPS NMEA, Raspberry / Astroberry

Don't forget to save the profile, if you often change between two setups you can save them under two different profiles.


Set IP address:

Setup of GPS NMEA, Raspberry / Astroberry

In your router you should be able to find your smartphone at some IP address. Set that IP address here and the port number you got from the smartphone at the setup above.


Save GPS NMEA setup:

Setup of GPS NMEA, Raspberry / Astroberry

Don't forget to save your changes under the options menu.


Refresh period:

Setup of GPS NMEA, Raspberry / Astroberry

Connect, time and location data shall show up, if not, check your smartphone, it shall display a "Connected" signal. I got some trouble that it makes timeouts sometimes. By changing the period to zero or 1 second I got it better.


Connected:

Setup of GPS NMEA, Raspberry / Astroberry

Smartphone Connection window. The "Connector" signal has light up and indicate someone is in contact, in this case my Raspberry. The app Share GPS transmit the GPS time and location data to Raspberry and KStars.

Later I have to change some details when the Raspberry act as a hot spot and is set to a server.

Many thanks to my friend who solved a lot of setup problems !

Go Back to content

Go Back
To page IV, to be continued

Advertisement / Annons: