EasyManua.ls Logo

Waveshare L76X GPS HAT - Running Codes; Expected Result

Waveshare L76X GPS HAT
15 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
L76X GPS HAT User Manual
12 / 15
Install minicom:
sudo apt-get install minicom
Using minicom:
minicom -D /dev/ttyS0 -b 9600
NoteIf you use Raspberry Pi zero, the serial port should be ttyAMA0, you can confirm the port by
command: ls -l /dev/serial0 The default baud rate of minicom is 115200, here we use parameters -
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).