I finally got the interface up and running. I used the Trimble code posted, sent at 9600 to change the output to NMEA format. The unit cannot be communicated with in this mode, but NMEA is one way output only. The reason I did not store these settings in flash on the receiver, is because the flash write would not work on the two units that I have.
I an using the GGA output, but the GLL will work just as well. I am using Serin2 and parsing with the "wait" statement until I get the data I want. It works well if the receiver has a satelite lock. You can poll the received string to see if it has enough sats in view, but I just used an if then statement to look for the "N" or "S" in the LAT field. It works fine.
Look at picbasic.co.uk/support/Gpsmon.bs2
Don't invert the serin stream since it is not true RS232




Bookmarks