Jump to content
43oh

MTK3339 GPS


Recommended Posts

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Sample code to display GPS fix data from the MTK3339 GPS module (group buy #5.)   Raw:   Parsed:   updated 6/30 GPS-630.zip

This is how the GPS logger board looks like. I realized that I don't have any TSSOP EEPROMs on hand (and I am bit tired,) so I will do the testing in few days.         If you don't need

I wrote some code to modify which NMEA sentences the GPS module spits out and their frequency.   If you disable some the logger will have less data to chew through and can spend more time sleeping.

Posted Images

  • 3 weeks later...

I wrote some code to modify which NMEA sentences the GPS module spits out and their frequency.

 

If you disable some the logger will have less data to chew through and can spend more time sleeping.

 

I should probably mention that it uses the button on P1.3 to select which one of the 8 available sentences comes out. I'm using hardware debounce so it might skip a few sentences if you don't debounce the pin.

 

Modifying the code will allow you to select any combination.

main.c

Link to post
Share on other sites
  • 2 months later...

BOM:

IC1 - MSP430G2553IPW20
IC2 - 25AA640A-I/ST
IC3 - 1117-3.3 LDO, SOT89, Vout on the middle pin

MCU reset
R1 - 47k 0805
C5 - 1n 0805

LED1-LED4* - 0805 (cathodes are next to vias)
R2-R5* - current limiting resistors, I am using 330 0805
*LED1 and LED4 are connected to the same signal, so only one is needed.

C1 - 4u7 or 10u/6.3V, 3216/A package tantalum or ceramic 4u7/6.3 0805
C2 - 4u7 or 10u/10V, 3216/A package tantalum or ceramic 4u7/10 0805. Voltage depends on the supply.

C3*, C4, C6 - 0.1u 0805
L1* - chip bead inductor 120ohm/100mA 0603 (I am using 120ohm/350mA BK1608HM121)
*If you don't have inductor handy, you can short it with 0ohm resistor. In that case, C3 is not needed.

D1, D2 - do not use, MTK3339 has an internal diode. Short D1with 0ohm resistor when using on-board battery


post-73-0-74283500-1352552650_thumb.png

Link to post
Share on other sites
  • 2 months later...

Just FYI.

When you decide to use different EEPROM than listed (25AA640A-I/ST,) make sure TSSOP package matches SOIC/DIP pinout (Vcc at pin 8.)

There are some older EEPROMs that have different pin layout, including earlier version of 25AA640A, 25AA640.

Even 25AA640A comes in this weird layout, it's called X/ST.

 

BTW, Eagle's Microchip part 25* 25AA040ST is incorrect, 040 has that weird pinout. What a mess.

Link to post
Share on other sites
  • 1 month later...

I want the MSP430 to parse the gps data. What im trying to do is take the RMC sentence, pull the latitude and longitude, and then store it for further processing.

Rob's first post in this thread parses the data. You can take that data and push it out the serial port using opossum's TinyPrintf code.

Link to post
Share on other sites

Rob's first post in this thread parses the data. You can take that data and push it out the serial port using opossum's TinyPrintf code.

Ok so bear with me on this im still fairly new to using the MSP's

1) The majority of my code comes from dkedr's post where i changed it to always send out RMC sentence

2) Does parsing the data allow me to seperate and store the NMEA sentence (i.e for lat x=dd y=mm z=sss)?

3) if so, and assuming this is the line to parse it, how would i integrate the line. $GPRMC,[time:hhmmss.ss],[data status:AV],[lat:ddmm.sss],[NS],[long:dddmm.sss],[EW],[speed over ground:knots],[true course:deg],[uTC date of fix:ddmmyy],[magnetic variation:deg],[EW],[mode]*;

 

Link to post
Share on other sites
  • 2 weeks later...

Rob's first post in this thread parses the data. You can take that data and push it out the serial port using opossum's TinyPrintf code.

I have a similar question, rather than pushing it out through a serial port is it possible to use the original post code with the logger code on the msp430? From what ive read the new version of the MTK has it's own datalogging.

Link to post
Share on other sites

Yes.

 

 

Could you provide a link? Thanks!

http://www.adafruit.com/products/746

 

Two features that really stand out about version 3 MTK3339-based module is the external antenna functionality and the the built in data-logging capability. The module has a standard ceramic patch antenna that gives it -165 dB sensitivity, but when you want to have a bigger antenna, you can snap on any 3V active GPS antenna via the uFL connector. The module will automatically detect the active antenna and switch over! Most GPS antennas use SMA connectors so you may want to pick up one of our uFL to SMA adapters.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...