Hi , I have 2 of these ESP32 Cam’s (AI Thinker)and they both do the same thing after I configure them and log into the IP address on my windows 10 Chrome browser. They show only a black screen. I have tried the Web Server code suggested in your course as well as the code you have posted. Both boards get the same result for streaming and still. Every thing looks perfect but no picture on either cam.
Could there be a Chrome or a Windows setting I am missing. I have order another non-AI Thinker Cam but I really think it is something I do not understand.
Thanks in advance, Steve
Are your ESP32-CAM boards relatively close to your router?
Sometimes, you may need to reset the board two to three times, so that it starts working correctly.
Can you check if your board uses internal or external antenna? https://randomnerdtutorials.com/esp32-cam-connect-external-antenna/
If it is set to use external antenna and it is not connected to one, it may not be working properly.
I don’t think that’s the problem. If it was an antenna issue or too far away from router you would get a not connected error in the serial console. I suppose it could connect but then not well enough to send data.
If these are brand new boards check the camera lens. Mine came with a sticker to prevent damage to the lens. You need to remove it. Also, sometimes the camera is not connected to the board very well (Although this normally produces an error as well) so try removing/reinstalling the camera connector.
Thank You both(Sara and Steve)
I just wanted to let you know the outcome with this issue of black screen on my ESP32 Cam. It turned out to be a network issue not an antenna or a blocked lens after all.
In my home I have a router as well as a wired access point at the end of the house where my ESP32 Cam is. My router is what “serves” the IP address to my ESP32, not my access point. If I select the SSID of my access point I get a black screen. If I use the SSID of my router I get a great image on my ESP32 CAM.
Thanks for the course and your responses, Steve