Trouble getting gy-neo6mv2 serial data with RS232


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Trouble getting gy-neo6mv2 serial data with RS232

    Quote Originally Posted by achilles03 View Post
    And I misspoke when I said I had connected the module to an RS-232 port... it's a serial port on a 10+ year old computer using windows 98
    That’s almost certainly an RS232 serial port with typical 12 Volt signal, and 24 Volt swing,
    and it occurs to me you misspoke when you say you connected the GPS rx pin to the computer, or you wouldn’t see anything if the ports were compatible!
    So if you have only connected your GPS tx pin to the PC serial port rx pin, I don’t suppose there’s a problem in terms of damage, but surprising you see anything on the terminal.
    So check the 628 data sheet for what voltage is a logic high for the pic input pin you use as GPS receive, and I think you’ll find it’s below 3V.
    Fine if you only want to receive data from the GPS, but if you want to configure it with the pic it will be a different story,
    and you will want to level shift the pic’s 5V serial transmit output to the 3.3/3.6 V or whatever it was for the Ublox.
    The standard NMEA is present for default configuration, so you might not need to ever change the default configuration.

    I haven't connected a Ublox to a PC, but the sentence format is exactly as specified in the data sheet.

    If you can connect the 628A to the PC as in the manual, you might as well do that.
    If using PBP software serial read the ublox data into a big array, then you have the rest of the second to spit the array to the PC.
    If using hardware serial on the 628A, you should be able to read a byte and if a byte was received, transmit a byte (in a loop).

    You want something like 100 byte array or a little less to receive everything the Ublox will spit out by default,
    probably larger than the maximum array, but IIRC, all of the good stuff comes first.
    Last edited by Art; - 8th September 2015 at 19:16.

Similar Threads

  1. Trouble in reading eeprom data..
    By tacbanon in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th November 2011, 04:24
  2. strange rs232 data displayed
    By MOUNTAIN747 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 13th January 2010, 20:09
  3. Colect data from rs232
    By ruijc in forum General
    Replies: 12
    Last Post: - 3rd January 2008, 21:10
  4. Reading large data via RS232
    By Robson in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 28th August 2007, 19:37
  5. serial trouble
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th November 2004, 23:29

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