arduino-libraries / Arduino_OV767X

Official OV767X Library for Arduino , currently supports OV7670 and OV7675 cameras
https://www.arduino.cc/reference/en/libraries/arduino_ov767x/
GNU General Public License v2.0
68 stars 25 forks source link

Camera OV7675 sleep_mode #31

Open dev-OluJames opened 1 year ago

dev-OluJames commented 1 year ago

I'm trying to reduce as low as possible my energy consumption, I'm working on an application involving the ov7675 camera (On the Tiny Ml Kit). I'll like to make an inference only once per hour, what I want to do is to put the camera into a deep sleep mode after each inference. the module is running with an edge impulse model for disease detection.

I've tried so far the function ei_camera_deinit() with the Cam.end() to stop the camera. what I notice is that at some intervals during power consumption measurement, the power reduces at the call of Cam.end(), but not at some other interval where the same Cam.end()is called.

image

Please add power consumption reduction to the library.

CC: @ShawnHymel