|
META TOPICPARENT |
name="Exercises" |
Exercise 9: GPS receiver
Introduction |
| First save a series of NMEA sentences on a file. Transfer the file to the PC and have them interpreted by the micropyGPS parser in the same fashion as the test_micropyGPS.py does. You should get a result similar to this log.
https://iotworkshop.africa/pub/IoT_Course_English/GPSAndInterfaceThroughUART/parserLog.txt |
|
> > |
After that you may try to interpret the messages directly on the ESP32as they come in. The microGPS parser is already included in your MicroPython firmware. |
| Exercise 4: as_GPS
Peter Hinch has written an asynchronous GPS driver with a parser based on micropyGPS. The driver is already installed in your MicroPython binary. Use this driver to extract the information of exercise 3.
The documentation of as_GPS cant be found at https://github.com/peterhinch/micropython-async/blob/master/v3/docs/GPS.md |
|
> > | The exercise sheet in odt format:
https://iotworkshop.africa/pub/IoT_Course_English/GPSAndInterfaceThroughUART/exercise_6.odt |
| -- Uli Raich - 2020-08-04
Comments |
|
META FILEATTACHMENT |
attachment="gpsResults.png" attr="" comment="" date="1596527040" name="gpsResults.png" path="gpsResults.png" size="57815" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="parserLog.txt" attr="" comment="" date="1596553769" name="parserLog.txt" path="parserLog.txt" size="267338" user="UliRaich" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="exercise_6.odt" attr="" comment="" date="1596963422" name="exercise_6.odt" path="exercise_6.odt" size="23287" user="UliRaich" version="1" |
|