Component guide · Intermediate · 4 min read
ESP32 Camera Boards

LilyGO T-Camera S3 and Plus, T-Journal, M5Stack Timer Camera and CamS3, DFRobot ESP32-S3 AI Camera, FireBeetle, Waveshare, AMB82
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These boards pair an ESP32 or ESP32-S3 with a camera, PSRAM and extras such as a screen, PIR sensor, microphone, battery charger or SD card. They stream video over Wi-Fi, take time-lapse photos, and run small AI models on the S3. LilyGO, M5Stack, DFRobot and Waveshare boards are easier to program than the bare ESP32-CAM thanks to USB. The Realtek AMB82-Mini is a separate chip with hardware video encoding.
Key specs at a glance
- Chip
- ESP32 or ESP32-S3 (Realtek AMB82 on AMB82-Mini)
- Camera
- OV2640, OV3660 or OV5640
- Memory
- PSRAM (2 to 8 MB)
- Extras
- Display, PIR, mic, speaker, battery, SD (model dependent)
- Programming
- USB (native on S3)
- Wi-Fi
- 2.4 GHz; Bluetooth LE
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1LilyGO T-Camera S3 ESP32-S3 OV2640 OLED PIR Mic Dev Board₹2,939
Option 2LilyGO T-Camera ESP32-S3 OV2640 FN1 6R8 Development Board₹1,994
Option 3LilyGO T-Camera Plus S3 ESP32-S3R8 Dev Board w/ Mic & Speaker₹5,139
Option 4LilyGO T-Camera Plus ESP32 Camera Module w/ 1.3-Inch IPS Display₹1,849
Option 5LilyGO T-Camera Plus ESP32 Module w/ OV2640 Fisheye Lens & 1.3-Inch IPS Display₹2,299
Option 6LilyGO T-Camera Plus ESP32 Module w/ OV640 Fisheye Lens₹1,869
What the ESP32 and ESP32-S3 camera boards is
ESP32 camera boards such as the ESP32-CAM, XIAO ESP32S3 Sense and ESP-EYE pair an ESP32 with an OV2640 or OV5640 camera and PSRAM for photos, streaming and simple vision.
Each board has its own camera pin map. Use the maker's example or the matching board selection in CameraWebServer, otherwise init fails.
The M5Stack Timer Camera has an RTC and deep sleep for battery time-lapse; the DFRobot ESP32-S3 AI camera adds IR night vision and voice.
ESP32 and ESP32-S3 camera boards pinout
The pins on the ESP32 and ESP32-S3 camera boards and what each one does.
| Pin | Function |
|---|---|
| USB-C | Power and programming |
| Camera FPC | On-board sensor |
| Grove / header | Extra I/O |
| Battery | JST connector on some |
| SD | Card slot on some |
- USB-C
- Power and programming
- Camera FPC
- On-board sensor
- Grove / header
- Extra I/O
- Battery
- JST connector on some
- SD
- Card slot on some
Wiring the ESP32 and ESP32-S3 camera boards
Connect the ESP32 and ESP32-S3 camera boards like this.
| ESP32 and ESP32-S3 camera boards pin | Item | Connect to | Notes |
|---|---|---|---|
| USB-C | PC for programming | PC for programming | |
| Battery (optional) | 1S Li-ion JST | 1S Li-ion JST | |
| Sensors | Grove or header pins | Grove or header pins |
- USB-C
- Item:
- PC for programming
- Connect to:
- PC for programming
- Battery (optional)
- Item:
- 1S Li-ion JST
- Connect to:
- 1S Li-ion JST
- Sensors
- Item:
- Grove or header pins
- Connect to:
- Grove or header pins
Example code
Replace the pin numbers with your board's map from the maker. Enable PSRAM in the Arduino board settings.
#include "esp_camera.h"
// Set these pins for YOUR board (see its pin map). Example values are for an AI-Thinker style board.
camera_config_t c = {
.pin_pwdn = 32, .pin_reset = -1, .pin_xclk = 0, .pin_sccb_sda = 26, .pin_sccb_scl = 27,
.pin_d7 = 35, .pin_d6 = 34, .pin_d5 = 39, .pin_d4 = 36, .pin_d3 = 21, .pin_d2 = 19, .pin_d1 = 18, .pin_d0 = 5,
.pin_vsync = 25, .pin_href = 23, .pin_pclk = 22,
.xclk_freq_hz = 20000000, .ledc_timer = LEDC_TIMER_0, .ledc_channel = LEDC_CHANNEL_0,
.pixel_format = PIXFORMAT_JPEG, .frame_size = FRAMESIZE_SVGA, .jpeg_quality = 12, .fb_count = 1
};
void setup() {
Serial.begin(115200);
if (esp_camera_init(&c) != ESP_OK) { Serial.println("Camera init failed - check pins and PSRAM"); return; }
camera_fb_t *fb = esp_camera_fb_get();
Serial.printf("Got a %u byte JPEG\n", fb->len);
esp_camera_fb_return(fb);
}
void loop() {}Setup and tuning
the ESP32-CAM has no USB, so use the ESP32-CAM-MB base or a USB-serial adapter with GPIO0 tied to GND to flash.
give 5 V at 500 mA or more; weak USB ports cause brownout resets.
pick "AI Thinker ESP32-CAM" (or your exact board) so the camera pin map matches.
run the CameraWebServer example, open the IP address and start the stream.
enable PSRAM for higher resolutions and frame buffers.
most GPIO are used by the camera and SD card, so plan extra I/O carefully.
What you need
Shop this list18 of 18 found in our store · ₹40,015
LilyGO T-Camera S3 ESP32-S3 OV2640 OLED PIR Mic Dev Board: the part this guide coversLilyGO T-Camera S3 ESP32-S3 OV2640 OLED PIR Mic Dev Board₹2,939
LilyGO T-Camera ESP32-S3 OV2640 FN1 6R8 Development Board: another version this guide coversLilyGO T-Camera ESP32-S3 OV2640 FN1 6R8 Development Board₹1,994
LilyGO T-Camera Plus S3 ESP32-S3R8 Dev Board w/ Mic & Speaker: another version this guide coversLilyGO T-Camera Plus S3 ESP32-S3R8 Dev Board w/ Mic & Speaker₹5,139
LilyGO T-Camera Plus ESP32 Camera Module w/ 1.3-Inch IPS Display: another version this guide coversLilyGO T-Camera Plus ESP32 Camera Module w/ 1.3-Inch IPS Display₹1,849
LilyGO T-Camera Plus ESP32 Module w/ OV2640 Fisheye Lens & 1.3-Inch IPS Display: another version this guide coversLilyGO T-Camera Plus ESP32 Module w/ OV2640 Fisheye Lens & 1.3-Inch IPS Display₹2,299
LilyGO T-Camera Plus ESP32 Module w/ OV640 Fisheye Lens: another version this guide coversLilyGO T-Camera Plus ESP32 Module w/ OV640 Fisheye Lens₹1,869
LilyGO T-Plus ESP32 Camera Module w/ 1.3-Inch IPS Display & OV2640: another version this guide coversLilyGO T-Plus ESP32 Camera Module w/ 1.3-Inch IPS Display & OV2640₹2,389
LilyGO T-Journal ESP32 OLED Camera Development Board w/ OV2640 & SMA Antenna: another version this guide coversLilyGO T-Journal ESP32 OLED Camera Development Board w/ OV2640 & SMA Antenna₹1,549
M5Stack ESP32 PSRAM Timer Camera (OV3660): another version this guide coversM5Stack ESP32 PSRAM Timer Camera (OV3660)₹2,058
M5Stack ESP32 PSRAM Timer Camera Fisheye (OV3660): another version this guide coversM5Stack ESP32 PSRAM Timer Camera Fisheye (OV3660)₹3,372
M5Stack Unit CamS3 Wi-Fi Camera (OV2640): another version this guide coversM5Stack Unit CamS3 Wi-Fi Camera (OV2640)₹1,639
ESP32 S-CAM-CH340 Development Board w/ OV2640 Camera: another version this guide coversESP32 S-CAM-CH340 Development Board w/ OV2640 Camera₹599
DFRobot ESP32-S3 AI Camera Module w/ Night Vision & Voice: another version this guide coversDFRobot ESP32-S3 AI Camera Module w/ Night Vision & Voice₹2,899
DFRobot FireBeetle 2 ESP32-S3 AIoT Board with OV2640 Camera: another version this guide coversDFRobot FireBeetle 2 ESP32-S3 AIoT Board with OV2640 Camera₹2,729
Waveshare ESP32-S3 AIoT Camera Dev Board w/ OV5640 Camera: another version this guide coversWaveshare ESP32-S3 AIoT Camera Dev Board w/ OV5640 Camera₹2,439
Realtek AMB82-Mini IoT AI Camera Dev Board w/ F37 Camera: another version this guide coversRealtek AMB82-Mini IoT AI Camera Dev Board w/ F37 Camera₹3,779
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
Alternatives and when to choose them
- ESP32-CAM: the cheapest option.
- AI vision sensors: ready object detection.
- OpenMV: Python machine vision.
Common mistakes to avoid
- Powering the ESP32-CAM from the 3.3 V pin of a USB-serial adapter.
- Leaving GPIO0 tied to GND after flashing, so the sketch never runs.
- Choosing the wrong camera board model in the sketch.
- Using pins already taken by the camera or SD card.
Frequently asked questions
Why does my ESP32-CAM show brownout detector was triggered?
The supply is too weak. Use a solid 5 V supply and a short, thick cable.
How do I upload code to the ESP32-CAM?
Use the MB programmer base, or a USB-serial adapter with GPIO0 to GND during reset.
Which camera module is on these boards?
Most use the 2 MP OV2640; some newer boards use the 5 MP OV5640.
Can the ESP32-CAM do face recognition?
Basic face detection works in the example, but heavy AI runs better on the ESP32-S3.
Why is the stream slow or choppy?
Lower the resolution, raise JPEG compression and keep a strong Wi-Fi signal.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
