I am trying to interface a LS20031 GPS to a PIC16F887. The LS20031 is TTL level(3.3 volt) and the PIC is 5 volts. The GPS needs less than 100mah power.
Is this the way to do this? I don’t want to fry the GPS module or the PIC.
Your circuit looks okay. I do not see anything in it that would fry your components, but you should check the datasheet of your PIC to make sure it will accept 3.3 V as a logic high. If not, you will need a level shifter on the GPS TX - PIC RX line.