I'm having an issue establishing data from theMediaTek MT3329. Its connected to the APM (Red board) using the ublox cable from the diydrone store. The MTK adapter board has a solid blue light (Lock). I have reseated the ublox cable a couple of times. Is there anything else I can do to check the hardware?
Testing
Using the GPS_MTK_test and monitoring the comm port at 38400
Receives
GPS: Lat:0 Lon:0 Alt:0.00 GSP:0.00 COG:0 SAT:0 FIX:0 TIM:0
GPS: Lat:0 Lon:0 Alt:0.00 GSP:0.00 COG:0 SAT:0 FIX:0 TIM:0
GPS: Lat:0 Lon:0 Alt:0.00 GSP:0.00 COG:0 SAT:0 FIX:0 TIM:0
Using the latest alpha release the IMU shield (OilPan) lights =
A - Green
B - No light
C - Red
Monitoring the com port
Init ArduPilotMega 1.0.1 Alpha
min / max from eeprom -26214 -15729
Offsets -0.00 -0.00 -0.00 -0.00 -0.00 -0.00
##FBW A
XXX Startup: AIR
XXX invalid home position
You need to be a member of diydrones to add comments!
Replies
Best Regards ;)
AS
#include
void setup()
{
Serial.begin(38400); // FTDI on APMega
Serial1.begin(38400); // GPS port on APMega
Serial.print("Begin GPS Mod");
Serial1.print("$PGCMD,16,0,0,0,0,0*6A\r\n"); // Custom binary protocol
//Serial1.print("$PGCMD,16,1,1,1,1,1*6B\r\n"); // NMEA
}
void loop()
{
// Incoming from GPS
if(Serial1.available()>0) //Ok, let me see, the buffer is empty?
{
delay(30);
while(Serial1.available()>0){
byte incoming = Serial1.read();
//Serial.print(incoming,DEC);
Serial.print(incoming,BYTE); // will output Byte values
//Serial.print(",");
}
//Serial.println(" ");
}
}
I have reviewed the link in the store and understand I need to send the GPS a string to reprogram it.
$PGCMD,16,0,0,0,0,0*6A = Binary mode
How is it sent, via Arduino or connect up the FDI cable directly to it?
Thanks in advance.
Not sure whether you have the same problem but my MTK was in NMEA mode when it came. I'm currently trying to follow the instructions on making it change to binary (link on its page in the store).