ESP32 Cam Board Full Tutorials & Video Streaming

 


ESP32 Cam Board is a simple and cheap module for all those people who love work with Wireless Streaming projects like Wi-Fi Cam Robot, Wi-Fi Face Recognition and many more projects like this. I recently bought a new ESP32 Camera Module which is only just in 7$. It is design for IoT Based projects.

In this post, we learn how to use this for basic purpose and use for Video streaming over Wi-Fi which follows:-

>>Know More about ESP32 Cam module

>>Part Required

>>Wiring and Connection

>> Software Install and Board Manager

>>Coding and Programming

>>How to Use

Know More about ESP32 Cam Module

The ESP32 Cam is a very small and cheap with powerful microcontroller, this is a perfect deal for buy this board only just 7$. Its Support TF (TransFlash) Card or SD Card which can store data and recorded video and also store images by it. But the only negative feature of this board is that the USB port, it has not any single USB port to program or read/write the serial data for this we need to use external USB module. This is double sided PCB which has First side for Camera and TF Card and Second Side for Header Pins and Antenna. This is Low power 32 bit CPU and the clock speed of this module is 160MHz built in 520KB SRAM and External 4MPSRAM.  It supports UART/SPI/I2C communications PWM Signal and ADC/DAC converter. ESP32 Cam has also a 1W Powerful Flash Light that is bright and work OV2640 and OV7670 Cameras which has 2MP Cameras not HD but works fine and the Image Transfer Rate is 15 to 60 fps. It has a Reset switch in the second side of this board which is use for reset the board when the board connection fails many times and program not working properly sometimes.

Parts Required

ESP32 Cam Board

FTDI Module

Breadboard

Jumper Wires

Proper Connection and Wiring



Here is the simple the Circuit Diagram between FTDI to ESP32

ESP32 Cam is not very difficult to connect wires according to this tutorial and any other projects for beginners.

The Main programmer of this project is FTDI USB to TTL Module. Here I am using this FTDI232-RL Module which has 6 Pins, this programmer can also use in other AVR microcontroller programming like Arduino Pro Micro, ATMEGA328 and etc.

The First pin of this FTDI Module is DTR which in N/C (not connected).

The Second pin of FTDI Module is (RX) which is connects to ESP32’s (U0T) GPIO1 Transmit pin.

The Third pin of FTDI Module is (TX) which is connects to ESP32’s (U0R) GPIO3 Receive pin.

The Fourth Pin of FTDI Module is (VCC) which is connects to ESP32’s 5V pin.

The Fifth Pin of FTDI Module is (N/C) Not Connect Pin.

The Sixth Pin of FTDI Module is (GND) which is connects to ESP32’s (GND) Ground pin.

When you are uploading code in the ESP32 Cam then connect wire between GND to GPIO0 in ESP32 Cam Module, this is important because it’s mean the flashing or programming mode on.

Software Install and Board Manager

Like every other Arduino or ESP board, in this ESP32 Cam board also need Arduino IDE you can download from here- . Open the Arduino IDE software on your pc, then go the file menu and click on the Preference, Here is the Additional Board Manager URLs: and paste the URL on the box: https://dl.espressif.com/dl/package_esp32_index.json after the paste of this URL click OK.



Now go to the Tools Menu and click on the Board and then click on the Board Manager here Search ESP32 and then click Install it takes few minute for install, after successfully installation again click on the Board and find the ‘ESP32 Wrover Module’ Select the Port of the board.

Programming


After the all installation, here is a simple way to program for first time. In Arduino IDE software go to the File menu section here is examples then ESP32 and then Camera and click on the CameraWebServer. Now change the ssid and password of your router or network device (that you want to connect with it) in the code click on the Upload button.

How to Use

After Uploading the Code wait for the connection of ssid and password that you give in the code section then open serial monitor check the baud rate and set it ‘115200’ for serial communication. Now check the IP Address copy it and paste to your internet browser here I am using Google Chrome you can use any one of yours.



 A webpage open in your browser Click on Start Stream now its starts. There are lots of option for control Camera Color, Mode, Resolution, Lamp and etc.

Enjoy Camera Streaming of your ESP32 Cam.

 

Comments