GPS on ESP32 running micropython
-
- Posts: 9
- Joined: Wed Nov 29, 2017 12:35 am
GPS on ESP32 running micropython
Is there a library for GPS? and if so, where can I find it?
Re: GPS on ESP32 running micropython
There are many different GPS modules available, and even thought they mostly use AT commands they can easily be a little different. Most of them also use RS232 TTL and mostly do not require drivers because of that.
I would suggest picking a common GPS module and working with it using a terminal program and a USB to serial adapter. Then after you get it to work, write a simple script to do the same in a more automated way.
I would suggest picking a common GPS module and working with it using a terminal program and a USB to serial adapter. Then after you get it to work, write a simple script to do the same in a more automated way.
_______________
Travis Travelstead
Travis Travelstead
Re: GPS on ESP32 running micropython
I would be interested to know if you had any success using a GPS module with an ESP32. I have been trying for quite some time to read NMEA lines from a NEO-7M module, without success: most lines get corrupted. Although, I sometimes get lucky and after reboot everything works, but since this happens only once every 50 reboot or so, this is not usable. You can read it all on the thread I started here: viewtopic.php?t=3701
Note that the I can read the GPS module on a Raspberry Pi Zero using python, or on the ESP32 using the Arduino IDE, but I could not manage on the ESP32 using micropython.
Note that the I can read the GPS module on a Raspberry Pi Zero using python, or on the ESP32 using the Arduino IDE, but I could not manage on the ESP32 using micropython.
Re: GPS on ESP32 running micropython
I have not had issues with the uart on the Wipy modules, so if there really is something wrong with the uart implementation it is localized to the micropython.org port. I remember hearing that many of the pycom features would feed into the micropython.org port but not sure how that is going.
One thing I am not sure about is how buffers are implemented in the ESP32 port, as NMEA messages can be quite long. As I think others have suggested on your other thread, streaming characters into a buffer yourself might help.
One thing I am not sure about is how buffers are implemented in the ESP32 port, as NMEA messages can be quite long. As I think others have suggested on your other thread, streaming characters into a buffer yourself might help.
_______________
Travis Travelstead
Travis Travelstead
Re: GPS on ESP32 running micropython
I have been using Quectel GNSS L76-L successfully for a while.