0% found this document useful (0 votes)
72 views29 pages

Tutorial (Read Me First) ESP-Cam

1. The document provides instructions for setting up an ESP32-CAM device, including installing drivers, downloading the Arduino IDE, adding the ESP32 board, and uploading examples codes to the ESP32-CAM. 2. It walks through running the CameraWebServer example code, obtaining the ESP32-CAM's IP address, and accessing the video stream in a browser. 3. Additional examples are provided for running infrared and sound sensor codes and integrating the ESP32-CAM with Home Assistant by adding its IP address as a camera stream.

Uploaded by

Toto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views29 pages

Tutorial (Read Me First) ESP-Cam

1. The document provides instructions for setting up an ESP32-CAM device, including installing drivers, downloading the Arduino IDE, adding the ESP32 board, and uploading examples codes to the ESP32-CAM. 2. It walks through running the CameraWebServer example code, obtaining the ESP32-CAM's IP address, and accessing the video stream in a browser. 3. Additional examples are provided for running infrared and sound sensor codes and integrating the ESP32-CAM with Home Assistant by adding its IP address as a camera stream.

Uploaded by

Toto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 29

Catalog

1. Install “PL-2303 USB-to-Serial Driver”............................................................................................2


(1) Install the driver software on Windows OS:........................................................................................2
(2) Computer recognize the ESP32 Module:.............................................................................................2
2. Download Arduino IDE 1.8.4..............................................................................................................2
3. Installing ESP32 in Arduino IDE.......................................................................................................2
(1) In your Arduino IDE, go to File> Preferences.....................................................................................3
(2) Enter ESP32 Packaget URL.................................................................................................................3
(3) Open the Boards Manager. Go to Tools > Board > Boards Manager..................................................4
(4) Search for ESP32 and press install button for the “ESP32 by Espressif Systems”.........................5
4. Setting Tool Parameters......................................................................................................................6
(1) Arduino IDE 1.8.4 -> Tools.................................................................................................................6
5. Run CameraWebServer Example Code............................................................................................7
(1) Import Code:.........................................................................................................................................7
(2) Modify CameraWebServer Code.........................................................................................................7
(3) Connect components............................................................................................................................8
(4) Upload the Code to ESP32-CAM........................................................................................................9
(5) Disconnect the GPIO 0 and GND ports.............................................................................................11
(6) Run the Code......................................................................................................................................12
(7) Get the your ESP-32 CAM Server IP address....................................................................................12
(8) Login ESP32-CAM IP address in LAN.............................................................................................13
6. Run ESP32_CAM_Infrared_Sound_Sensor Code.........................................................................15
(1) Import Code........................................................................................................................................15
(2) Insert SD card into ESP 32-CAM......................................................................................................15
(3) Connect components..........................................................................................................................15
(4) Upload the Code to ESP32-CAM......................................................................................................17
(5) Disconnect the GPIO 0 and GND ports.............................................................................................19
(6) Connect components again.................................................................................................................20
(7) Run the Code......................................................................................................................................23
7. ESP32-CAM Home Assistant Integration.......................................................................................25
(1) Prerequisites.......................................................................................................................................25
(2) Adding ESP32-CAM to Home Assistant...........................................................................................25
(3) Open Configure UI:............................................................................................................................26
(4) Add a new card to your Dashboard....................................................................................................26
(5) Pick a card of the type Picture............................................................................................................27
(6) Enter the Image URL field,................................................................................................................28
(7) Home Assistant can display the ESP32-CAM video streaming.........................................................28
8. Thanks.................................................................................................................................................29
1. Install “PL-2303 USB-to-Serial
Driver”
(1) Install the driver software on Windows
OS:
/pl2303_Serial to USB_Driver for Windows/PL2303_Prolific_DriverInstaller_v110.exe

(2) Computer recognize the ESP32 Module:

2. Download Arduino IDE 1.8.4


https://www.arduino.cc/download_handler.php?f=/arduino-1.8.4-windows.zip
3. Installing ESP32 in Arduino IDE
(1) Induino IDE, go to File> Preferences

(2) Enter ESP32 Packaget URL


“https://dl.espressif.com/dl/package_esp32_index.json” into the “Additional Board Manager
URLs” field as shown in the figure below. Then, click the “OK” button:
(3) Open the Boards Manager. Go to Tools >
Board > Boards Manager
(4) Search for ESP32 and press install button
for the “ESP32 by Espressif Systems”
4. Setting Tool Parameters
(1) Arduino IDE 1.8.4 -> Tools
5. Run CameraWebServer Example
Code
(1) Import Code:
Arduino IDE -> File -> Examples -> ESP32 -> Camera -> CameraWebServer

(2) Modify CameraWebServer Code


(3) Connect components

ESP32-CAM USB-to-Serial Cable


5V Red Cable
GPIO3 Green Cable
GPIO1 White Cable
GND Black Cable
ESP32-CAM ESP32-CAM
GND GPIO0
Connect GPIO 0 and GND ports with DuPont cable

(4) Upload the Code to ESP32-CAM


(5) Disconnect the GPIO 0 and GND ports
(6) Run the Code
Press the RESET button on the ESP32-CAM
(7) Get the your ESP-32 CAM Server IP address
(8) Login ESP32-CAM IP address in LAN
6. Run
ESP32_CAM_Infrared_Sound_Sensor
Code
(1) Import Code

(2) Insert SD card into ESP 32-CAM


Insert SD card into ESP 32-CAM

(3) Connect components


ESP32-CAM USB-to-Serial Cable
5V Red Cable
GPIO3 Green Cable
GPIO1 White Cable
GND Black Cable

ESP32-CAM ESP32-CAM
GND GPIO0
Connect GPIO 0 and GND ports with DuPont cable
(4) Upload the Code to ESP32-CAM
(5) Disconnect the GPIO 0 and GND ports
(6) Connect components again
ESP32-CAM USB-to-Serial Cable
5V Red Cable
GPIO 3 Green Cable
GPIO 1 White Cable
GND Black Cable

ESP32-CAM HC-SR501 Human Infrared Sensor


3.3V VCC
GND GND
GPIO 13 DATA

ESP32-CAM KY-037 Voice Sensor


3.3V/5V VCC
GND GND
GPIO 12 OUT
(7) Run the Code

A. If ESP32 CAM takes pictures frequently. Or never take a picture.Adjust the rotary buttons on
the HC-SR501 Human Infrared Sensor and Microphone Voice Sensor to adjust the sensitivity
B. Serial Monitor Result
C. SD Card Image

7. ESP32-CAM Home Assistant


Integration
(1) Prerequisites
You should be familiar with the Raspberry Pi – read Getting Started with Raspberry Pi.
Getting Started with Home Assistant on Raspberry Pi

(2) Adding ESP32-CAM to Home Assistant


Open your Home Assistant dashboard and go to the more Settings menu.
(3) Open Configure UI:

(4) Add a new card to your Dashboard


(5) Pick a card of the type Picture
(6) Enter the Image URL field,
enter your ESP32-CAM IP address. Then, click the “SAVE” button and return to the main
dashboard

(7) Home Assistant can display the ESP32-CAM


video streaming
8. Thanks
Thank you very much for reading. Please don’t share and publish tutorial or URL links to the
public. Once others get the link for free, they will not buy this product, thank you very much.
If you have any questions, please email us: wideland@hotmail.com. We will use email or
remote software "TeamViewer" to help you.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy