Page 1 of 1

Problem with GPS

Posted: Tue May 09, 2017 8:40 am
by profeciak
Hi all,
I've connected my GPS via UART port to the Raspberry, after I use sudo cat /dev/serial0 then for some period of time I got the coordinates and all that stuff, but after few minutes it suddenly stops working. Also when I use sude gpsmon /dev/serial0 then for some period of time it works properly and then I get "Read error from device". What could possibly be wrong? I've already checked if the GPS is not injured by connecting it through a FTDI to the computer and using a u-blox software and it works just fine

Re: Problem with GPS

Posted: Tue May 09, 2017 9:38 am
by Ernst
Could it be that the GPS module has gone to sleep ?

see 1.14.3: https://www.u-blox.com/sites/default/fi ... 09005).pdf

Re: Problem with GPS

Posted: Tue May 09, 2017 9:45 am
by profeciak
Ernst wrote:Could it be that the GPS module has gone to sleep ?

see 1.14.3: https://www.u-blox.com/sites/default/fi ... 09005).pdf
I don't think so, because then it will go to sleep also when connected to the computer. When I check syslog I can see serial service holdoff time over, scheduling restart. I think it might be the cause of this problem, but I don't know how to fix it