3

I want to capture photographs from the ESP32 camera, but not doing it manually. Specifically, when a signal is sent from a sensor, I want ESP32 to understand that, and start taking photographs automatically for some seconds. The main problem, is the automation. I have searched on the web a lot, but can't find any answers. I am not expecting answers with code -since this is difficult- rather than some sites that provide solution to my problem. Thank you.

4
  • What sensor are you using? Apr 12 '21 at 14:59
  • @PythonSchlange ultrasonic.
    – LoukasPap
    Apr 12 '21 at 18:19
  • ping it with an esp8266 monitoring the sensor.
    – dandavis
    Apr 13 '21 at 5:53
  • 1
    So what about using if(distance <= distance_when_triggered) capture_photo();. I'm not sure if you want to make multiple photos at once, but then you'd have to put capture_photo(); into a for-loop. If this is what you were looking for, I'd suggest learning the basics of C/C++, which will make programming Arduino a lot easier. Apr 13 '21 at 7:02
2

Please have a look https://github.com/Yurik72/ESPHap/tree/master/examples/ESPHAPCamera The project has different things, but definetelly doing what you asked, captures photo by external event, command...

1
  • I'll take a look at it. Thanks!
    – LoukasPap
    May 22 '21 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.