https://github.com/inmcm/MTK_commands
A very simple set of functions to build the various command sentences used on MediaTek MTK3329 and MTK3339 based GPS receivers.
Developed in conjunction with micropyGPS: https://github.com/inmcm/micropyGPS
Search found 7 matches
- Mon Jun 01, 2015 11:44 pm
- Forum: Drivers for External Components
- Topic: MediaTek MTK33X9 GPS Chipset Command Generator
- Replies: 1
- Views: 4291
- Mon Jun 01, 2015 11:39 pm
- Forum: Drivers for External Components
- Topic: GPS NMEA Sentence Parser
- Replies: 0
- Views: 6596
GPS NMEA Sentence Parser
https://github.com/inmcm/micropyGPS This is small and easy to use parser for NMEA navigation sentences used on many GPS receivers modules. The github page has a much more extensive explanation and usage examples. This was developed in conjunction my MTK33X9 chip set command generator: https://github...
- Sun Mar 01, 2015 9:59 pm
- Forum: Hardware Projects
- Topic: micropyGPS: a GPS parser for Micropython
- Replies: 10
- Views: 22329
Re: micropyGPS: a GPS parser for Micropython
All interrupt errors (even syntax errors) are reported as MemoryErrors unless you do something like this: import micropython micropython.alloc_emergency_exception_buf(100) That's really handy to know. I tried it and, sure enough, you can see where it throws a stack locked exception on allocation du...
- Tue Feb 03, 2015 2:15 am
- Forum: Hardware Projects
- Topic: micropyGPS: a GPS parser for Micropython
- Replies: 10
- Views: 22329
Re: micropyGPS: a GPS parser for Micropython
I've updated the library with some new features and bug fixes. I also made one quick try to make a script that uses an external interrupt to trigger the updater, but it crashed with a MemoryError. I thought I might get away with it since virtually every variable in the object is pre-allocated. Sadly...
- Thu Dec 18, 2014 1:13 am
- Forum: Hardware Projects
- Topic: micropyGPS: a GPS parser for Micropython
- Replies: 10
- Views: 22329
Re: micropyGPS: a GPS parser for Micropython
I think we should add a callback mechanism to UART receive, but would you use it in this case for more than just buffering data at the Python level? If you had a callback, how exactly would you user it? Would it be better to have a callback for "receive buffer half full" rather than "one char recei...
- Wed Dec 17, 2014 12:33 am
- Forum: Hardware Projects
- Topic: micropyGPS: a GPS parser for Micropython
- Replies: 10
- Views: 22329
Re: micropyGPS: a GPS parser for Micropython
Thank you for the kind words. blmorris, I've also given some thought to how to 'feed' the object efficiently. I haven't looked into the asyncio yet, so I can't comment on that. In general though, given this is GPS, you're going to get data from the receiver regularly. As long as you schedule in some...
- Tue Dec 16, 2014 12:41 am
- Forum: Hardware Projects
- Topic: micropyGPS: a GPS parser for Micropython
- Replies: 10
- Views: 22329
micropyGPS: a GPS parser for Micropython
For the past couple weeks I've been working on a GPS NMEA sentence parser that will work well with Micropython and the pyboard. The code and some explanation are available at Github: https://github.com/inmcm/micropyGPS I'm most definitely still working on it, but I feel the code is far enough along ...