Video Streaming Server
Follow the next steps to build a video streaming web server with the ESP32-CAM that you can access on your local network.
1. Install the ESP32 add-on
we use Arduino IDE to program the ESP32-CAM board. So, you need to have Arduino IDE installed as well as the ESP32 add-on. Follow one of the next tutorials to install the ESP32 add-on, if you haven’t already:
Installing the ESP32 Board in Arduino IDE (Windows instructions)
ESP32 – CPU: Xtensa® Dual-Core 32-bit LX6
ROM: 448 KBytes
RAM: 520 Kbytes
Flash: 4 MB
Support for OV2640 and OV7670 camera
Maximum clock: 240MHz
802.11 b / g / n wireless standard
2.4Ghz Wifi connection (150 Mbps maximum)
Support for SD card
Antenna – Micro USB connector
Wi-Fi Direct (P2P), P2P Discovery, P2P Group Owner mode and P2P Power Management
Operating modes: STA / AP / STA + AP
Bluetooth BLE 4.2
GPIO ports: 16
GPIO with PWM, I2C, SPI, etc.
Operating Voltage: 5 V
Transfer Rate: 110-460800 bps
Supports Remote Firmware Upgrade
01 – ESP32-CAM Module
01 – OV2640 2 MP Camera
The ESP32-CAM doesn’t come with a USB connector, so you need an FTDI programmer to upload code through the U0R and U0T pins (serial pins).
There are three GND pins and two pins for power: either 3.3V or 5V.
GPIO 1 and GPIO 3 are the serial pins. You need these pins to upload code to your board.
Additionally, GPIO 0 also plays an important role, since it determines whether the ESP32 is in flashing mode or not.
When GPIO 0 is connected to GND, the ESP32 is in flashing mode.
The following pins are internally connected to the micro SD card reader:
GPIO 14: CLK
GPIO 15: CMD
GPIO 2: Data 0
GPIO 4: Data 1 (also connected to the on-board LED)
GPIO 12: Data 2
GPIO 13: Data 3