GPS (GP-20U7) + Raspberry Pi 2

From ESE205 Wiki
Revision as of 16:04, 3 May 2016 by Mcetta (talk | contribs)
Jump to: navigation, search

Wiring GPS

  1. Voltage and Ground - There will be 3 wires, one for voltage usually indicated by VCC which is red and one for ground indicated by GND which is black. Connect the VCC to the 3.3V pin and the GND to the GND pin.
  2. Locate serial pin on GPS - As with any GPS we need to locate the serial connection for the GPS. There should be one more serial wire connected to the rx or tx pin of the GPS, it should be tx if you wish to receive GPS data on the Raspberry Pi.
  3. Connect to corresponding serial pin on Raspberry Pi - Once you know which GPS serial lead you have, connect it to the opposite serial pin on the Raspberry Pi so they may communicate data. (rx to tx, tx to rx)

Connecting GPS to Serial Port

  1. Open Serial Port - Using a series of terminal commands disable the serial port and restart the Raspberry Pi.
  2. Configure for GPS and connect - Match the baud rate, parity, stop bits, and bit size to the data sheet values provided using python code.