GPS GY-GPS6MV2 (UBLOX protocol?)

Hey,

I am currently working on a track/trace project and I am using the GY-GPS6MV2.
Link.

The chip is a NEO6MV2.

I want to put the tracker in a power-down/save mode. However I have no clue how to send the command using the UBLOX 6 protocol.
Link.
I wonder anyone has ever used this command/protocol and is able to show me how to send it.

Thx

Create an array of type byte, of size 8. The first 4 values are 0xB5, 0x62, 0x06 and 0x11.

The next two are 0x08 and 0x01.

The last two are the checksum, for which you'll need to look at other pages to determine how to compute the checksum, and then use highByte() and lowByte() to extract the high and low bytes from the integer checksum value.

Since the array is all constants, the checksum bytes will be, too, but you still need to determine what they are.

Then, you just Serial.write(array, 8 ) the array to the GPS.

Currently got:

byte arr0[8] = {0xB5, 0x62, 0x06, 0x11, 0x08, 0x01, CK_A, CK_B};

void calcSum()
{
for(int i = 2; i < 6; i++)
{
CK_A = CK_A + arr0[i ];
CK_B = CK_B + CK_A;
}
}

void loop(){

if(gps.available()){
Serial.write(gps.read());
}

if (firstTime)
{
calcSum();
gps.write(arr0, 8);
firstTime = false;
}
}

Based on the checksum calculation:

link

Link to doc.:clickme

But the GPS tracker just wont stop sending data… >:(

The code you posted improperly won't even compile.

You need to pay a visit to http://snippets-r-us.com is you want people to guess what the problem is.