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

Views: 416

Attachments:

Reply to This

Replies to This Discussion

I will try it and let you know. Btw the standard firmware will give me NMEA output?

hey jason! there is another small problem. I can't find a download path for globaltop flash tool. could you send me the link?

This is not correct.

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.

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.

>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.

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

Hi, have you tried via a proper hardware serial port? I've had problems with the software serial library earlier.

@Andre S: yes i have tried out the hardware serial port too. I got the same output!!!

Hey guys! I am finally getting my output.

pin configuration-

gps vcc- arduino 5v

gps gnd- arduino gnd

gps out- arduino rx

I am attaching the code.

Thanks for all your replies and special thanks to Andre S who made me reconsider the hardware serial port :)

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.

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service