HARDWARE | PA1616 Series GPS Sensors Comparison


1. GPS Sensors

저의 방사는 측정기인 bGeigie Nano 에서, 원래 사용하고 있었던 GPS 센서 정보는 다음과 같습니다.

* Adafruit Ultimate GPS Breakout - 66 channel w/10 Hz updates - PA1616S
  - Website


언제부터 인지, 아래와 같이 새로운 모듈이 나왔다는 글을 보게 됩니다.

As of Sept 2021, the original "Ultimate GPS" module we used was discontinued by the vendor. We found and are using a nearly identical version of the module with the same functionality. The commands for querying the antenna have changed slightly so existing projects may need to update their firmware.

그래서 신형 GPS 센서를 찾아 보았습니다. 좋아 보이는 군요.

* Adafruit Ultimate GPS Breakout with GLONASS + GPS - PA1616D - 99 channel w/10 Hz updates
  - Website


다만, 주의 안내 문구로, 새로운 센서 사용시에는 기존 펌웨어를 바꿀 필요도 있다고 표현되어 있습니다.

Compared to the 'classic' MTK3339 chipset firmware, the commands for querying the antenna have changed slightly so existing projects may need to update their firmware. Check the datasheet below for the new antenna query commands. Also, NMEA sentences will start with $GN instead of $GP when both GPS and GLONASS are available.


스펙 비교는 다음과 같습니다.

+--------------------+-----------+----------------------------+
| Feature            | PA1616S   | PA1616D                    |
+--------------------+-----------+----------------------------+
| Chipset            | MTK3339   | MTK3333                    |
| Channels           | 66        | 99                         |
| Satellite Systems  | GPS only  | GPS + GLONASS              |
| Current Draw       | ~20mA     | ~29mA (9mA more)           |
| Module Height      | Shorter   | Slightly taller (~4mm more)|
| Update Rate        | 10 Hz     | 10 Hz                      |
| Sensitivity        | -165 dBm  | -165 dBm                   |
+--------------------+-----------+----------------------------+

위 두개의 센서들의 주요 차이점으로는 다음과 같습니다.
--------------
1. GLONASS Support - PA1616D는 GLONASS (러시아 위성 시스템) 를 추가 지원하여, 전 세계적으로 더 넓은 커버리지와 빠른 위치 고정(Time-to-Fix)을 제공합니다. 특히 GPS 수신이 어려운 지역에서 유리합니다.
2. More Channels - 수신 채널이 66개에서 99개로 늘어나, PA1616D는 위성 탐색 시 더 많은 위성을 동시에 검색할 수 있습니다.
3. Higher Power Consumption - PA1616D는 탐색 및 추적 모드 모두에서 약 9mA 더 많은 전류를 소비합니다.
4. Physical Size - PA1616D는 PA1616S보다 높이가 약 4mm 더 큽니다.
--------------

그래서 아래와 같은 선택기준을 가질 수 있습니다.
--------------
* PA1616S : GPS만으로 충분하고, 저전력이 중요한 경우에 적합
* PA1616D : 도심 협곡, 고위도 지역 등 수신 환경이 열악하거나, 빠른 위성 탐색이 필요한 경우에 적합
--------------

저는 백두대간 탐사나, 여러 장소를 가기 때문에 PA1616D 로 업그레이드 하는 것이 더 효과를 볼 수 있습니다. 전력을 좀더 소비한다고 하지만, 이미 배터리 업그레이드를 해 놓은 상태라 염려가 되지 않습니다. 배터리를 계속 켜놓고 있어도, 하루 이상 가게 만들어 놔서, 하루 단위로 산행하는 저로서는 문제 없습니다. 위의 스펙을 참고한 사이트 들은 다음과 같습니다.


사실 PA1616은 S / D / G 종류 3가지가 존재하고, G 버전에 대해서는 다른 글에서 따로 설명하겠습니다. 일단, 각 module 의 datasheet 에 대해 아래와 같이 준비되어 있으므로, 참고하면 좋겠습니다.

* PA1616S

* PA1616D

* PA1616G

* Antenna Module Application

주의할 점은, PA1616D 의 V.05 와 V.06 이 메뉴얼 상으로는 아래 테이블 처럼, 매우 크리티컬한 부분에서 다른 내용을 보여줍니다. 아마 버전이 높은 것이 맞겠지만, 실제 활용에 있어 직접 확인이 필요하겠습니다.

+-------------------------+------------------------------+-----------------------------+
|                         |             V.05             |             V.06            |
+-------------------------+------------------------------+-----------------------------+
| Antenna status sentence | $PCD,11,1*66 / ,2*65 / ,3*64 | $PCD,9,1*5F / ,2*5C / ,3*5D |
+-------------------------+------------------------------+-----------------------------+
| Control command         | $CDCMD,33,1*7C / ,0*7D       | $CDCMD,9,1*45 / ,0*44       |
+-------------------------+------------------------------+-----------------------------+
| Command ID (Table-13)   | 11                           | 9                           |
+-------------------------+------------------------------+-----------------------------+
| Polarity as documented  | ,1 = Enable / ,0 = Disable   | ,1 = disable / ,0 = enable  |
+-------------------------+------------------------------+-----------------------------+



2. PA1616D

위 내용을 접한 뒤, 매우매우 궁금해졌습니다. 사실 bGeigie Nano 사용하면서 불만이 GPS 잡는게 하 세월이었거든요. 이걸로 업그레이드 하면 왠지 개선될 것 같았습니다. 저번에 Raspberry Pi Compute Module 5 구입하면서, 같이 배송 시켰습니다.


믿고 구매하는 DigiKey.


몇 년을 고민한 이후, 처음으로 마주한 제품 입니다.


잘 포장되어 도착 했습니다.


예상 했던 것 처럼, 기존 breakout 보드와 완벽하게 동일 합니다. 바뀐건 GPS 센서 뿐 입니다.


뒷모습.


코인셀 커버가 분리되어 나왔었는데, 이번 제품은 처음부터 납땜되어서 왔습니다.




3. Connections

우선 GPS 센서로써 활용할 수 있는지, 잘 동작하는지를 확인하기 위해 Arduino 와 연결해 봅니다.


필요한 Library 를 설치합니다. Adafruit GPS 를 구매했으니, 자연스럽게 Adafruit GPS Library 를 설치합니다.


Arduino 에 올릴 source 로는, GPS_HardwareSerial_EchoTest 입니다.


Leonardo / Flora / Feather 등의 보드였다면, Hardware Serial 이 있어서 잘 동작 했을 터인데, Arduino Nano 보드는 UART 전용 HardwareSerial pinout 이 없어서 동작을 안하는 군요.

그래서, SoftwareSerial_EchoTest 를 사용 해봤습니다. 소스에서 SoftwareSerial mySerial(8, 7)로 D8을 RX, D7을 TX로 지정했기 때문에 GPS TX를 D8에, GPS RX를 D7에 연결했습니다.

+----------------+------------------+----------------------------+
| GPS Module Pin | Arduino Nano Pin | Notes                      |
+----------------+------------------+----------------------------+
| VIN (Power)    | 5V               | Power supply               |
| GND            | GND              | Ground                     |
| TX             | D8               | GPS TX → Nano RX (receive) |
| RX             | D7               | GPS RX ← Nano TX (send)    |
+----------------+------------------+----------------------------+

소스는 다음과 같습니다.

// Test code for Adafruit GPS modules using MTK3329/MTK3339 driver
//
// This code just echos whatever is coming from the GPS unit to the
// serial monitor, handy for debugging!
//
// Tested and works great with the Adafruit Ultimate GPS module
// using MTK33x9 chipset
//    ------> http://www.adafruit.com/products/746
// Pick one up today at the Adafruit electronics shop
// and help support open source hardware & software! -ada

#include <Adafruit_GPS.h>
#include <SoftwareSerial.h>

// Connect the GPS Power pin to 5V
// Connect the GPS Ground pin to ground
// Connect the GPS TX (transmit) pin to Digital 8
// Connect the GPS RX (receive) pin to Digital 7

// You can change the pin numbers to match your wiring:
SoftwareSerial mySerial(8, 7);

#define PMTK_SET_NMEA_UPDATE_1HZ  "$PMTK220,1000*1F"
#define PMTK_SET_NMEA_UPDATE_5HZ  "$PMTK220,200*2C"
#define PMTK_SET_NMEA_UPDATE_10HZ "$PMTK220,100*2F"

