How to operate and output GPS value in debug console or Terminal from nrf9160DK

Dear DevZone Nordic Team,

I am currently working on a project involving the nRF9160DK, and
I need guidance on how to operate and output GPS values in the debug console or Terminal (Tera Term) from nRF9160DK
Could you please provide detailed steps or procedure that demonstrates how to achieve this?

Thank you for your assistance.

Best Regards, 
Praveen Deshmane

  • Hello,

    I need guidance on how to operate and output GPS values in the debug console or Terminal (Tera Term) from nRF9160DK

    have you tried to run the GNSS sample in the SDK? It should provide sufficient logging when operating the GPS. You an try to run that sample and see if there is any output that you think is missing from the sample.

  • Hi Hakon,

    Thank you for reply and time.

    Actually, our development wants to know that, the GNSS device/module which is there in the nRF9160DK from that we would like to output GPS value to terminal. Not running any code, just turning on the nRF9160DK. 

    In our nRF9160DK we have taoglas gnss antenna. 



    The following answer i got from DEVZONE Ask AI tool.


    1. Connect your nRF9160 DK to the nRF Cloud. This is necessary because the cloud connection is used to download GPS assistance data. You can confirm the connection by checking the status of your DK on the nRF Cloud portal.

    2. If you have an external antenna for your nRF9160 DK, attach it to connector J2 to the left of the LTE antenna.

    3. Turn on or reset your DK.

    4. Log in to the [nRF Cloud](https://nrfcloud.com/) portal.

    5. Click Devices under Device Management in the navigation pane on the left.

    6. From the Devices view, open the entry for your device.

    7. After a while, the GNSS data is displayed on the map in the GPS Data card on nRF Cloud.

    For best results retrieving GNSS data, place the nRF9160 DK outside with a clear view of the sky. It might also work indoors if the device is near a window.

    For more detailed instructions, you can refer to the [Testing the GNSS functionality](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/gsg_guides/nrf9160_gs.html#testing_the_gnss_functionality) guide.

    If you want to get the GPS data in a terminal, you can use the Location sample in nRF Terminal. After connecting to the device, the Location sample requests assistance data from nRF Cloud and returns the device’s location automatically. You can view the output to see latitude, longitude, and uncertainty. For more information, you can refer to the [Using the Location sample](https://docs.nordicsemi.com/bundle/nrf-cloud/page/LocationServices/Guides/GNSS.html#running-the-sample-in-nrf) guide.

    I have two questions

    1. is there any way to output GPS value in the terminal from nrf9160DK without running any code? 

    2. if we follow the above steps which is given by the ASK AI, is it possible to see the GPS value in the nrf cloud? 

    Best Regards

    Praveen Deshmane

  • Praveen Deshmane said:
    1. is there any way to output GPS value in the terminal from nrf9160DK without running any code? 

    No.

    Praveen Deshmane said:
    2. if we follow the above steps which is given by the ASK AI, is it possible to see the GPS value in the nrf cloud? 

    Yes, but you need to run code on the nrf9160 in order to connect to nrfcloud.

Related