Shop OBEX P1 Docs P2 Docs Learn Events
Shorten waiting period between etch GPS update. — Parallax Forums

Shorten waiting period between etch GPS update.

ArchiverArchiver Posts: 46,084
edited 2003-12-19 00:18 in General Discussion
I need to shorten the waiting period between etch GPS update, to
free BS2p to do other tasks.

The GPS module is sending serial strings ones every second. (Cant
change this)
But then I have to `monitor' the Serin using wait if I need to
update every second. (yes, I need to update every sec)

The GPS send a lot of unnecessary info before sending: $GPRMC then
some more unnecessary info before one second pause sending nothing.

I use in7 as GPS serial input. Then I guess I could do something
like:
If In7>0 Then SERIN 7, 16884, 4000, No_GPS_Data, [noparse][[/noparse]WAIT("GPRMC,")…..

I have not tried this, but in theory I could let the BS2p do
something else as long (1sec) as the GPS don't send anything.

Any other way of shorten the wait?
What about a 555 timer, synchronized with the GPS?
Or other hardware adjustments?

Stein.
Sign In or Register to comment.