S2,4G例子ML302问题

SSSSJX
Posts: 18
Joined: Tue Oct 12, 2021 2:37 am

S2,4G例子ML302问题

Postby SSSSJX » Mon Oct 18, 2021 2:49 pm

idf.py -p /dev/ttyUSB0 flash 后没有任何变化,红灯常量
idf.py -p /dev/ttyUSB0 flash monitor后一直在waiting4G去respond
微信图片_20211018203318.png
微信图片_20211018203318.png (15.12 KiB) Viewed 3048 times
respond后会等相当长时间会报错 E esp_modem:esp_modem_start_ppp(49):enter ppp mode failed
ESP_ERROR_CHECK failed: esp_err_t 0x103 at 0x4002ad74
微信图片_20211018220423.png
微信图片_20211018220423.png (53.49 KiB) Viewed 3048 times
微信图片_20211018215301.png
微信图片_20211018215301.png (54.43 KiB) Viewed 3048 times
最终未搜索到4G信号
附原链接https://github.com/espressif/esp-iot-so ... _4g_module

ESP_Bob
Posts: 78
Joined: Fri Nov 27, 2020 12:52 pm

Re: S2,4G例子ML302问题

Postby ESP_Bob » Tue Oct 19, 2021 1:20 pm

1. 请先验证 SIM 卡是否开通有流量,并且确保你的模组型号(请问你模组子型号是什么)和插入的卡的制式是匹配的
2. 可以先在 Windows 电脑上看 PPP 拨号上网是否成功
3. 请按照 README 把 4G 模块的 RESET 和 S2 的 GPIO 接在一起,用于 S2 复位 4G 模块

SSSSJX
Posts: 18
Joined: Tue Oct 12, 2021 2:37 am

Re: S2,4G例子ML302问题

Postby SSSSJX » Tue Oct 19, 2021 2:55 pm

好的谢谢,确实GPIO没有设置好
微信图片_20211019224819.png
微信图片_20211019224819.png (42.38 KiB) Viewed 2992 times
这个需要去写一个代码烧录进去是吗,另外我不确定这个13号引脚接在哪里,b站金小则博主似乎并没有接13引脚
微信图片_20211019224816.png
微信图片_20211019224816.png (32.58 KiB) Viewed 2992 times
微信图片_20211019224812.png
微信图片_20211019224812.png (774.98 KiB) Viewed 2992 times

ESP_Bob
Posts: 78
Joined: Fri Nov 27, 2020 12:52 pm

Re: S2,4G例子ML302问题

Postby ESP_Bob » Wed Oct 20, 2021 3:13 am

不接 RESET 引脚,需要在拨号异常时,手动复位 4G 模块

Who is online

Users browsing this forum: Bing [Bot] and 53 guests