Skip to content

Your Cart

All Categories

ESP32-CAM is a WIFI+ Bluetooth dual-mode development board that uses PCB on-board antennas and cores based on ESP32 chips. It can work independently as a minimum system.ESP integrates WiFi, traditional Bluetooth, and BLE Beacon, with 2 high-performance 32-bit LX6 CPUs, 7-stage pipeline architecture, main frequency adjustment range 80MHz to 240MHz, on-chip sensor, Hall sensor, temperature sensor, etc. Fully compliant with WiFi 802.11b/g/n/e/i and Bluetooth 4.2 standards, it can be used as a master mode to build an independent network controller, or as a slave to other hosts MCUs to add networking capabilities to existing devices.ESP32-CAM can be widely used in various IoT applications. It is suitable for home smart devices, industrial wireless control, wireless monitoring, QR wireless identification, wireless positioning system signals, and other IoT applications. It is an ideal solution for IoT applications.

Features:

  1. Ultra-small 802.11b/g/n Wi-Fi + BT/BLE SoC module
  2. Low-power dual-core 32-bit CPU for application processors
  3. Up to 240MHz, up to 600 DMIPS
  4. Built-in 520 KB SRAM, external 4M PSRAM
  5. Supports interfaces such as UART/SPI/I2C/PWM/ADC/DAC
  6. Support OV2640 and OV7670 cameras with built-in flash
  7. Support for images WiFI upload
  8. Support TF card
  9. Support multiple sleep modes
  10. Embedded Lwip and FreeRTOS
  11. Support STA/AP/STA+AP working mode
  12. Support Smart Config/AirKiss One-click distribution network
  13. Support for serial local upgrade and remote firmware upgrade (FOTA)
  14. Support secondary development

Product Specifications:

Module model

ESP32-CAM
Package DIP-16
Size 27*40.5*4.5(±0.2)mm
SPI Flash default 32Mbit
RAM internal520KB+external 4M PSRAM
Bluetooth bluetooth4.2BR/EDR and BLE standards
Wi-Fi 802.11 b/g/n/e/i
Support interface UART, SPI, I2C, PWM
Support TF card Maximum support 4G
IO port 9
Serial port rate default 115200 bps
Image output format JPEG (only supported by OV2640), BMP, GRAYSCALE
Spectrum range 2412 ~ 2484MHz
Antenna form onboard PCB antenna, gain 2dBi
Transmit power 802.11b: 17±2 dBm (@11Mbps)
802.11g: 14±2 dBm (@54Mbps)
802.11n: 13±2 dBm (@MCS7)
Receiving sensitivity CCK, 1 Mbps : -90dBm
CCK, 11 Mbps: -85dBm
6 Mbps (1/2 BPSK): -88dBm
54 Mbps (3/4 64-QAM): -70dBm
MCS7 (65 Mbps, 72.2 Mbps): -67dBm
Power consumption Turn off the flash: 180mA@5V
Turn on the flash and adjust the brightness to the maximum: 310mA@5V
Deep-sleep: The lowest power consumption can reach 6mA@5V
Modern-sleep: up to 20mA@5V
Light-sleep: up to 6.7mA@5V
Security WPA/WPA2/WPA2-Enterprise/WPS
Power supply range 5V
Operating temperature -20 °C ~ 85 °C
Storage environment -40 °C ~ 90 °C, < 90%RH

ESP32-CAM Picture Output Format Rate:

  QQVGA QVGA VGA SVGA
JPEG 6 7 7 8
BMP 9 9 - -
GRAYSCALE 9 8 - -

Package Include:

  • 1 x ESP32-CAM Module

