Sounds about right for the PC, data getting through as the
232 chip was powering up and down.
232 chip is not needed with the PC and if you are
using SERIN2 then run the PIC in inverted mode.
Keep it simple...
Sounds about right for the PC, data getting through as the
232 chip was powering up and down.
232 chip is not needed with the PC and if you are
using SERIN2 then run the PIC in inverted mode.
Keep it simple...
Dave
Always wear safety glasses while programming.
Now I think I may see the problem. I will assume your GPS unit sends data at 4800?
Here is a snippet from one of my programs. No 232 chip.
Code:SERIN2 PORTB.1,16572,[WAIT("$GPGGA"),WAIT(","),DEC2 H,DEC2 M,DEC2 S,_ WAIT(","),DEC2 ND,DEC2 NM,WAIT("."),DEC3 NMD,WAIT(",N,"),_ DEC3 WD,DEC2 WM,WAIT("."),DEC3 WMD]
Dave
Always wear safety glasses while programming.
It should work.then use serout2 str gps_data\6] would str gps_data\6 show the next 6 characters even it was a comma or dollar sign etc?
can you post the data sheet for the GPS module you are using
Dave
Always wear safety glasses while programming.
Hi,
As it runs off 3.3v here is a PDF on interfacing it. Hope it helps.
http://www.crownhill.co.uk/datasheets/ZX4120%20GPS.pdf
Bob
Bookmarks