Posted on

How to Build a Wildlife Camera with an ESP32-S3-CAM

ESP32-S3-CAM N16R8 development board with camera options

How to Build a Wildlife Camera with an ESP32-S3-CAM

Build the camera from an ESP32-S3-CAM board, a camera module, and a PIR sensor. The board alone costs $11.97 with 16MB of flash and 8MB of PSRAM. The OV5640 camera version costs $29.99 and gives 5MP stills. The PIR sensor wakes the camera when an animal crosses its 7 m range.

Quick facts

Fact Value
S3-CAM board only $11.97, 16MB flash, 8MB PSRAM
S3-CAM + OV2640 $23.12, 2MP stills
S3-CAM + OV5640 $29.99, 5MP stills
PIR sensor Up to 7 m range, under 120 degree cone
PIR delay 0.3 to 18 sec adjustable, 5 to 20V
Ports Dual USB-C, TF card slot

Which camera module suits wildlife photos?

The OV5640 gives 5MP stills for $29.99 with the board.

It suits stills where detail matters, such as fur and feathers. The OV2640 gives 2MP stills for $23.12 and suits fast video.

Both cameras fit the same board connector. Pick the OV5640 for photos and the OV2640 for video clips.

How does the PIR sensor trigger the camera?

The PIR sensor sees motion up to 7 m away inside a cone under 120 degrees.

It runs on 5V to 20V and holds its output for 0.3 to 18 sec. Set a long delay for video and a short delay for stills.

The 2-pack costs $7.62, so keep one spare in the parts box. Wire its output to a GPIO pin and wake the camera on a rising edge.

How do you store photos without a network?

Save stills to the TF card slot on the board.

A card keeps photos when the network drops. The 16MB of flash holds the sketch and camera settings.

The 8MB of PSRAM holds each frame while the board sends it. Check the card after each field trip.

How do you mount the camera outside?

Mount the camera where the trail crosses the PIR cone.

The sensor sees up to 7 m, so a trail 3 to 5 m out sits well inside its range. Aim the cone across the trail, not along it.

Mount the board in a weatherproof case with the lens clear. Test the trigger at 2 m first, then move to the trail.

How is the wildlife camera different from a security camera?

The wildlife camera uses the 5MP OV5640 for stills, while a security camera uses the 2MP OV2640 for video.

The OV5640 version costs $29.99, and the OV2640 version costs $23.12. Both run on the same $11.97 board.

The older ESP32-CAM board costs $25.99 with an OV2640 camera and 4MB of PSRAM. Pick it when the fitted board suits the job.

How the options compare

S3-CAM option Camera Flash and PSRAM Price
Board only No camera 16MB flash, 8MB PSRAM $11.97
With OV2640 OV2640 2MP 16MB flash, 8MB PSRAM $23.12
With OV5640 OV5640 5MP 16MB flash, 8MB PSRAM $29.99
5-pack, board only No camera 16MB flash, 8MB PSRAM $46.17
10-pack, OV2640 OV2640 2MP 16MB flash, 8MB PSRAM $137.07

How do you build the wildlife camera?

  1. Pick the board-only version or a camera version at checkout.
  2. Fit the camera module on the board connector if it ships loose.
  3. Connect the board to a stable 5V supply over USB-C.
  4. Load the camera sketch from the Arduino-ESP32 examples.
  5. Wire the PIR sensor output to a GPIO pin.
  6. Mount the camera on the trail and test the trigger at 2 m first.

Parts that fit this guide

In-stock parts ship from the New York, USA warehouse in 1-2 business days. Prices below are the live store prices we verified on November 10, 2026.

ESP32-S3-CAM Development Board N16R8 – Board, OV2640 or OV5640 Camera, 1/5/10-Pack ($11.97)

ESP32-S3-CAM board at $11.97 for the board only. It carries 16MB of flash and 8MB of PSRAM, with OV2640 or OV5640 camera options.

HC-SR501 PIR Motion Sensor Module, 2-Pack ($7.62)

PIR sensor at $7.62. It is a 2-pack that sees motion up to 7 m away, with a 0.3 to 18 sec delay.

ESP32-CAM Development Board with OV2640 Camera Module, 4MB PSRAM ($25.99)

ESP32-CAM board at $25.99. It ships with an OV2640 camera module, 4MB of PSRAM, WiFi, Bluetooth, and a TF card slot.

Shop the full range: ESP32 and ESP8266 at Quality RC Parts. See also: Related guide.

Frequently asked questions

Which camera gives sharper wildlife photos?

The OV5640 at 5MP. The S3-CAM board with the OV5640 camera costs $29.99.

Does the $11.97 board include a camera?

No. The $11.97 option is the board only. The OV2640 version costs $23.12, and the OV5640 version costs $29.99.

How far does the PIR sensor see?

Up to 7 m inside a cone under 120 degrees. Mount it where the trail crosses the cone.

Can the camera save photos without WiFi?

Yes. The board has a TF card slot, so stills land on the card when the network drops.

Sources

Last updated: November 10, 2026.