// turn on only the second sentence (GPRMC)
#define PMTK_SET_NMEA_OUTPUT_RMCONLY "$PMTK314,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29"
// turn on GPRMC and GGA
#define PMTK_SET_NMEA_OUTPUT_RMCGGA "$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28"
// turn on ALL THE DATA
#define PMTK_SET_NMEA_OUTPUT_ALLDATA "$PMTK314,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0*28"
// turn off output
#define PMTK_SET_NMEA_OUTPUT_OFF "$PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28"

#define PMTK_Q_RELEASE "$PMTK605*31"

void setup() {
  while (!Serial); // wait for Serial to be ready

  Serial.begin(115200); // The serial port for the Arduino IDE port output
  mySerial.begin(9600);
  delay(2000);

  Serial.println("Software Serial GPS Test Echo Test");
  // you can send various commands to get it started
  //mySerial.println(PMTK_SET_NMEA_OUTPUT_RMCGGA);
  mySerial.println(PMTK_SET_NMEA_OUTPUT_ALLDATA);

  mySerial.println(PMTK_SET_NMEA_UPDATE_1HZ);

  Serial.println("Get version!");
  mySerial.println(PMTK_Q_RELEASE);
 }


void loop() {
  if (Serial.available()) {
   char c = Serial.read();
   Serial.write(c);
   mySerial.write(c);
  }
  if (mySerial.available()) {
    char c = mySerial.read();
    Serial.write(c);
  }
}

잘 동작합니다!


MCU 가 관여하지 않고, USB 칩과 직접 통신할 수 있도록 UART 를 이용해 봅니다. 이에 필요한 것은 아무것도 정의하지 않는 blank.ino 를 사용하는 것 입니다. 연결은 다음과 같습니다.

+----------------+------------------+---------------------------+
| GPS Module Pin | Arduino Nano Pin | Notes                     |
+----------------+------------------+---------------------------+
| VIN (Power)    | 5V               | Power supply              |
| GND            | GND              | Ground                    |
| TX             | D1 (TX)          | GPS TX → Nano hardware RX |
| RX             | D0 (RX)          | GPS RX ← Nano hardware TX |
+----------------+------------------+---------------------------+

소스는 다음과 같습니다. 하드웨어 시리얼 핀(D0/D1)을 사용하면서 setup()과 loop()를 비워둡니다. 이렇게 하면 ATmega 칩이 사실상 아무 일도 하지 않게 되어, GPS 모듈이 USB-시리얼 변환 칩(FTDI/CH340)과 직접 통신하게 됩니다. 덕분에 Arduino가 데이터를 처리하지 않고도, 컴퓨터의 시리얼 터미널에서 GPS의 NMEA 원시 데이터를 바로 읽을 수 있게 됩니다.

// this sketch will allow you to bypass the Atmega chip
// and connect the GPS sensor directly to the USB/Serial
// chip converter.

// Connect VIN to +5V
// Connect GND to Ground
// Connect GPS RX (data into GPS) to Digital 0
// Connect GPS TX (data out from GPS) to Digital 1

void setup() {}
void loop() {}

잘 나오는군요. 그리고 구매한 GPU breakout 보드도 잘 동작합니다!


이대로 끝내기는 아쉬우니, GPS 에서 받은 log 를, 사람이 쉽게 읽을 수 있는 내용으로 바꿔 주는 GPS_SoftwareSerial_Parsing.ino 도 실행해 봤습니다.

// Test code for Adafruit GPS modules using MTK3329/MTK3339 driver
//
// This code shows how to listen to the GPS module in an interrupt
// which allows the program to have more 'freedom' - just parse
// when a new NMEA sentence is available! Then access data when
// desired.
//
// Tested and works great with the Adafruit Ultimate GPS module
// using MTK33x9 chipset
//    ------> http://www.adafruit.com/products/746
// Pick one up today at the Adafruit electronics shop
// and help support open source hardware & software! -ada

#include <Adafruit_GPS.h>
#include <SoftwareSerial.h>

// Connect the GPS Power pin to 5V
// Connect the GPS Ground pin to ground
// Connect the GPS TX (transmit) pin to Digital 8
// Connect the GPS RX (receive) pin to Digital 7

// you can change the pin numbers to match your wiring:
SoftwareSerial mySerial(8, 7);
Adafruit_GPS GPS(&mySerial);

// Set GPSECHO to 'false' to turn off echoing the GPS data to the Serial console
// Set to 'true' if you want to debug and listen to the raw GPS sentences
#define GPSECHO  true

