MediaTek Mode

I'm testing the the MediaTek GPS module on a project where it is communicating with a dsPIC33F microcontroller.

As understand it, some of the units have been flashed with a custom firmware that communicates with a binary protocol. After figuring out that it was communicating at a baud rate of 38400 instead of the expected default of 9600, I was able to read the following:

$PGMOD,,,,,,,,,

This is followed by about 20 more ,,,,,,,,, 's every second. I've left it outside for a while and verified that the 3Dfix pin is low, so it appears the unit is obtaining a lock.

I've also tried to send it the command to switch back to NMEA protocol: $PGCMD,16,1,1,1,1,1*6B , but no luck. I'd like to put it in NMEA mode as I need some of the information that isn't included in the DIYDrones binary packet.

Any thoughts?

Best,
Geoff

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

Join diydrones

Email me when people reply –

Replies

  • That problem is solved. Just needed to bump up the baud rate from my PIC to computer to be equal to or faster than the GPS to PIC so data won't get lost...

    Next question, what are the commands to do the following:
    1. Change the baud rate
    2. Change the GPS update rate
    3. Save settings to the onboard flash

    The datasheets seem to be seriously lacking in describing their configuration commands.

    Thanks,
    Geoff
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
More…