L76X GPS HAT User Manual
Install minicom:
sudo apt-get install minicom
Using minicom:
minicom -D /dev/ttyS0 -b 9600
【Note】If you use Raspberry Pi zero, the serial port should be ttyAMA0, you can confirm the port by
command: ls -l /dev/serial0
b 9600 to set it as 9600
If you want to exit, you can press Ctrl + A, press X and choose Yes, then Enter.
RUNNING CODES
Enter RaspberryPi folder (The directory of example) and run it with commands:
wiringPi code:
cd ~/RaspberyPi/wiringpi
sudo ./main
python code:
cd ~/RaspberryPi/python
sudo python main.py
EXPECTED RESULT
It requires about 35s to locate (first time).
The default baud rate of minicom is 115200, here we use parameters -
12 / 15