Talking with a GSM Modem #13588
Replies: 5 comments 1 reply
-
Have you done a |
Beta Was this translation helpful? Give feedback.
-
I assume the USB on your GSM module expects to talk to an USB host and not to another USB device. |
Beta Was this translation helpful? Give feedback.
-
In the bad old days I could not get a Sierra 320 USB modem to work on a rpi model A. Turns out I was trying to run before I could crawl. Ended up plugging the 320U into a PC with some manufacturers software as the driver to get familiar with the AT cmd structure. Once I has a feel for the modems foibles getting it to work on the pi went much smoother. |
Beta Was this translation helpful? Give feedback.
-
@karfas: That with the USB host sounds plausible. I will install Circuit Python on an ESP32-S3-DevKit board in the next few days and experiment with it. I will report back... @kjm1102: What are you trying to tell me? I read somewhere that the rp2 port of Micropython implements TinyUSB, which supports USB Host. But in the MP documentation on GitHub I didn't find anything about it. |
Beta Was this translation helpful? Give feedback.
-
TinyUSB supports host mode, but that is not used by MicroPyhton. There is a ongoing work by @projectgus to support Pyhton coded USB drivers, which would then allow host mode. #9497 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to communicate in Micropython from an ESP32 controller with a USB-GSM module. Simply send an AT via UART and receive something. I'm getting desperate, it just doesn't work.
If I use a GSM module, which I connect to the controller via RX/TX, then it's super easy
But I have to use a GSM module which is connected via USB. I have already tried to connect the modem via a USB-FTDI serial adapter. No reaction.
Then I used the ESP32-S3-DevKitC-1U-N8R8 controller which has a built-in USB-UART port. Supposedly connected to UART 0 and RX=GPIO36, TX=GPIO37. No answer here either.
I know that the question is very general, but I have already tried different modules, so it doesn't make much sense to give any details. I think it's just a basic comprehension problem.
Please, can anyone give me a hint what could be the reason for this?
Beta Was this translation helpful? Give feedback.
All reactions