Hi! Latest issue with esp 32 cam motion sensor and sending e-mail. How do I fix attached email pics coming thru as partial pics or corrupted only when unit is placed in brite ( daylite) lite??
Hi.
Partial picture might be caused by a weak wi-fi signal or insufficient power supply.
Can you send me an example of those pictures?
To share a picture, upload it to google drive, imgur or dropbox, and then share a link.
Can you tell me which project exactly are you following?
Regards,
Sara
Its the app with motion detector and email. Sometimes the cam is in a fixed location and sends pics that are either partial like the link, crazy color mostly green, or sometimes split with the pieces reversed. Also sends good pictures intermittantly. WIFI signal is strong and the unit works when i put it in lower lite.
Hi Thomas,
Today’s camera, image sensors are very sensitive to low light levels and can easily be over exposed to use a film term.; where detail is washed out/distorted. I have a Wyse Cam v3 that gets Afternoon Sun; I have experienced the image sensor being overloaded; too much light.
Regards,
William
Hi Thomas.
I couldn’t open the link. I think you didn’t share the right link.
Can you try again?
Regards,
Sara
Hi.
I’ve received your email with the picture.
What does your project do?
Does it go into deep sleep before taking a picture? Or is the camera always on?
Regards,
Sara
Hi Sara. This is your program (Unit 2: Motion Detector with Photo
Capture and Email Notifications) which has the sleep function enabled. Sometimes the picture is cut off, somethimes it is dscolored and sometimes it is jumbled with piecesscrambled and or upside down, Very weird!
Hi again.
Some people complained about the quality of the first pictures taken by the camera when it wakes up from deep sleep.
So, we recently updated the code, so that it discards the first three pictures in the buffer. That should solve the issue. I’m not sure if you’re running the most recent version of the code…
The most recent version of the eBook is version 1.3.
Do you have something as below in your code?
do {
// Take a photo with the camera
Serial.println(“Taking a photo…”);
//The first three pictures after restart have a green tint, discard
those images
for (int i = 0; i <=3; i++){
camera_fb_t * fb = NULL;
fb = esp_camera_fb_get();
esp_camera_fb_return(fb); // dispose the buffered image
}
fb = NULL; // reset to capture errors
// Get fresh image
fb = esp_camera_fb_get();
if(!fb) {
Serial.println(“Camera capture failed”);
delay(1000);
ESP.restart();
}
Regards,
Sara
Are you sure???
This is the code with the changes: https://github.com/RuiSantosdotme/ESP32-CAM-eBook/blob/master/Code/Module_3/Motion_Detector_Photo_Email_NEW/Motion_Detector_Photo_Email_NEW.ino
Let me know if it solves the issue.
Regards,
Sara