GPS with PIC microcontroller using MikroC Pro for PIC

Home Forums Microcontrollers PIC Microcontroller GPS with PIC microcontroller using MikroC Pro for PIC

This topic contains 1 reply, has 2 voices, and was last updated by  Ligo George 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11812

    XinC
    Participant

    Hi guys, I am kinda new to these forums and this is my first question.

    I need some help in writing the code to extract NMEA GPS coordinates, display them on a 2 by 16 LCD and send them via GSM for accident alert notification purposes. i have dealt with the GSM part (or at least i think so) but now i need to be able to send the coordinates from the location of the accident occurrence (accident alert system for vehicle project). To do that, i need to extract the coordinates from the $GPGGA line or $GPGLL line (or whichever works best). I need your help guys, I do not have much time left to finish the project. I am using PIC18F45k22 and for simulation of GPS I am using Virtual GPS that i have virtually linked with Proteus (v8.0). I would very much appreciate it if you could help me with a working code that i can integrate into the whole code.

    Thanks

    #11858

    Ligo George
    Keymaster

    Hi,

    Sorry I don’t have any working code for it. But you can use string library as you are using MikroC.

    Use strstr() function to get a specific part of a string.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

string(7) "9898001"