Hi everyone! I am using mt3329 and have an arduino nano board. I don't have a gps shield. I am connecting the gps module to my arduino using the specified pin configuration-
5v- arduino 5v.
gnd- arduino gnd
tx- arduino pin 2.
I have attached the code and the output below.
I have also tried using Tiny gps and new softserial library but ended up getting the same gibberish value.
I want my output in NMEA structure.
Could anyone share the code.
regards
shirshak
Tags:
Permalink Reply by Shirshak sengupta on April 12, 2012 at 8:06am I will try it and let you know. Btw the standard firmware will give me NMEA output?
Permalink Reply by Shirshak sengupta on April 12, 2012 at 11:42am hey jason! there is another small problem. I can't find a download path for globaltop flash tool. could you send me the link?
Permalink Reply by Ken on April 13, 2012 at 5:25pm You do not mention what data rate you have set the serial port on the Arduino.
If you tried 9600bps because that is what the "generic" MTK-3329 manual says, that won't work.
.
If you bought the unit from DIYD, it will come programmed to talk NMEA at 38400bps.
.
Do NOT re-flash the unit. It will output NMEA unless commanded into binary by the Arduino.
Permalink Reply by Shirshak sengupta on April 14, 2012 at 9:34pm I have attached the code in the previous discussions. Yes i have used 4800 but still it gave gibberish output.I went to the site from where I bought this module and it was written that it gives binary output by default(38400) but using standard mtk command I can change my output to NMEA. check this link out http://store.diydrones.com/MediaTek_MT3329_GPS_10Hz_Adapter_Basic_p.... I tried everything possible but couldn't get it working. I think I haven't used the proper syntax to change the output to NMEA. If you can just send me the syntax for changing its working to NMEA.
Permalink Reply by Ken on April 15, 2012 at 4:31am >I have attached the code in the previous discussions.
.
>Yes i have used 4800 but still it gave gibberish output.I went to the site from where I bought this
>module and it was written that it gives binary output by default(38400) but using standard mtk
>command I can change my output to NMEA.
>
What site did you buy it from? If it is not DIY Drones, then I can not help you. There are too many possible variations of the firmware.
.
>check this link outhttp://store.diydrones.com/MediaTek_MT3329_GPS_10Hz_Adapter_Basic_p.... >I tried everything possible but couldn't get it working.
>
I am aware of the DIY drones store MT3329. I own about 6 of them. Is that the one you have? You are not being clear.
.
>I think I haven't used the proper syntax to change the output to NMEA.
>If you can just send me the syntax for changing its working to NMEA.
>
Serial.print( "$PGCMD,16,1,1,1,1,1*6B\r\n" );
It is documented in the pages linked to the DIY store.
Permalink Reply by Shirshak sengupta on April 15, 2012 at 7:49am I haven't directly bought it from diydrones but from tenettechtronics. They are a reseller. They don't change the firmware which is there in the mtk module. When i go to their site and check for a link on mtk 3329 it redirects me to the diydrones site. so I came to the above conclusion.
I am attaching my code and the output.
Regards
shirshak
Permalink Reply by Andre S on April 15, 2012 at 8:07am Hi, have you tried via a proper hardware serial port? I've had problems with the software serial library earlier.
Permalink Reply by Shirshak sengupta on April 15, 2012 at 8:09am @Andre S: yes i have tried out the hardware serial port too. I got the same output!!!
Permalink Reply by Shirshak sengupta on April 15, 2012 at 9:11am
Permalink Reply by Ken on April 15, 2012 at 1:40pm Good to hear that it is working. I haven't used the newsoftserial for a couple of years because of bugs, but I thought I'd read they'd been fixed. Maybe I'm thinking of someone-elses newer-newsoftserial?
.
Remember, if you still intend to send commands to the gps, you'll need to connect the Arduino's tx to the GPS rx.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.203 members
24 members
207 members
58 members
1355 members
© 2013 Created by Chris Anderson.
Powered by
