Hello friends! Welcome to TechStudyCell. In this video, we will discuss, how to program
ESP32-CAM using the Arduino UNO. Now As you can I can not connect ESP32CAM
directly with my laptop for that I have to use this FTDI232 USB to serial interface board. But instead of this USB to serial interface
board, we can also use Arduino UNO to program ESP32CAM board. During the video, I will share the circuit
diagram and I will also explain what are the setting you have to change while programming
this esp32cam using Arduino UNO. And if you did not yet subscribe our channel
please do subscribe. It will encourage me to make more such useful
videos. So let get started. First, we will connect this ESP32CAM with
Arduino UNO as per this circuit diagram. Now in this circuit, you can see I have connected
TX to TX, RX to RX, GND to GND, and 5V to 5V. And I have connected the RESET pin of the
Arduino with GND. And during programming, the GPIO-0 should
be connected with the GND. As you can see I have connected these two
boards as per the circuit diagram. Now I can connect Arduino with my laptop. Now in the Arduino IDE, first, you have to
go to file then preference, then you have to paste these URLs at Additional Board Manager
URLs. I will share these URLs at the video description. After that you have to go to Tools -the Boards
then Boards Manager. Then you have to type ESP32. You have to install this board. I have already installed it. Now I will upload an example sketch. So I will go to File, examples, then here
I will select ESP32, then I will go to the Camera, and then Camera web server. So I will upload this sketch. In this sketch, I have to type my WiFi credentials. Here I will type the wifi name and I have
to type wifi password. And you have to choose the camera model, you
are using in this project. So, for my case I am using the camera model
AI thinker, so I will uncomment this line. After that I will go to tools, then in the
board, I will select ESP32 Wrover Module board, in the flash mode "QIO", then in the partition
scheme I will choose "Huge APP", Flash frequency will be 40Hz, then I will select the upload
speed 115200, then I will select the proper port, here you can see I have connected Arduino
UNO, so it showing Arduino UNO. Now in the programmer, I will choose "AVR
ISP". So you have to select all these settings,
as I have shown you. Now I can upload this sketch, so for that
I will click on the upload button. Now I have to press the reset button once
on the ESP32CAM. Now as you can see the code is uploading to
the ESP32CAM board. And here you can see the transmitter and receiver
LEDs also blinking on the Arduino UNO board. Now the Uploading is done. Now I will disconnect this wire which connects
the GND with GPIO-0. So I am disconnecting this wire. Now if I go to the serial monitor and the
baud rate you have to choose 115200. Now if I press the reset button of the ESP32CAM
then I should get the IP. And here you can see this is the IP. Now I have to copy this IP, and then I have
to go to the browser, and here I have to paste it. Now to start the stream, I have to click on
the Start Stream button. Now here you can see the stream started. And Thus we can easily program ESP32CAM board
using the Arduino UNO. If I turn on the Face recognition then you
can see this is also working. And if I go to the serial monitor, you can
see it's working fine. So thus you can easily upload the code to
the ESP32CAM board using Arduino UNO. Now after uploading the code, I can disconnect
the ESP32CAM board from the Arduino, and now we can connect it with the different circuits
for different projects. If you follow all the steps you should not
get any error, but still, if you get any connection errors then disconnect the Arduino from your
laptop and try it again. And if you like this video, please give a
Thumbs Up and share it with your friends. Don't forget to subscribe for more such videos. Thank you for watching have a great day.