Image result for esp32-cam

 

 

 #include "esp_camera.h" #include <WiFi.h> // // WARNING!!! PSRAM IC required for UXGA resolution and high JPEG quality // Ensure ESP32 Wrover Module or other board with PSRAM is selected // Partial images will be transmitted if image exceeds buffer size // // You must select partition scheme from the board menu that has at least 3MB APP space. // Face Recognition is DISABLED for ESP32 and ESP32-S2, because it takes up from 15 // seconds to process single frame. Face Detection is ENABLED if PSRAM is enabled as well // =================== // Select camera model // =================== //#define CAMERA_MODEL_WROVER_KIT //#define CAMERA_MODEL_ESP_EYE //#define CAMERA_MODEL_ESP32S3_EYE //#define CAMERA_MODEL_M5STACK_PSRAM //#define CAMERA_MODEL_M5STACK_V2_PSRAM //#define CAMERA_MODEL_M5STACK_WIDE //#define CAMERA_MODEL_M5STACK_ESP32CAM //#define CAMERA_MODEL_M5STACK_UNITCAM //#define CAMERA_MODEL_M5STACK_CAMS3_UNIT #define CAMERA_MODEL_AI_THINKER //#define CAMERA_MODEL_TTGO_T_JOURNAL //#define CAMERA_MODEL_XIAO_ESP32S3 // ** Espressif Internal Boards ** //#define CAMERA_MODEL_ESP32_CAM_BOARD //#define CAMERA_MODEL_ESP32S2_CAM_BOARD //#define CAMERA_MODEL_ESP32S3_CAM_LCD //#define CAMERA_MODEL_DFRobot_FireBeetle2_ESP32S3 //#define CAMERA_MODEL_DFRobot_Romeo_ESP32S3 #include "camera_pins.h" // =========================== // Enter your WiFi credentials // =========================== const char *ssid = "Digilog"; const char *password = "DIGILOGPK"; void startCameraServer(); void setupLedFlash(int pin); void setup() { Serial.begin(115200); Serial.setDebugOutput(true); Serial.println(); camera_config_t config; config.ledc_channel = LEDC_CHANNEL_0; config.ledc_timer = LEDC_TIMER_0; config.pin_d0 = Y2_GPIO_NUM; config.pin_d1 = Y3_GPIO_NUM; config.pin_d2 = Y4_GPIO_NUM; config.pin_d3 = Y5_GPIO_NUM; config.pin_d4 = Y6_GPIO_NUM; config.pin_d5 = Y7_GPIO_NUM; config.pin_d6 = Y8_GPIO_NUM; config.pin_d7 = Y9_GPIO_NUM; config.pin_xclk = XCLK_GPIO_NUM; config.pin_pclk = PCLK_GPIO_NUM; config.pin_vsync = VSYNC_GPIO_NUM; config.pin_href = HREF_GPIO_NUM; config.pin_sccb_sda = SIOD_GPIO_NUM; config.pin_sccb_scl = SIOC_GPIO_NUM; config.pin_pwdn = PWDN_GPIO_NUM; config.pin_reset = RESET_GPIO_NUM; config.xclk_freq_hz = 20000000; config.frame_size = FRAMESIZE_UXGA; config.pixel_format = PIXFORMAT_JPEG; //config.pixel_format = PIXFORMAT_RGB565; config.grab_mode = CAMERA_GRAB_WHEN_EMPTY; config.fb_location = CAMERA_FB_IN_PSRAM; config.jpeg_quality = 12; config.fb_count = 1; if (config.pixel_format == PIXFORMAT_JPEG) { if (psramFound()) { config.jpeg_quality = 10; config.fb_count = 2; config.grab_mode = CAMERA_GRAB_LATEST; } else { config.frame_size = FRAMESIZE_SVGA; config.fb_location = CAMERA_FB_IN_DRAM; } } else { config.frame_size = FRAMESIZE_240X240; #if CONFIG_IDF_TARGET_ESP32S3 config.fb_count = 2; #endif } #if defined(CAMERA_MODEL_ESP_EYE) pinMode(13, INPUT_PULLUP); pinMode(14, INPUT_PULLUP); #endif esp_err_t err = esp_camera_init(&config); if (err != ESP_OK) { Serial.printf("Camera init failed with error 0x%x", err); return; } sensor_t *s = esp_camera_sensor_get(); if (s->id.PID == OV3660_PID) { s->set_vflip(s, 1); s->set_brightness(s, 1); s->set_saturation(s, -2); } if (config.pixel_format == PIXFORMAT_JPEG) { s->set_framesize(s, FRAMESIZE_QVGA); } #if defined(CAMERA_MODEL_M5STACK_WIDE) || defined(CAMERA_MODEL_M5STACK_ESP32CAM) s->set_vflip(s, 1); s->set_hmirror(s, 1); #endif #if defined(CAMERA_MODEL_ESP32S3_EYE) s->set_vflip(s, 1); #endif #if defined(LED_GPIO_NUM) setupLedFlash(LED_GPIO_NUM); #endif WiFi.begin(ssid, password); WiFi.setSleep(false); Serial.print("WiFi connecting"); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected"); startCameraServer(); Serial.print("Camera Ready! Use 'http://"); Serial.print(WiFi.localIP()); Serial.println("' to connect"); } void loop() { delay(10000); }  
Let us know abour your query!