我收到下面的错误。我按了esp32摄像头的复位按钮,但没有工作。帮帮忙吧。Arduino: 1.8.12 (Windows 10),板:"AI Thinker ESP32-CAM,160 QIO (WiFi/BT),QIO,80 QIO“
Sketch uses 699158 bytes (22%) of program storage space. Maximum is 3145728 bytes.
Global variables use 38104 bytes (11%) of dynamic memory, leaving 289576 bytes for local variables. Maximum is 327680 bytes.
C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0/esptool.exe --chip esp32 --port COM4 --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/partitions/boot_app0.bin 0x1000 C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 C:\Users\DELL\AppData\Local\Temp\arduino_build_210700/WiFiScan.ino.bin 0x8000 C:\Users\DELL\AppData\Local\Temp\arduino_build_210700/WiFiScan.ino.partitions.bin
esptool.py v3.0-dev
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____....._____
**A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header**
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.发布于 2022-10-03 06:53:24
因为ESP32-CAM没有USB端口,所以您必须使用FTDI适配器将其连接到计算机以对其进行编程。要做到这一点,你必须正确地闪现它。
要正确地闪存它,首先遵循从FTDI适配器到ESP32-CAM的连接:

然后上传代码。您应该在Arduino IDE中看到一条消息,说明它正在编译。在此过程中的某个时刻,FTDI适配器应该开始闪烁,在此期间,您需要按ESP32-CAM上的重置按钮。
一旦代码完全上传,您需要删除跳线连接IO引脚0到GND,然后再按复位按钮。
在此之后,代码应该开始工作,您可以断开ESP32-CAM与FTDI适配器的连接。每次要将代码上传到ESP32-CAM上时,都需要重复此过程。
这是一个更详细地演示它的人的YouTube视频:https://www.youtube.com/watch?v=JYchUapoqzc
祝好运!
https://stackoverflow.com/questions/73923769
复制相似问题