![SK Pang Electronics RSP-PICANGPS Скачать руководство пользователя страница 6](http://html1.mh-extra.com/html/sk-pang-electronics/rsp-picangps/rsp-picangps_user-manual_1286341006.webp)
PiCAN 2 GPS Rev B V1.1
SK Pang Electronics Ltd
Ó
2020
www.skpang.co.uk
6
sudo nano /boot/cmdline.txt
Change
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1
root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline
fsck.repair=yes rootwait
to
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2
rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
That is remove
console=serial0,115200
Reboot Pi:
sudo reboot
1.8.
Basic GPS Test
The raw data can be read by:
stty -F /dev/ttyS0 raw 9600 cs8 clocal –cstopb
Now read the data
cat /dev/ttyS0
If you see the data with lots of commas then it means the module has not got a fix yet.
Make sure the GPS module has a clear view of the sky. Alternatively connect an
external GPS antenna to the board and place the antenna outdoor.
You should see something like this: