KS0216 keyestudio RPI GPS Shield
keyestudio RPI GPS Shield
It is based on NEO-6 u blox 6 GPS module, compatible with Raspberry Pi 3. Plug it into Raspberry Pi 3. Upload correct codes to Raspberry Pi 3, and you can find your exact location within a few meters. It also provides you with a very accurate time! It can be used in car navigation, personal positioning, fleet management, navigation and so on.
- Using active GPS antenna.
- With 40 pins, convenient to connect external devices.
- Comes with screws, nuts, copper pillars, easy to fix on Raspberry Pi.
To get started, hook the GPS module up to your Pi as follows, cross-connecting the TX and RX pins (TX on one device goes to RX on the other and vice versa), and supply 5V from the Pi to the VIN pin on the GPS module.
b. Bluetooth and Debug share the same serial port together and, but you can just use BT or Debug on one time. For the Raspberry Pi 3 you need to explicitly enable the serial port on the GPIO pins. The reason for this is a change with the Pi 3 to use the hardware serial port for Bluetooth and instead use a slightly different software serial port for the GPIO pins. A side effect of this change is that the serial port will actually change speed as the Pi CPU clock throttles up and down--this will unfortunately cause problems for most serial devices like GPS receivers!
Step by step as shown below：
1. There is now a device tree file called pi3-miniuart-bt which makes the Raspberry Pi 3 disable the Bluetooth and map pl011 UART on pins 14 and 15 as before.
Add device tree to /boot/config.txt to disable the Raspberry Pi 3 bluetooth:
sudo vi /boot/config.txt Add at the end of the file: dtoverlay=pi3-miniuart-bt enable_uart=1
Change the file to the following:
e. A great way to test out the serial port is to use the minicom program. When installing it, you may sometimes can’t find download path of source code. So you can write cd /etc/apt in the terminal, and then edit sudo vi sources.list to modify address.
Change the path shown in the red box into：
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
g. You can then use Minicom to send and receive data over the serial port :
minicom -b 9600 -o -D /dev/ttyAMA0
-b to set baud rate, the same as that of module;-o dis-initialized Mode and an unlock file；-D define interface.