From 0b3ca7a3df19b9a770f65cb47bda51e6f138eb31 Mon Sep 17 00:00:00 2001 From: Deimos1994 <31592485+Deimos1994@users.noreply.github.com> Date: Sun, 22 Mar 2020 01:31:07 +0200 Subject: [PATCH] Create README.md --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..00d232d --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +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 + +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: +```cpp + 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 IP ex. http://192.168.X.X + +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