Replies: 5 comments 7 replies
-
Sorry to hijack your thread here but I've been having a heck of a time getting this moving at all. I started off with the same example code you referenced above but with warnings that ultimately stopped execution. I did use the recommended version of micropython. I actually also built https://github.com/Xinyuan-LilyGO/lilygo-micropython but there appears to be no real documentation on how to work with the build for the GSM or GPS modules, the code above also does not work on their build.... Thanks for any ideas or even just a direction to some info. |
Beta Was this translation helpful? Give feedback.
-
Finally a bit of success here. After reading tyeth's reply I started poking around in the lilygo-miropython repo and found /extmod/network/at/test/. Looking around the code helps to understand a bit about the modules that appear to be included in the build generated from the repo. So that helps. Still having troubles with GPRS but GPS works! |
Beta Was this translation helpful? Give feedback.
-
Sure would be nice to use urequests or similar with the 7000G. I've spent ages getting the 7080G to download ~19k .mpy files using that horrendous AT+SHCHEAD system that waveshare advocate but it's ugly. A nice lib that would work with vanilla upython would make a life a lot easier. |
Beta Was this translation helpful? Give feedback.
-
@rwslippey Curious where you've gotten with this? Hoping to switch from the LoBo fork and just found this thread. Were you able to get a webREPL via GSM? Still building the firmware so haven't been able to test anything. |
Beta Was this translation helpful? Give feedback.
-
@JayPalm I got a bit distracted with other projects recently. I did manage to get a few things working... although in a hacky way. First, I was able to kind of build a mess that gets me a connection and I could hit my api server. I don't currently have it in a git repo but I can drop it in one here this week. It's ugly though.... Mostly this was building AT commands manually based on the manual. After I got that working, I actually found in the repository https://github.com/Xinyuan-LilyGO/lilygo-micropython there is some included libs (in the libs directory, who would have thought...) that offered a class but most of them are not complete and show "TODO" so it appears maybe that was abandoned and needs some work from the community to get those classes setup. I was thinking of doing this and got pulled away. I'm by no means a pro programmer but I did write a small article to remind myself of where I'm at. I hate self promotion but it might be helpful to you... https://www.robslippey.com/lilygo-t-sim7000g-gps-and-cellular-data-in-micropython/ I can circle back to this in a bit and drop a repo online with what I've got once I sanitize my API creds. Also, sorry for the delay, I never got a notification on the mention |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In answer to my own enquiries and the closed(archived) discussion here https://forum.micropython.org/viewtopic.php?f=18&t=8248
This is an example of basic GSM connectivity for SIM7000 on ESP32
https://github.com/Xinyuan-LilyGO/LilyGO-T-SIM7000G/blob/master/examples/MicroPython_LoBo/gsm.py
Beta Was this translation helpful? Give feedback.
All reactions