ideaspark CAM-ESP-32

Contents

ideaspark CAM-ESP-32 Arduino Kit Instruction Manual

Model: CAM-ESP-32 | Brand: ideaspark

1. Introduction

The ideaspark CAM-ESP-32 Arduino Kit is a versatile development solution designed for various Internet of Things (IoT) applications. This kit integrates a camera module, WiFi, and Bluetooth capabilities with sensors for motion and sound detection, making it ideal for smart home devices, industrial wireless control, wireless monitoring, QR identification, and wireless positioning systems. It supports face detection and recognition, and can be integrated with Home Assistant. Developed with Arduino code, it is suitable for both beginners and experienced users looking to expand its functionalities, such as remote WAN surveillance cameras or image uploading to cloud services.

2. Package Contents

Please verify that all the following components are included in your package:

  • 1 x ESP-32 CAM Module
  • 1 x 2 Million Pixel Camera
  • 1 x USB to TTL Serial Cable
  • 1 x 128M SD Card
  • 1 x HC-SR-501 Infrared PIR Sensor
  • 1 x Sound Sensor
  • 2 x Breadboards
  • 20 x Dupont Cables
ideaspark CAM-ESP-32 Arduino Kit Components
Figure 2.1: Overview of all components included in the ideaspark CAM-ESP-32 Arduino Kit.
ideaspark CAM-ESP-32 Arduino Kit in transparent box
Figure 2.2: The ideaspark CAM-ESP-32 Arduino Kit neatly packaged in its transparent storage box.

3. Key Features

  • ESP-32 CAM Module: Features a built-in 2 million pixel flash camera, an SD card slot, and a dual-mode WiFi and Bluetooth 4.2 development board. It includes integrated PCB antennas and is based on ESP-32 chip cores. It can function as a master for independent network controllers or as a slave to other host MCUs to add network capabilities.
  • USB to TTL Serial Cable (PL2303): A 3.2-foot USB2.0 cable designed to connect devices with 3.3V logic level UART signal interfaces to a computer via a USB port. It provides access to UART Tx, Rx, 5V, and GND. Compatible with Windows 2008 / XP / Vista / 7/8/10 (32,64-bit).
  • 128M Micro SD Card: Compact storage solution (0.59x 0.43x0.04 inches) with 128MB capacity and read/write speeds of 18M/5M (s). An adapter is required for computer recognition.
  • HC-SR-501 Infrared PIR Sensor: Detects motion. When someone approaches, the sensor outputs a HIGH signal; when they leave, it outputs LOW. Features adjustable sensitivity and time delay. Detection angle is less than 100°.
  • Sound Sensor: Incorporates a capacitive electret microphone. It identifies the presence or absence of sound. When sound intensity exceeds a set threshold, the output is LOW (light off); otherwise, the output is HIGH (light ON). Sensitivity is adjustable.

4. Setup Guide

Follow these steps to set up your CAM-ESP-32 kit and prepare it for programming:

  1. Install "PL-2303 USB-to-Serial Driver": Install the necessary driver for the USB to TTL serial cable on your Windows operating system.
  2. Download Arduino IDE 1.8.4: Obtain and install the Arduino Integrated Development Environment (IDE) version 1.8.4 or later.
  3. Install ESP-32 in Arduino IDE: Configure the Arduino IDE to support the ESP-32 board. This typically involves adding the ESP-32 board manager URL in preferences and installing the board package.
  4. Setting Tool Parameters: Within the Arduino IDE, select the correct board (e.g., "ESP32 Wrover Module") and port for your connected ESP-32 CAM. Ensure the partition scheme is set appropriately (e.g., "Huge APP (3MB No OTA)").
  5. Connect Components: Connect the ESP-32 CAM module to the USB to TTL serial cable. Ensure GPIO0 is connected to GND during upload mode. Refer to the pinout diagrams for correct connections.
  6. Run CameraWebServer Example Code:
    1. Import the CameraWebServer example code into the Arduino IDE.
    2. Modify the code to include your WiFi SSID and password.
    3. Upload the code to the ESP-32 CAM module.
    4. Disconnect GPIO0 from GND after successful upload.
    5. Open the Serial Monitor in Arduino IDE to find the IP address assigned to the ESP-32 CAM.
  7. Run ESP_32_CAM_Infrared_Sound_Sensor Code: Follow similar steps to upload and run the example code for integrating the infrared and sound sensors.
  8. CAM ESP-32 Home Assistant Integration: Instructions for integrating the module with Home Assistant will be provided in the tutorial document.
