Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiao sense camera deep sleep current. #1

Open
Tntceria opened this issue Jul 18, 2023 · 1 comment
Open

Xiao sense camera deep sleep current. #1

Tntceria opened this issue Jul 18, 2023 · 1 comment

Comments

@Tntceria
Copy link

When I put the Xiao sense in deep sleep I have 20ma of current, I only see this excessive current only if I activate the camera. If I do not initialize the camera and put the Xiao into deep sleep I see about 1ma. I also tried reinitializing the camera but I still see this 20ma of current. Is there away to get the Xiao sense to use less then 20ma of current when in deep sleep?

Serial.println("getting ready to sleep");

esp_wifi_stop();
err=esp_camera_deinit();
Serial.print("Deinit=");Serial.println(err);
esp_wifi_stop();
esp_deep_sleep_start();

@CazYokoyama
Copy link

Camera consumes 19mA when it is active. esp32s3 consumes 1mA in deep sleep.
So you should
when you want to save power by deep sleep, put esp32s3 in deep sleep mode and de-initialize the camera.
When esp32s3 wakes up, initialize the camera too.
Correct me if I am wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants