Difference between revisions of "RPI GPS Board"

From ElectroDragon
Jump to navigation Jump to search
Line 4: Line 4:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! Board Interface !! RPI !! Header text
+
! Board Interface !! RPI !! Default
  
 
|-
 
|-
| SD CS Selection || via 3-way jumper: GPIO8 or GPIO7 || Example
+
| SD CS Selection || via 3-way jumper: GPIO8 or GPIO7 || IO7
 
|-
 
|-
 
| RF(LORA) CS Selection ||  
 
| RF(LORA) CS Selection ||  
 
* via 3-way jumper: GPIO8 or GPIO7
 
* via 3-way jumper: GPIO8 or GPIO7
 
* via 2-way jumper: GPIO25  
 
* via 2-way jumper: GPIO25  
|| Example
+
|| IO8
 
|-
 
|-
| RF(LORA) DIO0 || GPIO4 || Example
+
| RF(LORA) DIO0 || GPIO4 || IO4
 
|-
 
|-
| RF(LORA) RST || GPIO17 || Example
+
| RF(LORA) RST || GPIO17 || IO7
 
|-
 
|-
 
| SD / RF: SCK MOSI MISO || GPIO 9 / 10 / 11 || Example
 
| SD / RF: SCK MOSI MISO || GPIO 9 / 10 / 11 || Example
 
|-
 
|-
| GPS_INT || GPIO 22 || Example
+
| GPS_INT || GPIO 22 || IO22
 
|-
 
|-
| GPS_1PPS || On board LED or GPIO27 || Example
+
| GPS_1PPS || On board LED or GPIO27 || LED
 
|}
 
|}
  

Revision as of 00:54, 29 June 2020

Hardware Configuration

3-way jumper setup

Board Interface RPI Default
SD CS Selection via 3-way jumper: GPIO8 or GPIO7 IO7
RF(LORA) CS Selection
  • via 3-way jumper: GPIO8 or GPIO7
  • via 2-way jumper: GPIO25
IO8
RF(LORA) DIO0 GPIO4 IO4
RF(LORA) RST GPIO17 IO7
SD / RF: SCK MOSI MISO GPIO 9 / 10 / 11 Example
GPS_INT GPIO 22 IO22
GPS_1PPS On board LED or GPIO27 LED


Software Usage

  • Use serial to read raw data, tutorial here: RPI UART, please make sure login shell on uart is turned off
  • Data output example:
$GPTXT,01,01,01,NMEA unknown msg*58
$GPTXT,01,01,01,NMEA unknown msg*58
$GPTXT,01,01,01,NMEA unknown msg*58
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
  • recommanded GPS parsing application GPSD