ESP-32 CAM Tutorial Steps and Pinout Diagram
Figure 4.1: Visual guide for tutorial steps and ESP-32 CAM pinout for connections.
Detailed ESP-32 CAM Pinout and USB to TTL Cable Wiring
Figure 4.2: Detailed pinout diagram for the ESP-32 CAM module and wiring instructions for the USB to TTL serial cable.

5. Operating Instructions

The CAM-ESP-32 kit is designed for intelligent monitoring and interaction. Here's how its core functionalities operate:

5.1. Motion and Sound Activated Capture

When the kit is in a low-power (deep sleep) state, the HC-SR-501 PIR sensor and the sound sensor continuously monitor the environment. If motion is detected by the PIR sensor or a significant noise is picked up by the sound sensor, the ESP-32 CAM module will wake up. Upon waking, it will capture an image using the 2 million pixel camera, and this image will be saved to the inserted 128MB Micro SD card.

5.2. Camera Web Server and Live Streaming

Once the CameraWebServer example code is uploaded and the module is connected to your local WiFi network, you can access a live stream from the camera. Open a web browser and navigate to the IP address obtained from the Arduino Serial Monitor. This interface allows you to view the live feed, adjust camera settings (resolution, quality, brightness, contrast, etc.), and perform face detection and recognition tasks.

ESP-32 CAM Workflow Diagram
Figure 5.1: Operational workflow of the ESP-32 CAM kit, illustrating how sensors trigger image capture and storage.
ESP-32 CAM Web Server Interface
Figure 5.2: Screenshot of the ESP-32 CAM web server interface, showing camera settings and image preview.

6. Important Notes

  • Power Supply: The ESP-32 CAM requires a stable input power of at least 5V / 2A. Insufficient power can lead to unstable image capture or module malfunction.
  • SD Card Capacity: The ESP-32 CAM module supports Micro SD cards with capacities up to 4GB.
  • WiFi Image Upload: The module supports uploading captured images via WiFi, enabling remote access and storage.
  • WiFi Frequency: The ESP-32 CAM module operates on the 2.4GHz WiFi band. Ensure your router is configured to support 2.4GHz or that you are connecting to a 2.4GHz network. It does not support 5GHz WiFi.

7. Troubleshooting

  • Module Not Recognized / Driver Issues: If your computer does not recognize the USB to TTL serial cable, ensure the PL-2303 driver is correctly installed. Sometimes, specific versions of the driver are required.
  • Camera Errors / Unstable Images: Verify that the ESP-32 CAM module is receiving adequate power (at least 5V / 2A). Check all connections, especially the camera ribbon cable, for proper seating.
  • WiFi Connection Problems: Confirm that your WiFi network is operating on the 2.4GHz band. Double-check your SSID and password in the Arduino code. Ensure the module is within range of your WiFi router.
  • Upload Errors (Failed to connect to ESP32): Make sure GPIO0 is connected to GND when uploading code. Disconnect it after the upload starts or completes. Ensure the correct board and COM port are selected in the Arduino IDE.
  • Difficulty Reading Pin Labels: The pin labels on the ESP32-CAM board can be small. Refer to the detailed pinout diagrams provided in the tutorial and this manual for accurate connections.

8. Specifications

FeatureDetail
Product Dimensions14.48 x 8.38 x 3.56 cm
Product Weight100 Grams
Brandideaspark
Model Namecam-esp-32
Installed RAM Size4 GB (Note: This refers to the development environment's capacity, not the module's internal RAM)
Memory Storage Capacity4 GB (for SD card expansion, kit includes 128MB)
Connectivity TechnologyUSB
Operating SystemFreeRTOS
CPU ManufacturerEspressif
Wireless Communication StandardBluetooth, Infrared, WiFi
Compatible DevicesSmartphones, computers, smart home automation devices
Processor Count1
USB Ports1 (via USB to TTL cable)
UPC / GTIN706597462558

9. Support

For detailed tutorials, demonstration code, necessary drivers, and class libraries, please refer to the download link provided on a label at the bottom of your product packaging. If you cannot locate this link or require further assistance, please contact ideaspark customer support through Amazon. We aim to respond promptly to all inquiries.

10. Warranty Information

Specific warranty details for this product are not provided in the available product information. Please refer to the seller's policies on Amazon or contact ideaspark directly for warranty-related inquiries.

© 2023 ideaspark. All rights reserved.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?