[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] gpsd interfacing to SIM868 based Raspberry PI hat.

From: shouldbe q931
Subject: Re: [gpsd-users] gpsd interfacing to SIM868 based Raspberry PI hat.
Date: Tue, 14 May 2019 19:17:01 +0100

On Tue, May 14, 2019 at 3:52 PM Thomas Schweikle <address@hidden> wrote:

- Raspberry PI HAT based on SIM868 set to communicate with GPIO serial port
- Raspberry PI 2B+ GPIO set to serial, no console 8N1 at 115200baud

Hardware works. Can switch "on" this board. After sending

echo "ATE0" > /dev/ttyAMD0
echo "AT+CGNSPWR=1" > /dev/ttyAMA0

PPS LED turns blinking 1s pulses after about 28s. GPIO pin 18 is pulled every second.

# cat < /dev/ttyAMA0

does not give back anything.
Starting gpsd with

# gpsd -N /dev/ttyAMA0

starts gpsd running as user gpsd. But it does not lead to nothing. gpsd is just started nothing else happens. Seems to wait on data on /dev/ttyAMA0.

Any idea how to initialize the SIM868 based board to make it work with gpsd?


From page 23 of this PDF

AT+CGNSPWR=1 (power on GNSS)
AT+CGNSTST=1 (Turn on NMEA output)

Have you tried turning on NMEA output ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]