This video show how to program AI-Thinker ESP32-CAM in Arduino IDE (with ESP32 Core), using FTDI adapter.
It have no USB interface on board, and also no button for downloading firmware. So I have to use a FTDI adapter, and a wire to program it.
The FTDI adapter have option to select 3V3 or 5V for VCC. Somebody suggest using 3V3, somebody else suggest 5V. In my case, 5V seem more stable, so I select option of 5V, and connect its VCC pin to ESP32's 5V pin. FTDI's GND to ESP32's GND.
To program ESP32-CAM, using a wire to short circuit between ESP32's GPIO0 and GND.
ESP32's UOT to FTDI RX.
ESP32's UOR to FTDI TX.
Make sure ESP32 is installed in Arduino IDE. To setup ESP32 on Arduino IDE, refer Install ESP32/ESP8266 to Arduino IDE on Ubuntu 20.04, with setup Pythton & serial.
Select board of AI Thinker ESP32-CAM.
Select the USB port connected to your ESP32-CAM.
Open Example > ESP32 > Camera > CameraWebServer
Modify the code:
Select camera model of CAMERA_MODEL_AI_THINKER,
and change ssid and password for your WiFi network.
Save as another new file. Verify and Upload to ESP32.
Un-plug USB from FTDI adapter (power-off).
Remove the wire between GPIO0 and GND.
Re-plug USB to FTDI adapter (power-on), to run the ESP32-CAM.
Open Arduino IDE's Serial Monitor and set Baud Rate to 115200.
After ESP32-CAM connect to WiFi network, mark down the IP address.
Use another device, PC, phone or table..., connect to the same WiFi
Open browser to visit the IP shown in Serial Monitor.
~ AI-Thinker's ESP32-CAM page (in Chinese)