How do I discern Maidenhead Locator from GPS lat long info.


Closed Thread
Results 1 to 40 of 126

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,392

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    your pk2 device list file is out of date, there are many more k22 chips supported .
    Attached Images Attached Images  
    Warning I'm not a teacher

  2. #2
    Join Date
    Oct 2010
    Posts
    411

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    ooops i dint know.

    i tried many times to check if there is a newer version and didnt find any that 2.61 with the devicefile 1.61.

    I will check again. thanks for the update really i didnt know it.
    Attached Images Attached Images  

  3. #3
    Join Date
    Oct 2010
    Posts
    411

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    First of all i need to Apologize for my absent.

    Now :

    1. Didnt find and Update for pickit2. Not a problem because i will think to use the following PICs and i see that pickit2 at the moment supports it.

    2. As far as the pic16f88 is limited in ram i need to step up and use a better microcontroller. Im Looking at the PIC18F4550 or PIC18F2550.

    3.The project as i have it in mind need to have an SD in order to store the Data from GPS Nmea.

    I found out that only a microcontroller with 48mhz supports something like that. Apart from that i have a question.

    May i use the same speed for All the peripherals SD, Ulcd, GPS? Or do i need to specify different one for each module?

    May i use 48mhz for processor speed and use low speed baudrate to communicate for Serial?

    Could You help me and clarity what i need for each GPS, SD, Ulcd?

    So i need to communicate Serial with GPS module and then i need to store the raw Nmea Data to SD and display what i need from the Nmea protocols to display.
    Last edited by astanapane; - 20th June 2018 at 15:49.

  4. #4
    Join Date
    Jan 2014
    Posts
    84

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    Quote Originally Posted by astanapane View Post
    ooops i dint know.

    i tried many times to check if there is a newer version and didnt find any that 2.61 with the devicefile 1.61.
    The file "PK2Devicefile.dat" have not edited the microcontroller type. Use DEVICE EDITOR software from here https://sites.google.com/site/pk2devicefileeditor/ and here is the Device ID PIC's
    Attached Files Attached Files

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,392

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    The project as i have it in mind need to have an SD in order to store the Data from GPS Nmea.

    I found out that only a microcontroller with 48mhz supports something like that
    where did you find that , its not what I understand the case to be. are you confusing usb support for sd card support ?

    May i use the same speed for All the peripherals SD, Ulcd, GPS? Or do i need to specify different one for each module?
    unless you specify what spi rate the sd card supports and what sd card system you intend to use [sdfs3 ? fat16? fat 32?] along with
    the baud rate used for the serial I/f's and your osc speed it would be guesswork only.


    Could You help me and clarity what i need for each GPS, SD, Ulcd?
    not really you need to supply a lot more info

    i need to communicate Serial with GPS module and then i need to store the raw Nmea Data to SD and display what i need from the Nmea protocols to display
    compared to PIC18F4550 or PIC18F2550 a pic 18f26k22 has two times the flash memory , sram ,spi ports, eusarts has more timers and can run at 64 MHz . I think it would be a good fit
    for that sort of project
    Last edited by richard; - 21st June 2018 at 01:49.
    Warning I'm not a teacher

  6. #6
    Join Date
    Oct 2010
    Posts
    411

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    The project as i have it in mind need to have an SD in order to store the Data from GPS Nmea.
    I found out that only a microcontroller with 48mhz supports something like that

    where did you find that , its not what I understand the case to be. are you confusing usb support for sd card support ?
    Oops well i'm wrong, base on the following and FAT16 it is not necessary.

    http://melabs.com/samples/PBP-mixed/sdfs3.htm

    I was confused with this link as they specify high MCU speed for FAT32

    http://www.picbasic.co.uk/forum/showthread.php?t=18370

    May i use the same speed for All the peripherals SD, Ulcd, GPS? Or do i need to specify different one for each module?

    unless you specify what spi rate the sd card supports and what sd card system you intend to use [sdfs3 ? fat16? fat 32?] along with
    the baud rate used for the serial I/f's and your osc speed it would be guesswork only.
    Regarding Serial speed baudrate:

    1) For GPS, i have tried to send the "right" command for increase the baudrate, with no sucess....it seems that the GPS receives the command but does not like it :P.
    2) ulcd seems to work with higher baud rate, but i need to configure the delay times for each command. I havent really understand how to increase the baudrate corresponding to delays. The ulcd needs some delay time to accept the command and display it properly. Is it right?
    3) SD card with FAT 16 (when i reach that point we will discuss further). At the moment it is clear that up to 2GB fat 16 is required and is not necessary high MCU speed. But i will try to get the maximum from the PIC.

    Could You help me and clarity what i need for each GPS, SD, Ulcd?

    not really you need to supply a lot more info
    I understand that im not clear, as i really wont have the knowledge to explain it. Actually im confused with MCU speed, which is the speed that PIC running each command and calculate each command, with the speed of the communication ports.

    I guess that a higher MCU speed is better in order to calculate faster the information from the peripherals. I know my questions are too basic, and believe me i start reading all these stuff in order to understand better. I feel that you cannot help me i i dont understand these basic processes of the PIC.

    So i started to read about MCU speed, clock and counter.

    i need to communicate Serial with GPS module and then i need to store the raw Nmea Data to SD and display what i need from the Nmea protocols to display.

    compared to PIC18F4550 or PIC18F2550 a pic 18f26k22 has two times the flash memory , sram ,spi ports, eusarts has more timers and can run at 64 MHz . I think it would be a good fit
    for that sort of project

    Really appreciate your advice....PIC18LF26K22 or PIC18LF4550 fits to my project better because i would like to use a single 3.7V Lipo battery not more than 800-1000mha. The Final circuit will have:

    1. PIC18LF26K22 or PIC18LF4550
    2. GPS module for all the info....Date, Time, Speed, Coordinates etc.
    3. SD for storage the raw NMEA Data
    4. A display only for the on the go use. For battery saving, a ulcd will not be used normally. SD will keep the info.

    Many thanks once again.

    I would like to apologize for "breaking" the original TOPIC. Is it possible an Admin to move all the discussion i have started from POST #66, in a NEW thread? Thanks.....
    Last edited by astanapane; - 21st June 2018 at 07:45.

  7. #7
    Join Date
    May 2013
    Location
    australia
    Posts
    2,392

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    1) For GPS, i have tried to send the "right" command for increase the baudrate, with no sucess....it seems that the GPS receives the command but does not like it :P.
    the data sheet for the module should resolve that issue

    2) ulcd seems to work with higher baud rate, but i need to configure the delay times for each command. I havent really understand how to increase the baudrate corresponding to delays. The ulcd needs some delay time to accept the command and display it properly. Is it right?
    the ulcd data sheet should give you that information

    3) SD card with FAT 16 (when i reach that point we will discuss further). At the moment it is clear that up to 2GB fat 16 is required and is not necessary high MCU speed. But i will try to get the maximum from the PIC.
    since sd cards use spi [a synchronous data transfer method] cpu osc speed is largely irrelevant as long as it not too fast for the card/mssp combination
    when you use the mssp module there are several spi clock options.


    a PIC18LF4550 is in my opinion not a good choice , the project calls for a chip with two eusarts.


    I would like to apologize for "breaking" the original TOPIC. Is it possible an Admin to move all the discussion i have started from POST #66, in a NEW thread? Thanks.....
    I agree, as I have said from the start what you are asking has no relevance to maidenhead in any way shape or form
    Warning I'm not a teacher

  8. #8
    Join Date
    Oct 2010
    Posts
    411

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hi Richard,

    thanks once again for your time and help. You are right regarding the 18LF4550. It is not for my application.

  9. #9
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    67

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    Quote Originally Posted by astanapane View Post
    1) For GPS, i have tried to send the "right" command for increase the baudrate, with no sucess....it seems that the GPS receives the command but does not like it :P.
    Some modules requires you to send a checksum at the end of the command. Here for a NEO-6M GPS Module:

    Code:
    'Turn off RMC - Recommended minimum specific GPS/Transit data
    hserout2 ["$PUBX,40,RMC,0,0,0,0,0,0*47", 13, 10]
    pause 500
    
    'Turn off GSA - GPS DOP and active satellites
    hserout2 ["$PUBX,40,GSA,0,0,0,0,0,0*4E", 13, 10]
    pause 500
    
    'Turn off GSV - GPS Satellites in view
    hserout2 ["$PUBX,40,GSV,0,0,0,0,0,0*59", 13, 10]
    pause 500
    
    'Turn off GLL - Geographic position, latitude / longitude
    hserout2 ["$PUBX,40,GLL,0,0,0,0,0,0*5C", 13, 10]
    pause 500
    
    'Turn on  ZDA
    hserout2 ["$PUBX,40,ZDA,0,1,0,0,0,0*45", 13, 10]
    pause 500
    Do you really need to change the baud rate? If you are just logging then 9600 is more than enough.

    FYI, here is my source for most of the NMEA sequences: http://aprs.gids.nl/nmea/

  10. #10
    Join Date
    Oct 2010
    Posts
    411

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    Quote Originally Posted by MichelJasmin View Post
    Some modules requires you to send a checksum at the end of the command. Here for a NEO-6M GPS Module:

    Code:
    'Turn off RMC - Recommended minimum specific GPS/Transit data
    hserout2 ["$PUBX,40,RMC,0,0,0,0,0,0*47", 13, 10]
    pause 500
    
    'Turn off GSA - GPS DOP and active satellites
    hserout2 ["$PUBX,40,GSA,0,0,0,0,0,0*4E", 13, 10]
    pause 500
    
    'Turn off GSV - GPS Satellites in view
    hserout2 ["$PUBX,40,GSV,0,0,0,0,0,0*59", 13, 10]
    pause 500
    
    'Turn off GLL - Geographic position, latitude / longitude
    hserout2 ["$PUBX,40,GLL,0,0,0,0,0,0*5C", 13, 10]
    pause 500
    
    'Turn on  ZDA
    hserout2 ["$PUBX,40,ZDA,0,1,0,0,0,0*45", 13, 10]
    pause 500
    Do you really need to change the baud rate? If you are just logging then 9600 is more than enough.

    FYI, here is my source for most of the NMEA sequences: http://aprs.gids.nl/nmea/
    Yep, thanks a lot.....i've seen all that, for my case i have the MKT 3333 and 3339 module. Which have the following

    Code:
    'serout2 gps_rx,84, ["$PMTK314,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0*0D",13,10]      
    'serout2 gps_rx,84, ["$PMTK251,57600*2C",13,10]      ' baudrate, check MTK manual configuration
    'serout2 gps_rx,84, ["$PMTK220,200*2C",13,10]        ' 200(millisecond)=0.2(sec)-->1/0.2 pps=5 Hz
    The problem is that it does not work for some reason.

    I think i need to use the HSEROUT2 instead of SEROUT2. I'm confused at this point.

    I get online help for checksum from this site

    http://www.hhhh.org/wiml/proj/nmeaxor.html

  11. #11
    Join Date
    Oct 2010
    Posts
    411

    Default Re: How do I discern Maidenhead Locator from GPS lat long info.

    Quote Originally Posted by midali View Post
    The file "PK2Devicefile.dat" have not edited the microcontroller type. Use DEVICE EDITOR software from here https://sites.google.com/site/pk2devicefileeditor/ and here is the Device ID PIC's
    Really thanks a lot for your kind help. I would keep the dat. file as it is for now. I'm a bit afraid to play with that .dat file at the moment. If i need to use a PIC that is not on the pickit2 list, then i will give it a try.

Similar Threads

  1. LAT replaces PORT command?
    By markscotford in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd December 2011, 16:37
  2. Need Info for PBP?
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 30th January 2009, 07:44
  3. Replies: 1
    Last Post: - 27th July 2008, 06:14
  4. dmx info.
    By oscar in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th May 2005, 11:54

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts