My settings:
Board: AI Thinker ESP32-CAM
Partition Scheme: "Huge APP (3MB No OTS/1MB SPIFFS)" or "No OTA (2MB APP/2MB SPIFFS)"
Sketch: File/Examples/ESP32/Camera/CameraWebServer (then save project to disk)
Edit partitions.csv in the folder CameraWebServer:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x3d0000,
fr, data, , 0x3e0000, 0x1ff00,
coredump, data, coredump, 0x3fff00, 0x100,
Edit sketch:
-> activate #define CAMERA_MODEL_AI_THINKER (comment out // others, except #include "camera_pins.h")
-> configure "const char* ssid" and "const char* password"
Before upload:
-> Tools/Serial Monitor
-> Press reset on the board
-> ..waiting for download (if not, check the jumper IO0 to GND and try again)
After upload:
-> Disconnect jumper IO0 to GND
-> Tools/Serial Monitor
-> Press reset on the board
-> Camera Ready! Use 'http://192.168.x.x' to connect
Toggle OV2640 settings:
XCLK MHz 6
VGA(640x480)