Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSM + GPS #1

Open
lcsadmin opened this issue Dec 17, 2022 · 3 comments
Open

GSM + GPS #1

lcsadmin opened this issue Dec 17, 2022 · 3 comments

Comments

@lcsadmin
Copy link

Hi There, did you try GPS and GSM at the same time, I can not make it works together, I mean If I get GSM connection GPS does not response to AT commands.

Thanks
Lee

@18684092
Copy link
Owner

Hi Lee, Once the SIM7000 is connected to GSM the modem needs to be in transparent mode so that data can flow 'through' the modem from the host ESP32 to the end point (perhaps a web page). When you need to read the GNSS/GPS you need to issue an AT command, ie you are not sending data 'through' the modem but 'to' the modem. The modem cannot be in the two states (transparent and command mode) at the same time. Therefore, if connected via GSM you need to disconnect, so that you can issue a new AT command to the modem.

@lcsadmin
Copy link
Author

Thanks a lot, I could never have make this works that way, I tried it on arduino and it works well, I'll try to replicate arduino AT commands in micropython UART to at least verify if it works.

Thanks

@duneau
Copy link

duneau commented Jun 9, 2023

Hi Lee,Have you had any success accessing the GSM module to retrieve GPS data using ESP32-MicroPython? I've tried the code sample with the Lobo install.. no luck there. I've also managed to get the full test working using Arduino and setting the Lilyboard as an ESP32 Wrover but I'd really like to find someone who was able to use Pyton to sucessfully send AT commands and get GPS data with this board...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants