Template: L76K GPS Module Raspberry Pi Pico

From Waveshare Wiki
Revision as of 06:36, 2 September 2023 by Waveshare-admin (talk | contribs) (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Working With Raspberry Pi Pico

Hardware Connection

Module Raspberry Pi Pico
VCC 5V
GND GND
TX GP1
RX GP0
PPS NC

Environment Building

We test the demo with Thonny in this tutorial, click to download the related IDE and open Thonny.

  • Please refer to the official document to set up the Python environment. Choose a Raspberry Pi Pico device in Tools->Options->Interprete. As shown below:

Pico-GPS-002.jpg

Download Demo

1. Click to download the sample demo.
2. Unzip the sample demo.
3. Open Thonny, first confirm that you have connected to Pico, then open the decompressed demo path in the upper left corner, right-click on the Pico folder, and select upload, as shown in the figure:
L76K GPS Module Pico.png

How To Use the Demo

1. Open Thonny IDE, choose the Pico directory, double-click the coordinate_convert.py file, and then run the demo, as shown below:
L76K GPS Module Pico2.png
2. Under sunny conditions, the L76K will obtain the positioning information about 30 seconds after it is powered on, as shown in the following figure when running the demo.
L76K GPS Module Pico3.png
3. The user can copy the positioning information displayed in the terminal in Thonny, and use Google Map and Baidu Map to mark the coordinates.