Here is the IMU board with the MTK GPS driver working now !
arduimuMTK.zip
Earl


Views: 508


3D Robotics
Comment by Chris Anderson on August 22, 2010 at 6:28pm
Earl, can you explain a bit more what this is? Is it something we should incorporate in the main ArduIMU code?
Comment by Earl on August 22, 2010 at 7:35pm
Well Chris, If you want to use the MTK GPS instead of the uBlox, this should do it !
I was kind of forced to do the code because my uBlox quit and I only had the MKS GPS unit.
It is choice 4 in the code so it is an addition in the IMUcode that a few my like.
Yes, I would suggest putting it in the SVN when more people check it out.
Earl
Comment by Scotty on August 22, 2010 at 9:43pm
did the MKS GPS come pre-programed to output in binary?
Comment by Earl on August 23, 2010 at 8:59am
Thats a good question. I don't remember programming it to binary. I got mine from the DIY store so I think it was pre programmed to binary.
To set it to binary is not too hard. I will check how.
Earl
Comment by Earl on August 23, 2010 at 5:41pm
Here is the string to send to the GPS to enable the binary mode
$PGCMD,16,0,0,0,0,0*6A
This sets the baud rate to 38400
$PMTK251,38400*27
Here is a lot more info.
https://docs.google.com/Doc?docid=0ASI4WbhJsiyqZDk3MndtYl8yN2R2ajVm...
Earl
Comment by Sam Halderman on August 23, 2010 at 5:52pm
Earl, I loaded the code up on the ArduIMU, hooked up the MTK GPS, and connected ArduPilot. The altitude reported on the ArduGCS appears to be 1/2 of actual. GE shows 659 Feet, my
EM-406 showed 200 Meters.
MTK shows 100 Meters.
Sam

Developer
Comment by Jason Short on August 27, 2010 at 10:38am
There seems to be an error in Earls MTK Lib. I'm trying to do a quick update to the SVN.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service