• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32-CAM Surveillance Camera

Q&A Forum › Category: ESP32 › ESP32-CAM Surveillance Camera
0 Vote Up Vote Down
bobwareham asked 3 years ago
Question Tags: ESP32-CAM Surveillance Camera goes offline
8 Answers
0 Vote Up Vote Down
bobwareham answered 3 years ago

Hi I made your project ESP32-CAM surveillance Camera that works ok for a few days but then it goes offline, then if you reset it works again for a few days but then goes offline again, so I have tried the following.
Change 5 volt supply from 1 amp to 2 amp.
Run the camera on a lipo battery with a 5-volt booster.
Put the camera next to my router to maximise the signal.
Fit a heatsink on the ESP32 metal cover as it gets hot.
Disconnect the 5 volts and use the 3-volt input through a 3.3-volt regulator.
Added a 220uF cap to the input with a 0.1 ceramic capacitor.
So I am lost at this point I can’t think of anything else to do to keep it working?
Any suggestions would be good
Thanks, Bob 08-01-2022
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Bob.
I was suggesting everything that you’ve done already.
I don’t have any other ideas to find out what might be causing the issue.
Is the ESP32-CAM still running when it goes offline? Or does it completely power off?
Regards,
Sara
 

0 Vote Up Vote Down
bobwareham answered 3 years ago

Hi Sara
Thank you for your quick response to my problem, but to answer your question yes it is still running but not so hot as it is not transmitting I think? I have two of these cameras so I thought perhaps it is faulty so I took the other one this is without the heatsink as I only had one leftover from a raspberry pi kit, anyway I programed this other camera with your code to see if it would do the same and it did within two days it stopped transmitting again the same as the other camera so this time I used my tablet to receive the picture as I know when you turn off the receive the camera stops transmitting and you can only have one instance of the received picture anyway within two days it stopped again but it was working just no output? so with that in mind do you have any suggestions please Sara as I am really stuck and do you have any problems like this with your camera??
Thanks, Bob

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Do you know what happens with the board in that situation?
Maybe the internet connection fails?
I heard some cases that after a few days the board disconnected from the internet. If that’s your case, you can try to add an if statement to check if there is an internet connection and restart in case it fails.
 
Regards,
Sara

0 Vote Up Vote Down
bobwareham answered 3 years ago

Hi Sara
Thank you for your input it sounds like I have the same problem please can you share the code to add to your code as I am not sure how to implement that to make it restart if it stops.
Cheers Bob

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

I don’t have any code to do exactly that.
You can restart your board with ESP.restart().
And to check if you have an internet connection and wi-fi related functions, you can take a look at this tutorial: https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/
 
Regards,
Sara

0 Vote Up Vote Down
bobwareham answered 3 years ago

Thanks, Sara for your help I will have a good read of the data you have provided.
Cheers Bob

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
I hope it helps.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.