ESP8684-WROOM-02C模组输出乱码

Moderator: ESP_XCGuang

MsTS96
Posts: 12
Joined: Wed Sep 22, 2021 6:17 am

ESP8684-WROOM-02C模组输出乱码

Postby MsTS96 » Wed Sep 20, 2023 1:03 pm

淘宝购买的ESP8684-WROOM-02C模组,上电串口持续输出乱码
11.png
11.png (336 KiB) Viewed 11872 times

MsTS96
Posts: 12
Joined: Wed Sep 22, 2021 6:17 am

Re: ESP8684-WROOM-02C模组输出乱码

Postby MsTS96 » Wed Sep 20, 2023 1:07 pm

波特率调到76800后出现下面的日志,淘宝买的模组是没有刷at固件的吗??

ESP-ROM:esp8684-api2-20220127
Build:Jan 27 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: ESP8684-WROOM-02C模组输出乱码

Postby ESP_Sun » Fri Sep 22, 2023 2:57 am

可以自行根据 AT 文档 烧录 AT 固件。

gugugaga
Posts: 1
Joined: Sun Mar 03, 2024 1:11 pm

Re: ESP8684-WROOM-02C模组输出乱码

Postby gugugaga » Sun Mar 03, 2024 1:39 pm

有的esp8266模组晶振频率为26Mhz,串口波特率为76800或者74880,如果是在esp-idf里,需要将SDK Configuration Editor里将XTAL调整为26Mhz,才能正常接收串口数据。如果后面出现wifi无法使用的问题,应该还是晶振频率的原因
微信图片编辑_20240303212024.jpg
微信图片编辑_20240303212024.jpg (395.92 KiB) Viewed 7660 times

参考连接:
https://docs.espressif.com/projects/esp ... the-output
wifi问题:
https://github.com/espressif/esp-idf/issues/11703
https://github.com/espressif/esp-idf/is ... 1547495560

Who is online

Users browsing this forum: No registered users and 8 guests