Very cool trick to flash the cam. Thanks. FYI: You can also flash your cam via OTA after the first flash. I have not tried that yet, but it should work.
Help! Using an Arduino instead of esp32 dev. board ... at 1:33, you "connect EN pin to Ground". What is the equivalent of the "EN Pin" on the Arduino Uno?
Davy, when I take a picture using the code you provided, it seems to be one frame behind. Can you address this? Is there a simple workaround? I can just take a second picture immediately, but it's a bit of a pain....
is internet needed at all to access the esp AP live feed mode from say the cellphone user? as in the phone only works with wifi not sim card so no network. can we use the phone to find the AP from the esp32 and tap into it just like any other wifi public network and instead of getting wifi i get a webpage that provides live feed as long as im withing proximity ? because this sounds like something im looking for if so!
@@DavyBot wow i have asked this question in allot of videos similar to yours, feels good to be acknowledge when a question is asked so thanks Davy! very appreciated
But what if you don’t want to have to go to a browser to view it? Can you just connect a screen to the esp32CAM module and view it directly? Of so, how would you go about that?
during compilation of your sketch i get error " class WebServer' has no member named 'setContentLenght- I am using arduino ide ver 1.85- thanks in advance for your advice
liked the code and buying 4 more to add to 2, I already got programmed with the arduino example sketch. thanks ... plus if you hit the reset after programming it you can get the ipaddress from the serial monitor in arduino.
Thank you, I bought some with the es32-cam-mb had and was unable to flash. with your wiring, even do i got an error during the flash process once i rebooted it had my code in it.
Hi, I'm starting with ESP32 and I'd like to use a CAM, but I need to rotate the image 90 degrees. Please advise where in the code and how to edit please? Thank you
I think this has a minimum current of around 6mA (not uA) in deep sleep as it's not optimised for low power. Do you know if you could use an ESP32 on a more barebones breakout board with your own OV camera and be able put the camera to sleep when not using it and achieve the ~10uA of the deep sleep? What about this esp32-cam drains that additional current?
I want to actually do some processing on the image that's captured. Basically I want to scan the pixels of the image, using some Arduino code running on the board, and locate pixels with a specific RGB color. Can that be done directly on the ESP32-CAM module?
Thank you very much for the explanation, teacher, I loved the video, I'm a big one on the channel, but I have a question How can I view images from the camera while on another network, ex: through my 4G and I see everything that happens with esp 32 in my house that is connected to wifi
You'd need to use a dyndns service (unless your internet provider gives you a static IP) and forward a port on your router although as the video explains, that could have security implications.
Hi Davy, thanks for the video. I can't find that exact code you are using on this video. I don't know if it's changed or what. Could you post that exact code somewhere that I could download it... Please. or point me to a link. Thanks. :)
Hello Davy, Thanks for the video. Im completely new to ESP32. I have a big doubt in my mind... Please show some light.... I want to feed AV/HDMI output signal of a DSLR or Mirrorless Camera --> ESP32, And I want transmit over wirelessly to My Smartphone or a FPV monitor..... Is it possible to do this.... Gratitude
Okay Davy, I see your 36-line program, it looks great and I want to try it out. So now I have to type it all? I do not see a link to that code. Or am I missing something? Maybe I will try some OCR trickery, I really don't want to type.
Hi I finally got it working but I have a new problem, if the esp32cam gets disconnected it won't reconnect to the router/hotspot/network automatically and I have to reach the esp32cam and restart it by hand. What if I want to fix it in some place high? Do I really need to restart it every time? Can't it just get reconnected to the network like any other normal device? And btw can I add multiple network credentials to esp32cam code so if one is not in range it would connect to the other ones.
it's an issue with the handshake between router and esp32 im pretty sure. i think maybe it tries to reauth and fails, but works connecting the first time. i had a similar issue and switched to access point mode.
Yes and no. My library has a Config::setRgb() function to select RGB565 mode. It's basically a BMP but without the BMP header. If you need the BMP header, please open an issue on my GitHub repository and explain your use case.
i tried ICSTATION and the site is not secure so my browser wouldn't let me buy anything. went to TINDIE and they are sold out GITHUB does have the library so that much works good video, I just wish I could follow up on the links X(
hey, i have been trying to use the esp 32 cam board with ov7670 instead of the OV2460. here's what error i am facing. ets Jul 29 2019 12:21:46 rst:0xc (SW_CPU_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:0x3fff0030,len:4916 load:0x40078000,len:16436 load:0x40080400,len:4 ho 8 tail 4 room 4 load:0x40080404,len:3524 entry 0x400805b8 WiFi connected E (10921) camera: JPEG format is not supported on this sensor camera initialize failure E (32165) wifi:NAN WiFi stop ets Jul 29 2019 12:21:46 Could u help?
You get that error with the same code shown in this video? If so then you're either using a different version of the esp32cam which may require a different library if it's not configured the same, or your board might be malfunctioning. You might have better luck submitting an issue to the Github account of the camera library if it's a compatibility issue because I bet the author would like to support more models.
@@davywtf I am using the same version of esp32cam I don't know the reason of this error, I tried other code but always I have the same problem PSRAM int failed 😐 I need to fix the problem please help me I have an academic project to present
@@AzharAouni Like I said, it may be that the device has a hardware issue in which case I can't help you. It may be that you're using the wrong board setting in Arduino. Or it may be that the model is slightly different (depending on where you get them they can use slightly different parts and pin configurations). Again, go to the esp32cam library's github account and open an issue there since they're the ones who wrote the library code.
Since it's WiFi based the range is pretty limited but I was able to double the range by using another ESP32 as a proxy in one test. I did it by putting the proxy node in dual Access Point + Station mode and having it repeat all requests, extending the effective range. You could certainly do more proxy nodes to get better range but at a certain point it would probably be more cost/performance efficient to just run some Ethernet cable.
Mesh configurations are possible with WiFi. I didn't do anything that fancy, just had one proxy device relaying all HTTP requests. But Espressif has some info on setting up WiFi mesh applications using ESP32: github.com/espressif/esp-mdf
why not made working code to arduino ide ??? why all code have fail and broken error error alltime. apps httpd.cpp file have lto error in text ewery version ,have idiot write this code ?? why not newer working, alltime compile and error lot. not can burtn to esp32 because not compile newer.
I'm thinking that this would be handy to put in my basement so I can check how much heating fuel I have without having to go outside, digging out the door and going down there. :-D
Why did you show your good working ino file with local AP_SSID and AP_PASSWORD setup without giving a downloadlink to that file? Instead only showing a link to an original unchanged llibrary file that simply won't work without any changes that first have to be made. Instructions like: Clone this repository under $HOME/Arduino/libraries directory do not help in anyway to understand how to simply use these cheap CAM modules. After 2 days of effortless reading and testing all presented internet examples, I'm beginning to question if my cheap China made module is okay? Uploading all found code was never any problem but explanations like these RUclips videos are no help at all because too many questions are never answered when it doesn't work! Even just knowing what all the right needed Arduino libraries are makes this Arduino product a very complicated and bad experience! Instruction videos like all these short RUclips explanations are a complete waste of time. Just a good PDF instruction manual with the right working code would make all the difference! This way there is no quick start at all!
After 2 days of wasted experimenting, uploading, upgrading and testing the Arduino 1.8.13 IDE I found Rui Santos's standalone AP Webcamserver version that worked right away from the given ino file! PS: The discount ordering code looks nice until the shipping costs are shown which are way too expensive!!
C:\Users\coolz\AppData\Local\Temp\.arduinoIDE-unsaved2024025-14784-1vft4t4.chfw\WifiCam\handlers.cpp:3:27: fatal error: uri/UriBraces.h: No such file or directory compilation terminated. exit status 1 Compilation error: uri/UriBraces.h: No such file or directory I am getting this error
I'm the library author. This video is one of the best explanation of how to use my library. 👍
Wow
The example in the Github download is different to the one being used here. Where can I find the same code used in this video?
Very cool
The code doesnt work for me, it gives me library errors. I am writing the same code like in the video, but i get errors from the esp32cam library.
@@DarkBoyNomis same
you, and people like you, make the world turn around. just sharing knowledge for the goodness of sharing, way to go man!
Good Linux disturbution
You have the same pajama top as my son. I can't believe you still fit in it!
This video can help many engineers when integrated ESP32 and Arduino
Very cool trick to flash the cam. Thanks. FYI: You can also flash your cam via OTA after the first flash. I have not tried that yet, but it should work.
Great video good quality arduino videos are rare these days I hope you keep uploading
Really clear and clean. Great video !
It's one of the best video on ESP32 cam.
Help! Using an Arduino instead of esp32 dev. board ... at 1:33, you "connect EN pin to Ground". What is the equivalent of the "EN Pin" on the Arduino Uno?
Reset pin on arduino pin :)
Congratulations from Belgium and thank you for sharing.
Thanks, exactly what I was looking for. :-). The discount worked for me, as of today (Jan 23rd). I ordered two from them, just to be sure.
Hi, I have a little problem here. When I connected GND with EN my ESP32 is not working. How can I fix it?
gotta love typing out text from a video back to text
Davy, when I take a picture using the code you provided, it seems to be one frame behind. Can you address this? Is there a simple workaround? I can just take a second picture immediately, but it's a bit of a pain....
is internet needed at all to access the esp AP live feed mode from say the cellphone user? as in the phone only works with wifi not sim card so no network. can we use the phone to find the AP from the esp32 and tap into it just like any other wifi public network and instead of getting wifi i get a webpage that provides live feed as long as im withing proximity ? because this sounds like something im looking for if so!
That's correct. In AP mode you can connect to it directly without needing to connect to the internet at all.
@@DavyBot wow i have asked this question in allot of videos similar to yours, feels good to be acknowledge when a question is asked so thanks Davy! very appreciated
Great network id. Cool video too.
But what if you don’t want to have to go to a browser to view it? Can you just connect a screen to the esp32CAM module and view it directly? Of so, how would you go about that?
during compilation of your sketch i get error " class WebServer' has no member named 'setContentLenght- I am using arduino ide ver 1.85- thanks in advance for your advice
liked the code and buying 4 more to add to 2, I already got programmed with the arduino example sketch.
thanks ... plus if you hit the reset after programming it you can get the ipaddress from the serial monitor in arduino.
Thx for the vid. What's about the warning in the web cast for the cam? To easy hackable?
Can the ESP 32 CAM do everything the ESP 32 is capable of, like be an AP and web server.
Yes, it is a normal ESP32, just with an added camera. Any code for normal ESP32 boards will run (including MicroPython, for instance).
That's a handy trick. Good video as usual
Thank you, I bought some with the es32-cam-mb had and was unable to flash. with your wiring, even do i got an error during the flash process once i rebooted it had my code in it.
Hi, I'm starting with ESP32 and I'd like to use a CAM, but I need to rotate the image 90 degrees. Please advise where in the code and how to edit please? Thank you
please how to turn it off after finishing taking photos and stoping the board from working ?
How do I find the “description below”? Sorry for such a basic question.
this will help a lot with my final year project. can it be armed and disarmed remotely?
I think this has a minimum current of around 6mA (not uA) in deep sleep as it's not optimised for low power. Do you know if you could use an ESP32 on a more barebones breakout board with your own OV camera and be able put the camera to sleep when not using it and achieve the ~10uA of the deep sleep? What about this esp32-cam drains that additional current?
I want to actually do some processing on the image that's captured. Basically I want to scan the pixels of the image, using some Arduino code running on the board, and locate pixels with a specific RGB color. Can that be done directly on the ESP32-CAM module?
Yes you can. Select RGB565 pixel format, and you can work with raw pixel data. However, you only get 4MB RAM.
please provide the code too
Hello. Is your esp 32cam hot too? . When you use it for streaming
what USB driver do we need?
Thank you very much for the explanation, teacher, I loved the video, I'm a big one on the channel, but I have a question
How can I view images from the camera while on another network, ex: through my 4G and I see everything that happens with esp 32 in my house that is connected to wifi
You'd need to use a dyndns service (unless your internet provider gives you a static IP) and forward a port on your router although as the video explains, that could have security implications.
Everything works brilliantly except it won't accept my custom ap details just shows up as Esp32cam with no password when connecting
Hey, thanx for your efforts, could you please elaborate how to upload the images to a http client? Is it possible to do with Google drive or such?
Very informative Davy!, thank you, btw have you uploaded this code on Github or elsewhere?
Hi Davy, thanks for the video. I can't find that exact code you are using on this video. I don't know if it's changed or what. Could you post that exact code somewhere that I could download it... Please. or point me to a link. Thanks. :)
Hi Davy, sorry for my ignorance but where can I download your code to make this ESP32-Cam works? Thanks and Congrat for you project.-
You actually explain the code, thank you
Is it possible to use an esp32 cam to scan qr codes and send the data on the cellphone?
How do you use a bluetooth connection for your pc?
Can you do the project on esp32 cam based fire fighting robot
Hello Davy, Thanks for the video. Im completely new to ESP32. I have a big doubt in my mind... Please show some light....
I want to feed AV/HDMI output signal of a DSLR or Mirrorless Camera --> ESP32, And I want transmit over wirelessly to My Smartphone or a FPV monitor..... Is it possible to do this.... Gratitude
I have problem about " Brownout detector was triggered
" :(
I guess you could additionally use GPIO0 and RST from that board with USB, instead of PITA with the button
Sadly you can't. The RST button is not on any pin header.
Miracle video I needed
Thanx davy more please on the esp32
Okay Davy, I see your 36-line program, it looks great and I want to try it out. So now I have to type it all? I do not see a link to that code. Or am I missing something?
Maybe I will try some OCR trickery, I really don't want to type.
#include
#include
#include I
#define AP_SSID "PasswordProtected"
#define AP_PASS "HiJimPassword1234"
WebServer server(80);
void handleCapture() {
auto img = esp32cam: :capture();
if (img == nullptr) {
server.send (500, "", "");
return;
}
server.setContentLength (img->size());
server.send( 200, "image/jpeg");
WiFiClient client = server.client();
img ->writeTo (client);
}
void setup() {
auto res = esp32cam: : Resolution:: find (1024, 768);
esp32cam:: Config cfg;
cfg.setPins (esp32cam: :pins::AiThinker);
cfg.setResolution (res);
cfg.setJpeg (80);
esp32cam:: Camera.begin(cfg);
WiFi.softAP (AP_SSID, AP_PASS);
server.on("/capture.jpg", handleCapture);
server.begin();
}
void loop() {
server.handleClient();
}
Hi
I finally got it working but I have a new problem, if the esp32cam gets disconnected it won't reconnect to the router/hotspot/network automatically and I have to reach the esp32cam and restart it by hand. What if I want to fix it in some place high? Do I really need to restart it every time? Can't it just get reconnected to the network like any other normal device?
And btw can I add multiple network credentials to esp32cam code so if one is not in range it would connect to the other ones.
I have the same question, I have to cycle power and press reset, twice to get it to boot and go online.
it's an issue with the handshake between router and esp32 im pretty sure. i think maybe it tries to reauth and fails, but works connecting the first time. i had a similar issue and switched to access point mode.
What is the solution of this issue please:
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
ur fucked man cause idk either
Does the esp32cam::capture() method always return a JPEG type file? Is it possible to tell it to capture it as a BMP type file?
Yes and no. My library has a Config::setRgb() function to select RGB565 mode. It's basically a BMP but without the BMP header. If you need the BMP header, please open an issue on my GitHub repository and explain your use case.
Does it record video?
i tried ICSTATION and the site is not secure so my browser wouldn't let me buy anything.
went to TINDIE and they are sold out
GITHUB does have the library so that much works
good video, I just wish I could follow up on the links X(
Love your work! thankyou!!!
this is exactlty what i was loking for my car thanks a ;lot
cheap you can program easy espcamwhit FTDI serial board. usb to pc and ftdi to esp ready can program, not need other boards.
Great job, keep it up!
we have to connect 3.3v pin of esp32 or 5v pin
3.3V
What is camera range distance?
Please🙏🏻
How is it powered?
Great video, thank you.
So, to program it I could just use a USB FTDI device, am I right? Discount code, sweet!
Yep, and something I forgot to mention is that it's 3.3v logic so you may need to be careful in selecting a USB->FTDI device (some of them are 5v).
@@DavyBot great thanks, yeah, 3.3v good point - not such a daft question after all then, hopefully save someone risking their kit.
What address should I input in the browser to access the cam once connected through WiFi ?
192.168.4.1/capture.jpg but you can configure that from the Server object. ruclips.net/video/Sb08leLWOgA/видео.html
Thanks a lot it worked perfectly, all thanks to u
hey, i have been trying to use the esp 32 cam board with ov7670 instead of the OV2460.
here's what error i am facing.
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_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:0x3fff0030,len:4916
load:0x40078000,len:16436
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3524
entry 0x400805b8
WiFi connected
E (10921) camera: JPEG format is not supported on this sensor
camera initialize failure
E (32165) wifi:NAN WiFi stop
ets Jul 29 2019 12:21:46
Could u help?
Should really be called “ESP32Cam QuickStart, WITHOUT Arduino code.”
Superb video. Thanks.
hello , i have some problm "detected camera not supported" and "psram failed" what should i do please answer me
You get that error with the same code shown in this video? If so then you're either using a different version of the esp32cam which may require a different library if it's not configured the same, or your board might be malfunctioning. You might have better luck submitting an issue to the Github account of the camera library if it's a compatibility issue because I bet the author would like to support more models.
@@davywtf I am using the same version of esp32cam I don't know the reason of this error, I tried other code but always I have the same problem PSRAM int failed 😐 I need to fix the problem please help me I have an academic project to present
Can you please answer me🙏
@@AzharAouni Like I said, it may be that the device has a hardware issue in which case I can't help you. It may be that you're using the wrong board setting in Arduino. Or it may be that the model is slightly different (depending on where you get them they can use slightly different parts and pin configurations). Again, go to the esp32cam library's github account and open an issue there since they're the ones who wrote the library code.
@@davywtf I check all the parameters nothing wrong 😔
your videos let's me DreamBig now on to my projects so that i can FightHard.
#Robotics
What is the distance like on the esp32cam with a antenna like ?
realy good i got like 300 meter open field
Nice video!
You said "dual core" which is ESP32-S2, not ESP32-S. You show the
single core model. I don't think the -S2 ever comes with a camera
Nice info, thanks :)
how far can this work? anyways great work. always loved your videos
Since it's WiFi based the range is pretty limited but I was able to double the range by using another ESP32 as a proxy in one test. I did it by putting the proxy node in dual Access Point + Station mode and having it repeat all requests, extending the effective range. You could certainly do more proxy nodes to get better range but at a certain point it would probably be more cost/performance efficient to just run some Ethernet cable.
Sir, can we leave the wifi password and wifi name brackets open, then can it travel through wifi routers till it reaches us, is this possible?
Mesh configurations are possible with WiFi. I didn't do anything that fancy, just had one proxy device relaying all HTTP requests. But Espressif has some info on setting up WiFi mesh applications using ESP32: github.com/espressif/esp-mdf
Very nice video
icstation does not have HTTPS????? Not ordering from there!!!
Does anyone else get the WIFI failure in the serial monitor
yes bro u had this issue for 6 months have u figured it out i need help too
its shows that o programmer for this board help me
why not made working code to arduino ide ??? why all code have fail and broken error error alltime. apps httpd.cpp file have lto error in text ewery version ,have idiot write this code ?? why not newer working, alltime compile and error lot. not can burtn to esp32 because not compile newer.
Great, thanks 🙏
Hello thanks for the video I would like to connect to you I’m working on projects
can i have this code ?
where is code file
instant sub
good job
where is source code
TX -> TX ? TX -> RX?
coding c++ or java or what?
The basis is c, but has an extension of .ino
great.
How to solve Forward.h library error problem
Grate
I'm thinking that this would be handy to put in my basement so I can check how much heating fuel I have without having to go outside, digging out the door and going down there. :-D
Well done! + 1 Subscribed. Lol
Why did you show your good working ino file with local AP_SSID and AP_PASSWORD setup without giving a downloadlink to that file? Instead only showing a link to an original unchanged llibrary file that simply won't work without any changes that first have to be made. Instructions like: Clone this repository under $HOME/Arduino/libraries directory do not help in anyway to understand how to simply use these cheap CAM modules. After 2 days of effortless reading and testing all presented internet examples, I'm beginning to question if my cheap China made module is okay? Uploading all found code was never any problem but explanations like these RUclips videos are no help at all because too many questions are never answered when it doesn't work! Even just knowing what all the right needed Arduino libraries are makes this Arduino product a very complicated and bad experience! Instruction videos like all these short RUclips explanations are a complete waste of time. Just a good PDF instruction manual with the right working code would make all the difference! This way there is no quick start at all!
After 2 days of wasted experimenting, uploading, upgrading and testing the Arduino 1.8.13 IDE I found Rui Santos's standalone AP Webcamserver version that worked right away from the given ino file!
PS: The discount ordering code looks nice until the shipping costs are shown which are way too expensive!!
Here is another ESP32 Camera project - video surveillance robot: create.arduino.cc/projecthub/KDPA/esp32-cam-video-surveillance-robot-a22367
This helped me to solve my esp_camera.h not found❤
C:\Users\coolz\AppData\Local\Temp\.arduinoIDE-unsaved2024025-14784-1vft4t4.chfw\WifiCam\handlers.cpp:3:27: fatal error: uri/UriBraces.h: No such file or directory
compilation terminated.
exit status 1
Compilation error: uri/UriBraces.h: No such file or directory
I am getting this error