void setup()
{

  // connect at 115200 so we can read the GPS fast enough and echo without dropping chars
  // also spit it out
  Serial.begin(115200);
  delay(5000);
  Serial.println("Adafruit GPS library basic parsing test!");

  // 9600 NMEA is the default baud rate for Adafruit MTK GPS's- some use 4800
  GPS.begin(9600);

  // uncomment this line to turn on RMC (recommended minimum) and GGA (fix data) including altitude
  GPS.sendCommand(PMTK_SET_NMEA_OUTPUT_RMCGGA);
  // uncomment this line to turn on only the "minimum recommended" data
  //GPS.sendCommand(PMTK_SET_NMEA_OUTPUT_RMCONLY);
  // For parsing data, we don't suggest using anything but either RMC only or RMC+GGA since
  // the parser doesn't care about other sentences at this time

  // Set the update rate
  GPS.sendCommand(PMTK_SET_NMEA_UPDATE_1HZ);   // 1 Hz update rate
  // For the parsing code to work nicely and have time to sort thru the data, and
  // print it out we don't suggest using anything higher than 1 Hz

  // Request updates on antenna status, comment out to keep quiet
  GPS.sendCommand(PGCMD_ANTENNA);

  delay(1000);
  // Ask for firmware version
  mySerial.println(PMTK_Q_RELEASE);
}

uint32_t timer = millis();
void loop()                     // run over and over again
{
  char c = GPS.read();
  // if you want to debug, this is a good time to do it!
  if ((c) && (GPSECHO))
    Serial.write(c);

  // if a sentence is received, we can check the checksum, parse it...
  if (GPS.newNMEAreceived()) {
    // a tricky thing here is if we print the NMEA sentence, or data
    // we end up not listening and catching other sentences!
    // so be very wary if using OUTPUT_ALLDATA and trytng to print out data
    //Serial.println(GPS.lastNMEA());   // this also sets the newNMEAreceived() flag to false

    if (!GPS.parse(GPS.lastNMEA()))   // this also sets the newNMEAreceived() flag to false
      return;  // we can fail to parse a sentence in which case we should just wait for another
  }

  // approximately every 2 seconds or so, print out the current stats
  if (millis() - timer > 2000) {
    timer = millis(); // reset the timer

    Serial.print("\nTime: ");
    if (GPS.hour < 10) { Serial.print('0'); }
    Serial.print(GPS.hour, DEC); Serial.print(':');
    if (GPS.minute < 10) { Serial.print('0'); }
    Serial.print(GPS.minute, DEC); Serial.print(':');
    if (GPS.seconds < 10) { Serial.print('0'); }
    Serial.print(GPS.seconds, DEC); Serial.print('.');
    if (GPS.milliseconds < 10) {
      Serial.print("00");
    } else if (GPS.milliseconds > 9 && GPS.milliseconds < 100) {
      Serial.print("0");
    }
    Serial.println(GPS.milliseconds);
    Serial.print("Date: ");
    Serial.print(GPS.day, DEC); Serial.print('/');
    Serial.print(GPS.month, DEC); Serial.print("/20");
    Serial.println(GPS.year, DEC);
    Serial.print("Fix: "); Serial.print((int)GPS.fix);
    Serial.print(" quality: "); Serial.println((int)GPS.fixquality);
    if (GPS.fix) {
      Serial.print("Location: ");
      Serial.print(GPS.latitude, 4); Serial.print(GPS.lat);
      Serial.print(", ");
      Serial.print(GPS.longitude, 4); Serial.println(GPS.lon);

      Serial.print("Speed (knots): "); Serial.println(GPS.speed);
      Serial.print("Angle: "); Serial.println(GPS.angle);
      Serial.print("Altitude: "); Serial.println(GPS.altitude);
      Serial.print("Satellites: "); Serial.println((int)GPS.satellites);
      Serial.print("Antenna status: "); Serial.println((int)GPS.antenna);
    }
  }
}

실행 결과 화면 입니다.


친절하게 잘 변환해 줍니다. 맞습니다, 올해 2026년 1월 1월 정초에 쉬면서 가지고 놀고 있었습니다.

