Connecting a MEGA to a MT3329 :)

Hi, just having fun and learning !~~!

Has anyone been successful connecting a arduino MEGA to a MediaTek MT3329 GPS?

OR  can some wizard type figure the code and connection that works?

I'll be happy to test it for you :)

both sold on diydrones see links



You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • You could use the GPS library and try something along the lines of this here (cut&paste from various sources):

    #include <FastSerial.h>
    #include <AP_Common.h>
    #include <AP_GPS.h>

    #define GPS_SERIAL_BAUD 38400
    #define GPSP Serial1

    FastSerialPort1(Serial1); // GPS

    static GPS *g_gps;
    AP_GPS_MTK16 g_gps_driver(&Serial1);

    int numSats=0;
    int gpsfix=0;

    void setup()
    g_gps = &g_gps_driver;
    g_gps->init(); // GPS Initialization

    void loop()

    static void update_GPS(void) {
    numSats = g_gps->num_sats;
    gpsfix = g_gps->status();

    if (g_gps->new_data && g_gps->fix) {

    longitude = g_gps->longitude; // Lon * 10**7
    latitude = g_gps->latitude; // Lat * 10**7
    altitude = g_gps->altitude/100;

    g_gps->new_data = 0;

This reply was deleted.


Liam left a comment on Agricultural UAVs
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29