Crowtail-GP02

From Elecrow
Revision as of 10:34, 26 October 2022 by Admin (talk | contribs) (→‎Hardware)
Jump to navigation Jump to search

Description

The Crowtail - GP02 module is a cost-effective and field programmable gadget. The high-performance BDS/GNSS multi-mode satellite navigation receiver SOC module, integrates RF front-end, digital baseband processor, 32-bit RISC CPU, power management and active antenna detection and protection functions. It supports a variety of satellite navigation systems, including China's Beidou satellite navigation system BDS, the United States' GPS, and Russia's GLONASS, and can realize multi system joint positioning.


Model: CRT01140G
GP02.png

Alt text

Features

  • Field programmable
  • With 32-bit RISC CPU
  • Supports BDS, GPS, GLONASS
  • Low power consumption
  • High sensitivity and high-precision
  • Can switch between GPS+BDS and GPS+GNSS modes
  • Outdoor positioning
  • Crowtail Indicates the compatible interface

Specification

  • Operating voltage: DC 2.7V ~ 3.6V
  • Default baud rate: 9600
  • Interface type: UART
  • Navigation Sensitivity: -160dbm
  • Positioning accuracy: <2m(1σ)
  • BDS/GPS dual mode continuous operation power consumption: 23mA
  • Size(mm):40.0(L)x20.0(W)x9.7(H)
  • Time to first start: Cold start: 32s ;Warm start: <1s; Hot start: <1s

Usage

Hardware

STEP1 Prepare the below stuffs:
Crowduino Uno Base Shield Crowtail- GP02
Crowduino 2.jpg Crowtail-base shield 2.jpg GP02 2.png
Get one now Get one now Get one now
STEP2 Plug Crowtail-Base Shield into Crowduino Uno;
STEP3 Plug Crowtail-GP02 to D2 D3 slot of Crowtail-Base Shield via 4 pin Crowtail Cable;
STEP4 Connect Crowduino Uno to PC via a Mini USB cable.
NOTE
If we don't have Crowtail Base Shield, We also can directly connect this module to Crowduino Uno as below.
Crowduino Uno Crowtail- GP02
D2 TX
D3 RX
3.3V VCC
GND GND

Software

STEP1 Configure controller board&communication port
On top of the Arduino IDE, click “Tools>Board>” and select “Arduino Uno” from the available options
SELECT BOARD.png


STEP2 Select the COM port that indicates Arduino Uno. Please note that the actual numbers after the “COM” word will vary from computer to computer, so they could be different from the ones shown in the figure.
S 2 2.png


STEP3 Open the program in the Arduino IDE
//at 9600 bps 8-N-1
//Computer is connected to Arduino/Crowduino
//SoftSerial Shield is connected to the Software UART:D2&D3

#include <SoftwareSerial.h>

SoftwareSerial SoftSerial(2, 3);
unsigned char buffer[256]; // buffer array for data recieve over serial port
int count = 0;   // counter for buffer array
void setup()
{
  SoftSerial.begin(9600);               // the SoftSerial baud rate
  Serial.begin(9600);             // the Serial port of Arduino baud rate.

}

void loop()
{
  if (SoftSerial.available())              // if date is comming from softwareserial port ==> data is comming from SoftSerial shield
  {
    while (SoftSerial.available())         // reading data into char array
    {
      buffer[count++] = SoftSerial.read();   // writing data into array
      if (count == 256)break;
    }
    Serial.write(buffer, count);           // if no data transmission ends, write buffer to hardware serial port
    clearBufferArray();              // call clearBufferArray function to clear the storaged data from the array
    count = 0;                       // set counter of while loop to zero
  }
  if (Serial.available())            // if data is available on hardwareserial port ==> data is comming from PC or notebook
    SoftSerial.write(Serial.read());       // write it to the SoftSerial shield
}
void clearBufferArray()              // function to clear buffer array
{
  for (int i = 0; i < count; i++)
  {
    buffer[i] = NULL; // clear all index of array with command NULL
  }
}
STEP4 Click the Upload.png to upload the code to the Crowduino board
STEP5 After the program is burned, open the serial monitor of Arduino IDE. Select 9600 baud rate, and the monitor will display the data returned by the GPS module.
GP02SERIALMONITOR.png

FAQS

You can list you question here or contact with techsupport@elecrow.com for technology support.

Resources

Crowtail-GP02_v2.0-sch.pdf