Time: 13:07:29.000
Date: 1/1/2026
Fix: 1 quality: 2
Location: 3720.1286N, 12705.7695E
Speed (knots): 0.01
Angle: 198.69
Altitude: 116.10
Satellites: 14
Antenna status: 0
$GNGGA,130730.000,3720.1286,N,12705.7700,E,2,14,0.76,116.1,M,19.9,M,,*7F
$GNRMC,130730.000,A,3720.1286,N,12705.7700,E,0.00,198.69,010126,,,D*72
$GNGGA,130731.000,3720.1286,N,12705.7700,E,2,13,0.90,116.1,M,19.9,M,,*71
$GNRMC,130731.000,A,3720.1286,N,12705.7700,E,0.01,198.69,010126,,,D*72

Arduino 를 통하는 방법도 좋으나, UART USB module 을 가지고 있으니, 더 직관적인 연결을 위해 이걸 이용해 봅니다.



4. USB Direct Connect

GPS Breakout 보드의 RX / TX 와 UART 보드의 TX / RX 와 연결하고, USB 를 PC 꽂으면 바로 확인이 가능합니다. 나중에 안 사실이지만, GPS 에 뭔가 데이터를 보내는 것이 아니라 GPS 정보를 받기만 하는 것이므로, TX(GPS) > RX(UART) 만 연결하면 됩니다.


요렇게요.


잘 동작하는 것에 확신을 가지기 위해 아파트 밖으로 가지고 나왔습니다. GPS 를 바로 잡는군요!!! 감동.


UART 연결은 USB 로 오는 신호를 바로 봐야 하기에, screen 명령어를 이용 했습니다.

screen /dev/cu.usbserial-10 115200

실제 로그 입니다.

$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GLGSA,A,1,,,,,,,,,,,,,,,*02
$GNRMC,082840.300,V,,,,,0.05,0.00,010126,,,N*57
$GNVTG,0.00,T,,M,0.05,N,0.10,K,N*28
$GNGGA,082841.300,,,,,0,0,,,M,,M,,*52
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GLGSA,A,1,,,,,,,,,,,,,,,*02
$GNRMC,082841.300,V,,,,,0.12,0.00,010126,,,N*50
$GNVTG,0.00,T,,M,0.12,N,0.22,K,N*2F
$GNGGA,082842.091,,,,,0,0,,,M,,M,,*5A
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GLGSA,A,1,,,,,,,,,,,,,,,*02
$GNRMC,082842.091,V,,,,,0.16,0.00,010126,,,N*5C
$GNVTG,0.00,T,,M,0.16,N,0.30,K,N*28
$GNGGA,082843.091,,,,,0,0,,,M,,M,,*5B
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GLGSA,A,1,,,,,,,,,,,,,,,*02
$GNRMC,082843.091,V,,,,,0.03,0.00,010126,,,N*59
$GNVTG,0.00,T,,M,0.03,N,0.06,K,N*29
$GNGGA,082844.091,,,,,0,0,,,M,,M,,*5C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GLGSA,A,1,,,,,,,,,,,,,,,*02
$GPGSV,1,1,02,07,,,24,01,,,32*7A
$GLGSV,1,1,01,79,,,32*6B
$GNRMC,082844.091,V,,,,,0.07,0.00,010126,,,N*5A
$GNVTG,0.00,T,,M,0.07,N,0.14,K,N*2E
$GNGGA,082845.091,,,,,0,0,,,M,,M,,*5D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GLGSA,A,1,,,,,,,,,,,,,,,*02
$GNRMC,082845.091,V,,,,,0.12,0.00,010126,,,N*5F
$GNVTG,0.00,T,,M,0.12,N,0.21,K,N*2C

아아, 잘 동작하는 것 같습니다.


처음 initializing 하고 있군요.


초기화가 끝나면, 바로 여러 GPS 에서 받은 정보드를 뿌려 줍니다.

