NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Project Help and Ideas » 25$ 10 Hz - FMP04-TLP GPS module (easy setup)
May 16, 2011 by kle8309 |
I recently bought a gps mod for just $25 + $7 priority shipping from Ohararp LLC. It was pretty simple to setup and I can read the raw GMEA output using my hyperterminal. Compare to other GPSs, this has good sensitivity and pricing. The only discrepancy from the datasheet was that the default baud rate was 9600. However, it's actually 38400!!!. Here are the outputs (not everything, there should be 4 outputs: GGA GSA GSV RMC) $GPGGA,225932.100,XXXX.8620,N,09739.5941,W,1,9,0.96,388.5,M,-25.2,M,,6C $GPRMC,225932.100,A,XXXX.8620,N,09739.5941,W,0.03,224.88,160511,,,A73 (I XXXX out for privacy) All I need now is to parse the data using UART. But need to mod the uart lib so that UBRROL=23 (calculated using the atmega datasheet) If you guys have any questions just post them. This is pretty simple compare to the other projects I'm working on. Cheers |
---|---|
May 16, 2011 by kle8309 |
|
May 18, 2011 by 6ofhalfdozen |
heya kle8309, That is a pretty sweet GPS module. There is a little confusion in the datasheets, one actually says it can transmit signals at 115.2 8n1 while the other says output is limited to 9600 8n1. Otherwise, it definately looks to be simple but effective. I have never heard of the OHARARP folks before. Any one else dealt with them in the past? |
May 18, 2011 by kle8309 |
"Any one else dealt with them in the past?" I first found out about this company while looking at adafruit so adafruit has posted a link to them |
July 01, 2011 by esoderberg |
Another GPS: this is a Locosys GPS configured to output RMC NMEA data on a 5hz cycle via UART at 38400 bps. Not a very sophisticated NMEA parser but it puts out all the info I want; serial stream read via interrupt driven UART. Code below:
|
July 01, 2011 by Ralphxyz |
esoderberg, do you want to explain what is going on with your code? I have a older DPS unit I was going to play around with and try to connect it to my Nerdkit so I would like to use your code. I'd like to start with the interrupt:
Seems strange to be [quote] "triggered on every character received" [/quote] Ralph |
July 01, 2011 by esoderberg |
Ralph, With RXCIE0 and Global Interrupt Flag set to 1, every time the RXCn bit in UCSRnA is set (when a byte or ASCII character receive is complete) it will trigger the interrupt. The nice thing about doing it this way is that instead of asking the UART to read and then waiting for the receive to be complete with:
it lets the program do other things until the buffer is ready to be read and then handles it after it comes in. Eric |
July 02, 2011 by Ralphxyz |
This will be a great start for me using GPS, thanks again. I have a older Lowrance Electronics GlobalMap Sport GPS unit I picked up at a yard sale 5 years ago. It was for the boating industry so the mapping modules are for the waters around Long Island, NY but the GPS data works fine. I just found a NDC-1 cable from Lowrance on EBAY so I do not have to open the case to make connections or make up my own cable. My GPS uses NMEA 0183 Version 1.5 and 2. I can send:
The default BAUD is 4800 No Parity and 8 Data Bits but everything is changeable. I would like to incorporate the GPS into a robot. The GPS technology is probable old but it still works. It probable is not as accurate as a newer GPS device. Ralph |
July 02, 2011 by esoderberg |
I put this code in the NK library along with some links to reference material. The links show and work fine in the preview but when I save the library page the text "library" is inserted in front of the http: in the link and it no longer works. To see if it is NK Library specific I put one of those same links here. Works fine in preview, we'll see if it still works once the reply is saved. |
July 02, 2011 by Ralphxyz |
Nothing that "Library" does is surprising except that you can occasionally make it work! Ralph |
July 02, 2011 by Noter |
Eric, There was https:__ starting the links instead of https://. Not that it matters much, I use IE and none of that google docs stuff works for me. |
July 03, 2011 by Rick_S |
The link comes up with an MTK NMEA Packet User Manual for me. Rick |
July 03, 2011 by esoderberg |
Rick, The "test" link here in the forum seems to work, its the same link put in the NK library in the same fashion that is the problem. Were you able to open the MTK NMEA Packet User Manual from the Library section under GPS? Eric |
July 03, 2011 by Noter |
I checked again and now I understand. Even if you fix the link in the library it is broken again after a refresh. I think it's a problem in the page and has to be fixed by the nerdkit staff. |
July 03, 2011 by Rick_S |
No, I just see a [?] that links back to the same page. |
July 03, 2011 by Noter |
If you edit the page and fix the links then preview they are ok. But then when you refresh they are broken again. Try it and see if it's the same for you. |
July 03, 2011 by Rick_S |
Must be something to do with the https: or the link itself. If I change the link to http://www.google.com, it works. But it won't accept the other and keep it. I agree that unless you can change the linked to location, it will be something that the NK guys will have to make work. Rick |
Please log in to post a reply.
Did you know that a NerdKit can take control of a remote-controlled car? Learn more...
|