Skip to content

Code to operate an ESP32-CAM module that streams static images over Wi-Fi.

Notifications You must be signed in to change notification settings

companionpi/camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

companionpi/camera

ESP32-CAM

Overview

This repository provides the code to operate an ESP32-CAM module to stream static images over Wi-Fi. Then a Raspberry Pi can process those images locally to detect people around it.

The source code is a modified version of this ESP32-CAM example sketch.

Prerequisites

Hardware

Software

Remarks

Hardware

Apparently, there are variants of the ESP32-CAM module, and some of them are NOT 5V tolerant. However, the micro-USB programming board provides 5V, which can damage the ESP32-CAM module. We should be careful while buying the module-programmer pair and double-check whether those are 5V tolerant.

Additionally, we can program the 3.3V variants with an FTDI USB to Serial Converter. Make sure to switch the jumper to 3.3V first.

Software

Although some tutorials suggest using the ESP32 Wrover Module board, I could NOT make it work with my ESP32-CAM. Then, I used the AI Thinker ESP32-CAM board, and it worked like a charm.

It is recommended to set a slower upload speed (115200 baud) to ensure stable serial communication between the module and the computer.

History

New patches and stability features will be added over time.

v1.0.0 (13 Jun 2024)

  • Initial release

License

The library and the source code is licensed under the ISC license.

About

Code to operate an ESP32-CAM module that streams static images over Wi-Fi.

Topics

Resources

Stars

Watchers

Forks

Languages