$GNGGA,081436.000,3720.1302,N,12705.7637,E,2,12,1.02,134.0,M,19.9,M,,*7C
$GPGSA,A,3,01,02,195,16,07,194,14,10,,,,,1.47,1.02,1.05*01
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.47,1.02,1.05*13
$GNRMC,081436.000,A,3720.1302,N,12705.7637,E,0.22,356.00,010126,,,D*7B
$GNVTG,356.00,T,,M,0.22,N,0.41,K,D*23
$GNGGA,081437.000,3720.1302,N,12705.7637,E,2,12,0.98,134.0,M,19.9,M,,*7F
$GPGSA,A,3,01,02,195,16,07,194,14,10,,,,,1.22,0.98,0.72*01
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.22,0.98,0.72*13
$GNRMC,081437.000,A,3720.1302,N,12705.7637,E,0.13,356.00,010126,,,D*78
$GNVTG,356.00,T,,M,0.13,N,0.24,K,D*22
$GNGGA,081438.000,3720.1302,N,12705.7637,E,2,12,0.98,134.0,M,19.9,M,,*70
$GPGSA,A,3,01,02,195,16,07,194,14,10,,,,,1.22,0.98,0.72*01
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.22,0.98,0.72*13
$GNRMC,081438.000,A,3720.1302,N,12705.7637,E,0.11,356.00,010126,,,D*75
$GNVTG,356.00,T,,M,0.11,N,0.20,K,D*24
$GNGGA,081439.000,3720.1302,N,12705.7637,E,2,11,1.16,134.0,M,19.9,M,,*75
$GPGSA,A,3,01,02,195,07,194,14,10,,,,,,1.87,1.16,1.47*09
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.87,1.16,1.47*1C
$GPGSV,4,1,15,02,76,080,27,194,73,095,36,195,61,149,50,01,58,184,46*77
$GPGSV,4,2,15,07,50,239,47,08,48,053,,30,43,281,23,42,32,230,39*72
$GPGSV,4,3,15,14,23,309,31,27,18,068,29,10,12,048,25,22,09,306,24*7C
$GPGSV,4,4,15,17,09,261,17,16,08,119,18,03,02,164,20*4E
$GLGSV,1,1,04,82,80,306,16,80,70,338,18,79,49,138,48,73,15,325,26*6A
$GNRMC,081439.000,A,3720.1302,N,12705.7637,E,0.07,356.00,010126,,,D*73
$GNVTG,356.00,T,,M,0.07,N,0.12,K,D*22
$GNGGA,081440.000,3720.1302,N,12705.7637,E,2,11,1.05,134.0,M,19.9,M,,*79
$GPGSA,A,3,01,02,195,07,194,14,10,,,,,,1.34,1.05,0.83*0A
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.34,1.05,0.83*1F
$GNRMC,081440.000,A,3720.1302,N,12705.7637,E,0.08,356.00,010126,,,D*72
$GNVTG,356.00,T,,M,0.08,N,0.15,K,D*2A
$GNGGA,081441.000,3720.1302,N,12705.7636,E,2,12,1.13,134.0,M,19.9,M,,*7D
$GPGSA,A,3,01,02,195,07,194,22,14,10,,,,,1.75,1.13,1.34*05
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.75,1.13,1.34*10
$GNRMC,081441.000,A,3720.1302,N,12705.7636,E,0.06,356.00,010126,,,D*7C
$GNVTG,356.00,T,,M,0.06,N,0.11,K,D*20
$GNGGA,081442.000,3720.1301,N,12705.7636,E,2,13,0.97,134.0,M,19.9,M,,*71
$GPGSA,A,3,01,02,195,16,07,194,22,14,10,,,,1.36,0.97,0.96*01
$GLGSA,A,3,79,82,73,80,,,,,,,,,1.36,0.97,0.96*13
$GNRMC,081442.000,A,3720.1301,N,12705.7636,E,0.18,356.00,010126,,,D*73
$GNVTG,356.00,T,,M,0.18,N,0.33,K,D*2F

스샷 입니다.




5. u-center

MacOS 용 어플이 별로 없어서, Windows PC 에서 적당한 어플을 찾아 봤습니다. u-center 라는게 있습니다. 예전에 범용 GPS 모듈을 확인하기 위해 잠깐 사용해 본 어플 입니다.

* Software | u-blox 의 GPS 어플을 사용해 보자


요렇게 생겼습니다. 데이터 통신이 되긴 하는데 5초에 한번씩만 상태를 보여주고, 깜빡거립니다.




6. Visual GPS View

더 찾아 보니, 이런 어플도 있군요.


UART module 이 꼽혀 있는 포트를 지정하고, 9600 baud rate 를 선택해 줍니다.


크~ 정신없이 GPS 위성들을 잡아 버리는군요.


위치 정보도 별로 갱신하지 않습니다. 이는 한 곳에 정지했을 때, 여러 GPS 정보를 활용하여 positioning 정보를 정확하게 잡아 낸다는 이야기가 되겠습니다.


Arduino / Screen 으로 확인 해 봤지만, 이 어플의 NMEA Monitor 탭을 확인하면 생로그도 볼 수 있습니다.

$GLGSA,A,3,82,,,,,,,,,,,,1.99,1.77,0.90*1D
$GPGSV,2,1,08,01,83,069,27,02,48,045,29,17,29,286,21,08,26,080,23*71
$GPGSV,2,2,08,44,13,251,,194,,,28,195,,,,22,,,24*48
$GLGSV,1,1,02,82,48,022,34,83,,,27*58
$GNRMC,092448.000,A,3720.1474,N,12705.7658,E,1.00,357.86,010126,,,A*74
$GNVTG,357.86,T,,M,1.00,N,1.85,K,A*21
$GNGGA,092449.000,3720.1473,N,12705.7659,E,1,06,1.77,74.0,M,19.9,M,,*4E
$GPGSA,A,3,02,01,08,17,194,,,,,,,,1.99,1.77,0.90*3A
$GLGSA,A,3,82,,,,,,,,,,,,1.99,1.77,0.90*1D
$GNRMC,092449.000,A,3720.1473,N,12705.7659,E,0.72,357.86,010126,,,A*77
$GNVTG,357.86,T,,M,0.72,N,1.33,K,A*28
$GNGGA,092450.000,3720.1474,N,12705.7661,E,1,06,1.77,73.3,M,19.9,M,,*4E
$GPGSA,A,3,02,01,08,17,194,,,,,,,,1.99,1.77,0.90*3A
$GLGSA,A,3,82,,,,,,,,,,,,1.99,1.77,0.90*1D
$GNRMC,092450.000,A,3720.1474,N,12705.7661,E,0.52,357.86,010126,,,A*71
$GNVTG,357.86,T,,M,0.52,N,0.96,K,A*24
$GNGGA,092451.000,3720.1477,N,12705.7668,E,1,06,1.77,73.2,M,19.9,M,,*44
$GPGSA,A,3,02,01,08,17,194,,,,,,,,1.99,1.77,0.90*3A
$GLGSA,A,3,82,,,,,,,,,,,,1.99,1.77,0.90*1D
$GNRMC,092451.000,A,3720.1477,N,12705.7668,E,1.11,357.86,010126,,,A*7C
$GNVTG,357.86,T,,M,1.11,N,2.06,K,A*29
$GNGGA,092452.000,3720.1482,N,12705.7671,E,1,06,1.77,72.8,M,19.9,M,,*4E
$GPGSA,A,3,02,01,08,17,194,,,,,,,,1.99,1.77,0.90*3A
$GLGSA,A,3,82,,,,,,,,,,,,1.99,1.77,0.90*1D
$GNRMC,092452.000,A,3720.1482,N,12705.7671,E,0.71,357.86,010126,,,A*7A
$GNVTG,357.86,T,,M,0.71,N,1.32,K,A*2A
$GNGGA,092453.000,3720.1488,N,12705.7673,E,1,06,1.77,72.3,M,19.9,M,,*4C
$GPGSA,A,3,02,01,08,17,194,,,,,,,,1.98,1.77,0.90*3B
$GLGSA,A,3,82,,,,,,,,,,,,1.98,1.77,0.90*1C
$GPGSV,2,1,08,01,83,069,25,02,48,045,30,17,29,286,20,08,26,080,24*7D
$GPGSV,2,2,08,40,12,252,,194,,,28,195,,,,22,,,23*49
$GLGSV,1,1,02,82,48,022,33,83,,,24*5C
$GNRMC,092453.000,A,3720.1488,N,12705.7673,E,0.14,357.86,010126,,,A*70
$GNVTG,357.86,T,,M,0.14,N,0.27,K,A*2C
$GNGGA,092454.000,3720.1494,N,12705.7672,E,1,06,1.77,72.4,M,19.9,M,,*40
$GPGSA,A,3,02,01,08,17,194,,,,,,,,1.98,1.77,0.90*3B
$GLGSA,A,3,82,,,,,,,,,,,,1.98,1.77,0.90*1C

이렇게요.




7. PA1616S

기존에 사용하던 PA1616S 를 이용하여, 그 차이를 확인해 보고 싶었습니다. bGeigie Nano 에서 분리하면서 through hole 이 지저분해 졌지만, 추가 납땜을 하여 pin 들을 연결 했습니다. 이 through hole 수리는 아래의 별도 포스트에서 다루었습니다.

* REPAIR | Through Hole 수리기


동일한 방식으로 연결 했습니다. 잘 잡네요.

