You can never have enough DIY devices at home, so when you look at an ESP32 module that comes with the camera, you automatically start getting ideas. [Daniel Padilla] wanted a way to deploy DIY camera modules without the hassle of configuring them so he made one that looks like an access point and starts streaming as soon as you connect to it.[GitHub]
The code he provides allows the ESP32 to appear as an Open Access Point which you can connect to from a PC or smartphone. The awesome sauce here is that the ESP32 resolves all DNS requests to a redirect in a similar manner to what happens when someone connects to an open Wi-Fi access point in a mall, Instead of a captive portal page that asks the user to authenticate or accept terms and conditions, [Daniel Padilla]’s code instead redirects to the streaming page et voila! Instant camera stream, and it is that simple.
We love this project because it is an elegant way to solve a problem, and it also teaches newbies about captive portals and their implementation. We covered a cheap ESP32 Webcam in the past and this project also comes with code for you to get started. We would love to see what you come up with next.
Where did you get the banner photo?
I didn’t see it on the git link.
Do all its pictures appear yellow?
The image was taken from my window, in Fuengirola, Malaga, Spain.
The pictures don’t appear yellow, the article writer or the editor modified it for some reason.
I added a few pictures to the repository.
https://github.com/dproldan/Esp32AutoCamera/blob/master/Screenshot_20190608-122806_Firefox.jpg
Github gave me 404…
But, now they show up in the original link in the article!
Thanks!
Has anyone done this capture on an ESP-8266 with ESPasyncWebServer or other interrupt based web server? I’m guessing it can be done with an adaptation of e.g.
https://github.com/esp8266/Arduino/blob/master/libraries/DNSServer/examples/CaptivePortal/CaptivePortal.ino
but it would be great to know if anyone has done it.
I’m not trying to be a jerk here (yeah, I know I am at times)
But the ESP-32 plus camera deal is on sale at Banggood.
I’m not sure if it will work with [Daniel Padilla]’s software, but it seems like a good buy (for US/CN orders).
I have no monetary connection with this.
https://www.banggood.com/Geekcreit-ESP32-CAM-WiFi-bluetooth-Camera-Module-Development-Board-ESP32-With-Camera-Module-OV2640-p-1394679.html?akmClientCountry=America&rmmds=search&cur_warehouse=CN
Yep, that is exactly the model I’m using. Thank for the heads up.
This is a nice hack and I can see lots of use for it.
I just wanted to point out, in case anyone was unaware, that the ESP32-CAM modules come with a basic demo firmware installed. You simply have to power it up, and if you connect a serial monitor to it (115200) it even prints instructions:
(4691) camera_demo: Please connect to “ESP32_CAM”
(4691) camera_demo: Open http://192.168.4.1/jpg for single image/jpg image
(4691) camera_demo: Open http://192.168.4.1/jpg_stream for multipart/x-mixed-replace stream of JPEGs
The first line refers to the wifi AP it will appear as
Obviously a great way to test the board and the camera, before you start flashing new firmware.
Great suggestion KenN
Can you list more commands….like stream without led on?
Does anyone have any information on the performance? I would be interested in knowing the possible resolution/FPS/latency.
Here is a handy reference site. It has EVERYTHING you could ever want to know about the ESPRESSIF 32 Series module. I discovered things about the ESPRESSIF 32 series module I Didn’t Want to know! (underscore Didn’t) Just follow this link and your knowledge about the ESP32 will increase.
ESPRESSIF Documentation
https://www.espressif.com/en/support/documents/technical-documents?9
Hi ? How did you upload the code ? like how are the connections . Is it the same as making your esp32 cam to connect to your router so you can access it through its ip?
No. To upload the code to the ESP32-CAM devices, you need to use a USB-serial converter.
Take a look here for instructions :
https://randomnerdtutorials.com/esp32-cam-video-streaming-face-recognition-arduino-ide/
oh ok thanks, but can it already take pictures or record video?
I am using an AI-Thinker ESP32-CAM and can load the code, but when the code runs I get
E (4534) httpd: httpd_server_init: error in bind (112)
Any suggestions?
Thanks!