Help to setup GPS connection.


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Read this
    http://www.picbasic.co.uk/forum/showthread.php?t=5667

    To give you a good answer we would need the data sheet of the GPS.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Oct 2008
    Posts
    65


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Quote Originally Posted by mackrackit View Post
    Read this
    http://www.picbasic.co.uk/forum/showthread.php?t=5667

    To give you a good answer we would need the data sheet of the GPS.
    So far based on what I read I think, voltage divider is not needed because I just want data reading from GPS(LS20031) to MCU or PC.
    For GPS to Pic16F877A
    GPS Tx--> Mcu Rx
    For GPS to PC
    GPS Tx--> PC Rx

    thanks and regards,
    mbox
    Attached Images Attached Images
    Last edited by mbox; - 23rd October 2010 at 01:47.

  3. #3
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mbox View Post
    So far based on what I read I think, voltage divider is not needed because I just want data reading from GPS(LS20031) to MCU or PC.
    For GPS to Pic16F877A
    GPS Tx--> Mcu Rx
    For GPS to PC
    GPS Tx--> PC Rx
    The LS20031 is TTL, and not RS-232. So you will not be able to send it out directly to the PC. You will need something like a max232, or an equivalent to invert the signal levels.

    Your PIC should be able to receive the TTL at 3.3v, even though I am guessing the PIC is at 5v. Just don't TX from the PIC to the GPS without a level shifter.
    http://www.scalerobotics.com

  4. #4
    Join Date
    Oct 2008
    Posts
    65


    Did you find this post helpful? Yes | No

    Default

    Sorry its been a while, been busy working with other things.
    The LS20031 is TTL, and not RS-232. So you will not be able to send it out directly to the PC. You will need something like a max232, or an equivalent to invert the signal levels.

    Your PIC should be able to receive the TTL at 3.3v, even though I am guessing the PIC is at 5v. Just don't TX from the PIC to the GPS without a level shifter.
    Thanks for the info...one more question, I don't have 20Mz crystal, but I do have 20.945 Cyrstal, can I use it?

    thanks in advance,
    mbox

Members who have read this thread : 1

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