$GPGGA,091237.000,3720.1141,N,12705.7657,E,2,05,1.50,143.1,M,19.9,M,0000,0000*67
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091237.000,A,3720.1141,N,12705.7657,E,0.31,165.32,100126,,,D*61
$GPVTG,165.32,T,,M,0.31,N,0.57,K,D*3B
$GPGGA,091238.000,3720.1140,N,12705.7657,E,2,05,1.50,143.1,M,19.9,M,0000,0000*69
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPGSV,3,1,10,01,71,043,24,03,39,140,50,02,37,047,24,42,32,230,40*74
$GPGSV,3,2,10,30,25,231,43,08,19,089,27,07,14,204,40,06,05,230,*7C
$GPGSV,3,3,10,193,,,,19,,,24*4D
$GPRMC,091238.000,A,3720.1140,N,12705.7657,E,0.37,170.00,100126,,,D*6C
$GPVTG,170.00,T,,M,0.37,N,0.69,K,D*35
$GPGGA,091239.000,3720.1139,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*69
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091239.000,A,3720.1139,N,12705.7658,E,0.38,168.86,100126,,,D*64
$GPVTG,168.86,T,,M,0.38,N,0.70,K,D*35
$GPGGA,091240.000,3720.1138,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*66
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091240.000,A,3720.1138,N,12705.7658,E,0.29,175.93,100126,,,D*63
$GPVTG,175.93,T,,M,0.29,N,0.54,K,D*3B
$GPGGA,091241.000,3720.1137,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*68
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091241.000,A,3720.1137,N,12705.7658,E,0.03,205.29,100126,,,D*60
$GPVTG,205.29,T,,M,0.03,N,0.06,K,D*31
$GPGGA,091242.000,3720.1137,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*6B
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091242.000,A,3720.1137,N,12705.7658,E,0.07,54.74,100126,,,D*59
$GPVTG,54.74,T,,M,0.07,N,0.12,K,D*0E
$GPGGA,091243.000,3720.1138,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*65
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPGSV,3,1,10,01,71,043,25,03,39,140,50,02,37,047,19,42,32,230,40*7B
$GPGSV,3,2,10,30,25,231,43,08,19,089,27,07,14,204,40,06,05,230,*7C
$GPGSV,3,3,10,193,,,,19,,,25*4C
$GPRMC,091243.000,A,3720.1138,N,12705.7658,E,0.06,31.91,100126,,,D*5E
$GPVTG,31.91,T,,M,0.06,N,0.11,K,D*04
$GPGGA,091244.000,3720.1138,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*62
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091244.000,A,3720.1138,N,12705.7658,E,0.14,35.14,100126,,,D*53
$GPVTG,35.14,T,,M,0.14,N,0.25,K,D*09
$GPGGA,091245.000,3720.1138,N,12705.7658,E,2,05,1.50,143.1,M,19.9,M,0000,0000*63
$GPGSA,A,3,07,03,02,30,08,,,,,,,,1.78,1.50,0.95*09
$GPRMC,091245.000,A,3720.1138,N,12705.7658,E,0.06,63.67,100126,,,D*56
$GPVTG,63.67,T,,M,0.06,N,0.10,K,D*0B
$GPGGA,091246.000,3720.1138,N,12705.7659,E,2,05,1.50,143.1,M,19.9,M,0000,0000*61

u-center 를 통해서도 잘 동작하는 것을 확인.


VisualGPSView 를 통해서도 확인 했습니다. PA1616D 의 경우는, Satellites Tracked: 17 / Satellites in View: 23 이었습니다. PA1616S 의 경우, 아래처럼 각각 8 / 12 입니다. 거의 2배의 성능 차이를 보이네요.


Positioning data 도 변화가 많습니다. 활용하는 GPS 가 미국 GPS 만 있어서, 이번에 새로 구입한 PA1616D 와 비교하여 정도도 낮습니다.


PA1616D 는, GPS(미국) + GLONASS(러시아) = GNSS 모두 운용하는 것이 새로운 모듈이라 성능이 2배가 되는게 이해 됩니다.


예상 대로 PA1616D 모듈을 잘 구입한 것 같습니다. 그 존재의 사실을 알고 조사 이후, 구입까지 꽤나 시간이 걸렸지만, 매우 만족한 성능을 보여 줬습니다. 이제 남은 작업은 bGeigie Nano 에 이식하는 것이네요.


FIN

댓글