GPS on SIM7600G-H 4G HAT (B) for Raspberry Pi

I bought this device from Amazon to use for a project with a Raspberry Pi Zero and a data sim from my Google Fi Account where I wanted network connectivity. The fact that it had GPS as well was a bonus.

I installed gpsd on raspian. (apt install gpsd gpsd-clients -y) It didn’t automatically recognize the GPS. I was able to get it working by modifying /etc/default/gpsd to have the line DEVICES=”/dev/ttyUSB1″ and then starting the GPS with the command echo AT+CGPS=1 >/dev/ttyUSB2

After that combination, running gpsmon or cgps returned results after the GPS had been able to achieve a fix.

vi /etc/default/gpsd
echo AT+CGPS=1
lsusb -t

I’ve still not got it automatically starting the GPS with the echo command and am working to figure the best place to have that command.

SIM7600G-H 4G HAT (B) for Raspberry Pi, LTE Cat-4 4G / 3G / 2G Support, GNSS Positioning, Global Band
SKU: 19485
Part Number: SIM7600G-H 4G HAT (B)
Brand: Waveshare

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s