MediaTek MT3329 Issues


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!

Join diydrones

Email me when people reply –

Replies

  • Hey Guys! I bought the MTK adapter, but I wanted to use the GPS with USB instead of Serial. I have soldered a USB cable to it but it keeps on connecting and disconnecting... Any ideas??

    Best Regards ;)

    AS
  • Here is the code I pasted into the ArduinoPilotMega and uploaded. After successful MTK update you will see what looks like garbage in the serial monitor. This is the binary output. One you see it you can upload GPS_MTK_test.pde found in the latest libraries and should be successful. Please use at own risk this is my first program hacked together from a example by TCIII.

    #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 confirmed the MTK is in NMEA mode. Is there a beginner guide to reset it to binary mode?
    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.
  • Hi,
    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).
  • 3D Robotics
    That code is in flux (we're very much still in Alpha). I'll try to check the MTK parser this week (all the testing has been done on uBlox, which is the default for now).
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Sunday
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Friday
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Friday
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Friday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Friday
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…