ESP 32 Camera Streaming video over WiFi |Getting Started with ESP 32 CAM board


The ESP32-CAM is a very small camera module with the ESP32-S chip that costs approximately $10. Besides the OV2640 camera, and several GPIOs to connect peripherals, it also features a microSD card slot that can be useful to store images taken with the camera or to store files to serve to clients.

Components Required :

ESP 32 Cam Board :


Features :

  • The smallest 802.11b/g/n Wi-Fi BT SoC module
  • Low power 32-bit CPU,can also serve the application processor
  • Up to 160MHz clock speed, summary computing power up to 600 DMIPS
  • Built-in 520 KB SRAM, external 4MPSRAM
  • Support OV2640 and OV7670 cameras, built-in flash lamp
  • Support image WiFI upload
  • Support TF card
  • Supports multiple sleep modes
  • Embedded Lwip and FreeRTOS
  • Supports STA/AP/STA+AP operation mode
  • Support Smart Config/AirKiss technology
  • Support for serial port local and remote firmware upgrades (FOTA)

Pin Configuration :

Pins used for microSD 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

Install ESP 32 boards in Arduino IDE :

Please refer this video to add ESP32 Boards in Arduino IDE

ESP 32 Boards Link :

Code :

In your Arduino IDE, go to File Examples ESP32 Camera and open the CameraWebServer example.


Download the code from here :

Schematics For Programming the Board :

The ESP32-CAM doesn’t have a USB connector, so you need to use FTDI to upload code through the U0R and U0T pins (serial pins) in ESP32 CAM Board.

Please refer the schematics below

Uploading of the code :

Before uploading the code, you need to input your wifi credentials in the following part of code:

const char* ssid = "REPLACE_WITH_YOUR_SSID";
const char* password = "REPLACE_WITH_YOUR_PASSWORD";

and make sure you select the right camera module.As here we’re using the AI-THINKER Model so select the following

So, comment all the other models and uncomment this one:


follow these steps to upload the code :

  1. Go to Tools Board and select ESP32 Wrover Module
  2. Go to Tools Port and select the COM port the ESP32 is connected to
  3. In Tools Partition Scheme, select “Huge APP (3MB No OTA)
  4. Then, click the upload button to upload the code.

Getting IP From Serial Monitor :

Remove the jumper connected between GPIO0 & GND then,​

Open the Serial Monitor with the baud rate : 115200. Press the ESP32-CAM on-board Reset button and wait for the IP to appear and wait for few seconds and then hit reset again.

Its time to check the video Stream :

Open your browser and make sure your PC is connected to same network as ESP32 CAM and then type the IP and click on stream button and you’ll get similar video stream.

For Detailed Info Please watch the video.

3,456 thoughts on “ESP 32 Camera Streaming video over WiFi |Getting Started with ESP 32 CAM board

  1. Status Auto Liker, auto like, Autoliker, Auto Liker, Increase Likes, Photo Liker, ZFN Liker, auto liker, autoliker, Photo Auto Liker, Autoliker, autolike, Autolike, Status Liker, Working Auto Liker, Auto Like, Autolike International

  2. Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone! zoloft 150 mg.

  3. [url=]retin a 1.0 for sale[/url] [url=]viagra 50 mg pill[/url] [url=]atenolol[/url] [url=]tadalafil 20 mg[/url] [url=]tretinoin 5[/url]

  4. [url=]prednisone 10mg[/url] [url=]buy viagra online cheap[/url] [url=]over the counter generic sildenafil[/url] [url=]tadalafil cheapest price[/url] [url=]atenolol 25 mg[/url]

  5. Yet another issue is really that video gaming became one of the all-time greatest forms of excitement for people spanning various ages. Kids have fun with video games, plus adults do, too. The particular XBox 360 is one of the favorite gaming systems for those who love to have hundreds of video games available to them, in addition to who like to learn live with other people all over the world. Thank you for sharing your ideas. canadian online pharmacy

  6. I precisely had to say thanks again. I do not know the things that I could possibly have worked on in the absence of those advice shown by you directly on my problem. Completely was a difficult condition in my position, but seeing a professional strategy you resolved it made me to weep with happiness. I am thankful for the information and as well , have high hopes you really know what a great job you’re undertaking teaching people today through the use of your webblog. Probably you haven’t encountered any of us. generic viagra without a doctor prescription