Giter Club home page Giter Club logo

esp32cam's Introduction

This is a modified version of CameraWebServer code from Arduino IDE example.

To get original code, in your Arduino IDE go to: File > Examples > ESP32 > Camera > CameraWebServer

Watch how it works https://youtu.be/MKiITEsOwRA

IMAGE ALT TEXT

Unlike the original code, this code has LED control. WARNING: LED on the board doesn't have a current limiting resistor, so it gets very hot quickly, use it at your own risk. (I've used a separate LED module).

Uncomment these lines to set static IP:

  IPAddress ip(192, 168, 4, 222);
  IPAddress gateway(192, 168, 4, 1);
  IPAddress subnet(255, 255, 255, 0);
  IPAddress dnsAdrr(8, 8, 8, 8);
  Serial.println(F("Wifi config..."));
  WiFi.config(ip, gateway, subnet, dnsAdrr);

Camera available via http://192.168.X.X/esp32_cam_main

Additional features that I added:

  1. Wi-Fi signal level go to: http://192.168.X.X/signal
  2. To restart camera go to: http://192.168.X.X/esp32_cam_restart

Other stuff:

Stream URL: http://192.168.X.X:81/esp32_cam_stream

Get photo URL: http://192.168.X.X/esp32_cam_capture

P.S. I modified URLs, so just knowing the IP of the camera will not give you a video.

Before it was http://192.168.X.X

Now it is http://192.168.X.X/esp32_cam_main

Components

USB to UART converter https://s.click.aliexpress.com/e/_dW0jGff

ESP32 Camera: https://s.click.aliexpress.com/e/_d8XnZxj

DC-DC Converter: https://s.click.aliexpress.com/e/_dWvPhXW

5V LED Modules here: https://s.click.aliexpress.com/e/_d7fCXNX

Almost all needed on Amazon: ESP32 Camera + UART converter + wires: https://amzn.to/3s4ZjXQ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.