ESP32-Cam Complete Guide
Вставка
- Опубліковано 27 сер 2024
- In this video I explain the ESP32-Cam in detail. I cover the basics of the ESP32-Cam, how to program it in Arduino, how to wire it, and cover many examples such as showing live video in a web browser, taking a picture and saving in SD card, and even doing some computer vision.
Link to related blog post:
www.diyengineers.com/2023/04/13/esp32-cam-complete-guide
Items used in this video (affiliate links):
*As an Amazon Associate I earn from qualifying purchases.
ESP32-Cam:
amzn.to/4cZfz4G
What projects would you like to see next? 😃
So I just got an ESP-32 camera (which came with a USB adapter) for a project and I tried the webcam browser (or whatever it is) example, and my code uploaded successfully. But when I press the reset button, nothing shows up in the serial monitor although the baud is the highest and everything. Sometimes if I unplug and plug the camera back in it would show some weird question mark characters that would either go on forever, or there would be like 4 of them. It is so weird. Idk what is the issue but I am considering returning the camera. Any solutions?
Try a different USB port on your PC or better
use USB hub.
@@richardroy6747 I actually got it to work as of now. Luckily it was connecting to wifi so it was just my usb cable
Can we see a video on the LILLYGO pico T-3 with the RP2040 & ESP32 with LCD. That microcontroller looks awesome
Thanks for uploading this; the video is interesting and informative with great visuals, too! Currently working through the examples and just got to the webcam-server stage.
In regards to future projects; it would be interesting to know how train the ESP32-CAM to take an action when it detects a certain object? Eg: smart garage door that recognises certain number plates
Wow, this UA-cam video was a lifesaver! Thanks to the clear and concise instructions, I successfully connected my ESP32-CAM model without any hassle. It's amazing how the creator made the complex setup seem so simple. I'm grateful for such valuable content that empowers users like me to explore and learn new technologies. Keep up the fantastic work! 🙌🎉
Hey there! Your tutorials are incredibly helpful, and I was wondering if you could consider making a video explaining how to initiate and work with the OV7670 camera module. Given your talent for simplifying complex processes, I believe it would be an invaluable resource for the community. Looking forward to learning from your expertise! Thanks in advance! 📹📷
Very good
cool stuff from esp32 cam!
cool course! thank you so much, i will use esp32 instead of Arduino now
Glad you liked it. Thanks for watching!
Thanks a lot!
It works!
Thanks for watching!
I would like to see you reprogram a purchased security camera to work on your own in house network without giving companies access to your wifi passcode and such. . . . . .
Ubiquiti
Why? This is much better.
How many gpio pins are available for external sensors on esp 32 cam while its inbuilt sd card and ov sensor pins are already occupied some pines ?
Same question. Pretty important thing to know, and nobody is talking about it! 🤷🏻♂️
Thanks!
the pictures i save on the sd card are still really green, any tips?
General question please..? What size/gauge wire do I use for ESP32 S3. Connecting a sensor that is 20feet away from ESP32?
Thx! My first project! Disabled and learning new things =. ESP32! Thank you!
So, this uses internet? Not just intranet
Can I use external SD card reader? I think my ESP-Cam internal SD reader is broken.
If so, how to connect and do I need to modify the code?
How many current can support the board? Because, I want buy it with an adapter to programming (flashing), it has a USB adapter, that I can use with a charger adapter for a smart phone. Therefore, the adapter supplies 2 ampers as maximum quantity. Hence, I have the question if it could burn up the board using the mentioned charger adapter, with a high current.
Thanks for your time and thanks for the video, it was a enormous help for me. 🗿
What if you have ESP32-CAM-MB ? Do you still need to do that short GND?
No. I've programmed it a bunch of times with the MB Programmer and I've never had to do anything with pins 1 and 0
Can i connect ESP32 with ESP32-Cam?
(A fatal error occurred: Failed to connect to ESP32: No serial data received.) I can't manage to fix this?
I'm a novice , can some tell me if I can view the photos over the network or do I need to remove the SD card everytime
the PIR triggered images are very dark. i modified the delay to 2000 and 3000ms and it does not work
May I know how to reduce the latency? When the camera is streaming to detect object, it's laggy in my situation.
Yeah,I'm having it too.can anybody give a answer quickly?All help is supported as I'm doing this for a school project.
Set it to use AP mode. I had the same problem when connecting the camera's wifi to router. Use AP mode if you still use internal antenna.
AP mode is good for testing your code.
Here is some code in my camerawebserver sketch.
#define CAMERA_MODEL_AI_THINKER // Has PSRAM
const char* ssid_AP = "xxxxx"; // replace xxxxx with your desired ssid name
const char* password_AP =xxxxx"; // replace xxxxx with any password
IPAddress local_IP(192, 168, 1, 90);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress primaryDNS(8, 8, 8, 8); //optional
IPAddress secondaryDNS(8, 8, 4, 4); //optional
in setup( ) function. just before startCameraServer();
remove these lines:
WiFi.begin(ssid, password);
WiFi.setSleep(false);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
and replace them with:
WiFi.softAPConfig(local_IP, gateway, IPAddress(255,255,255,0)); WiFi.softAP(ssid_AP, password_AP);
I want to read my gas meter. Can you do OCR with an ESP32 locally? Without connecting the ESP32 to your home network?
The meter is outside and connecting to my home network would be a security risk. Connecting it to a Lora module to send 1 way readings is ok, though.
I bought the s3 wroom last year and never get it programmed. Not sure what camera to choose on Arduino ide sketch but tried a few.
Hey there can i use the cam module for pathfinding
camera probe failed with error 0x105(esp_err_not_found).....this are error show .... please sir give the solution
Please I need a guide to implement object detection using de1-soc?
Can these do wifi direct connect (p2p) so I can connect direct with my phone to the camera and view through the phone? I cant find any information online. Anyone know if there are any modules that can do this? I need to view live on my phone in places where there is no internet.
If you use your phone's 4G connection over hotspot and you program the esp32cam appropriately, you can use it like this. I've already tried it with this module and it works.
Hey how do i resolve camera_pins.h not found? it already in the ESP32 library in H type file format but the ide still can't find it
What do you mean? As soon as you open the File-> Examples-> ESP 32->Camera -> CameraWebServer
example,you see the camera_pins.h tab right in front of your eyes! If you have any problems please comment.
nice video ! Is it possible to erase SDcard images from smartphone (WiFi network)? .
I completely miss the point of CV with Python on a desktop pc. Having the esp32 or a usb cam does not really matter conceptually. The cool thing would be to do image processing on board with the esp32. Am I too optimistic?
Yes, you are too optimistic.
PSRAM read error 0xfffff is coming, what to do
How do i figure out which ports to use?
Right click on start menu (window 11), click on Device Manager, click on COM Ports, and use the one that is connected to the CH340 driver. That's the port you would use on the Arduino sketch under "tools" port.
So inspiring to see a successful LGBTQ+ UA-camr 🏳🌈❤
There are so many
hi can you help me with this
it says
A fatal error occurred: Failed to connect to ESP32: No serial data received.
Hey, I am having the same problem. Have you found a fix?
yep i just change the connector@@user-ev5kk6wr8b
Two things I've found when messing with it: 1. Make sure GI00 is shorted to ground. 2. It is strange but I had to connect my TX to TX and RX to RX which would normally be backwards. @@user-ev5kk6wr8b
also somewhat strange, try changing the ground pin on esp32 to the left side below the 5V pin.
and if you use 5Ghz wifi, it might also help to change into 2.4Ghz. idk why that is but it's working
Bro how you disabled port in tools option please tell me . Com5 port is important or not . There is no any issue of ports or yes
If it’s showing up as a Com you probably need driver for it
How do we define a hostname in the code?
there is an option in the python code but not in the arduino code
Bro, I am getting issue, its get restarting when I turned on face Detection. Can you help?
Hi, thanks for watching. I didn't have that issue. I have read that you could run into that issue when powering the ESP32-Cam through the FTDI. Have you tried turning on face detection without powering via FTDI?
@diyengineers Bro, thanks for your reply. I have tried with other power methods but not work, and with FTDI its even do not power up, Keep restarting for every second. In the end, I think it's an issue with and order new one that will deliver today, and I will check it with a new one.
Did you fix it@@salmanahmad4759
какое напряжение можно подавать на 3.3 и 5 ?
Program upload krne pe exit status 1 error ko kaise solve kre
kuch nahi bai sirf chat gpt use karke puchlo usko!
can i remove ftdi in the esp32 cam?
Very good