Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Take a picture and Publish it via WebSocket

License

NotificationsYou must be signed in to change notification settings

nopnop2002/esp-idf-websocket-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Take a picture and Publish it via WebSocket.
This project useESP32 Camera Driver.

ESP32 works as a WebSocket server.
Use your browser as a WebSocket client.

+----------+               +----------+               +----------+|          |               |          |<-----Get------|          ||  Camera  |<---Capture--->|  ESP32   |               |  Browser ||          |               |          |----Picture--->|          |+----------+               +----------+               +----------+

browser-3

Hardware requirements

ESP32 development board with OV2640 camera.
If you use other camera, edit sdkconfig.default.
From the left:

  • Aithinker ESP32-CAM
  • Freenove ESP32-WROVER CAM
  • UICPAL ESPS3 CAM
  • Freenove ESP32S3-WROVER CAM (Clone)

es32-camera

Software requirements

ESP-IDF V5.0 or later.
ESP-IDF V4.4 release branch reached EOL in July 2024.

Installation

For AiThinker ESP32-CAM, You have to use a USB-TTL converter.

ESP-32USB-TTL
U0TXDRXD
U0RXDTXD
GPIO0GND
5V5V
GNDGND
git clone https://github.com/nopnop2002/esp-idf-websocket-cameracd esp-idf-websocket-cameraidf.py set-target {esp32/esp32s3}idf.py menuconfigidf.py flash monitor

Start firmware

For AiThinker ESP32-CAM, Change GPIO0 to open and press the RESET button.

Configuration

Set the following items using menuconfig.

config-topconfig-app

Wifi Setting

config-wifi-1

You can connect using the mDNS hostname instead of the IP address.
config-wifi-2

You can use static IP.
config-wifi-3

Select Board

config-board

Flash Light

ESP32-CAM by AI-Thinker has a flash light on GPIO4.

config-light

PSRAM

When you use ESP32S3-WROVER CAM, you need to set the PSRAM type.

config-psram

Take pictures using Browser

ESP32 acts as a WebSocket server.
Open index.html included in this project.
Push connect server button.
browser-1

Push take picture button.
browser-2

browser-3

About

Take a picture and Publish it via WebSocket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp