dproldan / esp32autocamera Goto Github PK
View Code? Open in Web Editor NEWESP32-CAM with an open wifi access point and a captive portal, for fast deployment of a wireless camara.
ESP32-CAM with an open wifi access point and a captive portal, for fast deployment of a wireless camara.
Getting this error on boot
Serial Monitor shows:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:9720
ho 0 tail 12 room 4
load:0x40080400,len:6352
entry 0x400806b8
Starting web server on port: '80'
E (4619) httpd: httpd_server_init: error in bind (112)
Starting stream server on port: '81'
Once I try to connect to the AP, the device crashes, with this dump:
dhcps: send_offer>>udp_sendto result 0
Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x00000000 PS : 0x00060d30 A0 : 0x8011f13d A1 : 0x3ffd4820
A2 : 0x3ffdfbd0 A3 : 0x3ffe1474 A4 : 0x3ffdffe8 A5 : 0x3ffdf92c
A6 : 0x021cd9ac A7 : 0x0c1cd9ac A8 : 0x8011efe0 A9 : 0x3ffd47e0
A10 : 0x3ffdfbe0 A11 : 0x3ffe1474 A12 : 0x3ffd482c A13 : 0x00000044
A14 : 0x00000001 A15 : 0x00000006 SAR : 0x00000010 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0x00000000
Backtrace: 0x00000000:0x3ffd4820 0x4011f13a:0x3ffd4860 0x4012bfc1:0x3ffd4880 0x40130fc9:0x3ffd48c0 0x40136266:0x3ffd48e0 0x4011fb43:0x3ffd4900 0x4008db91:0x3ffd4930
Any idea what I should make of this?
Hi
Is it possible to provide a precompiled binary of this to upload with something like ESPeasy?
How difficult would it be to use initial access point to configure local WIFI? I found some esp32 wifi managers but sadly I don't know how to incorporate them with the server and camera code. :-( I thought that these units with a 3d printed case would make great gifts. Greater still if they could be self configuring. Something to consider?
https://github.com/dproldan/Esp32AutoCamera/blob/master/CameraWebServerV1/CameraWebServerV1.ino#L26
You may have better luck with browser compatibility by moving the tag into the section, and adding a space after the semicolon. The lang
isn't necessary it just makes it pass the validator squeaky clean.
Like this:
<!DOCTYPE html><html lang="en">
<head><title>CaptivePortal</title>
<meta http-equiv="refresh" content="1; url=http://172.217.28.1:81/stream"/></head><body>
<h1>Please Wait!</h1><p>You will be redirected to the camera stream shortly.</p></body></html>
Thank you. It works great for me.
There is an error with library dl_lib.h. Please remove it!
I also think it's better to add wifi password to the code. I did it and it works fine too.
Using the statement: WiFiServer server(80); The error is: CameraWebServerV1:22:12: error: cannot declare variable 'server' to be of abstract type 'WiFiServer' WiFiServer server(80);
The module is ESP32 CAM module #define CAMERA_MODEL_AI_THINKER
The library for WiFi.h indicates its a valid statement.
I don't understand.
Roger
hello, I was going to test your code on a TTGO T- camera board with the Arduino IDE selecting esp32 dev module as a board because I could not find the option for Wrover. Compiling returns 'file not found' for esp_camera.h. Where can I get that?
cannot add the library in vsc platformio
arduino ide dont compile with [fatal error "fd_forward.h" no such file #191]
downgrading board lib esp32 under 2.0.0 get the portal message [Header fields are too long for server to interpret]
Any idea why no devices I use to connect it to the ESP32 will give an IP address? Everything works very well but I have to go in an manually assign a DCHP address. Then it allows me to connect and view the stream.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.