What you need: 1 X ESP32-CAM
1 X FTDI Module
1 X 5P Female to Female Dupont Cable Connection:
In your Arduino IDE, go to File > Examples > ESP32 > Camera and open the CameraWebServer example.
The following code should load.
Before uploading the code, you need to insert your network credentials in the following variables:
Make sure you select the right camera module. In this case, we’re using the AI-THINKER Model.
So, comment all the other models and uncomment this one:
Go to Tools > Board and select AI-Thinker ESP32-CAM.
Go to Tools > Port and select the COM port the ESP32 is connected to.
Then, click the upload button to upload the code.
When it always show connecting………..,
1) please make sure GPIO 0 and GND are connected
2) press the ESP32-CAM on-board RST button
After uploading the code, disconnect GPIO 0 from GND.
Open the Serial Monitor at a baud rate of 115200. Press the ESP32-CAM on-board Reset button.
The ESP32 IP address should be printed in the Serial Monitor.
The IP address I got is http://192.168.0.186, copy it and paste it to browser, then you can see below page, also you will see the print information of Arduino serial monitor window:
Install ESP32-C3 in your arduino IDE
1, click File-Preference, and copy below links to “Arduino Preferences Additional Boards Manager URLs”, then click “OK”. https://raw.githubusercontent.com/espressif/arduino-ESP32/gh-pages/package_ESP32_dev_index.json
2, Click Tools-Board-Boards Manager, and search ESP32, you need download 2.0.0 version, (any version over 2.0.0 is ok)
1, Connect ESP32-C3 board with Mac or PC
2, Choose Tools-Board-ESP32 Arduino-ESP32C3 Dev Module
3, Choose Port
4, Upload code: File-Examples-WiFi-WiFiScan
5, Open Serial Monitor window, then you will find the wifi names.