Загрузка...

ESP32 CAM How to Save Images to SD Card

Please LIKE if you find this useful and subscribe for more ESP32 CAM tutorials.

Here's a quick look at how to save a series of still images from the ESP32 CAM microcontroller module onto an SD card.

Download my source code for the Arduino IDE: https://www.brettb.com/coding-tutorials/esp32-cam-saving-still-images/

You could use this as the basis of a home monitoring IoT application. I use it to make time lapse movies from a series of still images.

The ESP32 CAM module has an integrated Micro SD card slot. Personally I use 4 Gb cards with my camera modules, but apparently cards as large as 16 Gb work too.

In the video I also address a few frequently asked questions, including dealing with green tinted images and changing the resolution of the saved images.

00:00 - Introduction
00:28 - Preparing Arduino IDE code
05:22 - Uploading code to ESP32-CAM
06:43 - Taking photos
07:45 - Reviewing photos
08:04 - Green tinted images issue
08:30 - Disabling the LED flash
09:14 - Changing image resolution
11:25 - Converting still images into movies

ESP32 Camera GitHub source code: https://github.com/espressif/esp32-camera/

Search the repo for FRAMESIZE and you will find the enumerator for potential image resolutions in /driver/include/sensor.h. Note that your particular ESP32 CAM and camera lens combo may not support the full range of resolutions. I suggest starting at a lower resolution and work up to the largest resolution. If the camera starts taking incomplete or corrupted images then the resolution is likely to be too high.

To convert a sequence of still images into a movie you can use the free ShotCut video editor. It's available for Windows, macOS and Linux: https://www.shotcut.org/download/

If you have any other issues with the ESP32 CAM module then do please drop a comment below. Thanks for watching!

Видео ESP32 CAM How to Save Images to SD Card канала Coding With Brett
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять