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

[Help Needed] Boot process using custom button #7

Open
ankurphutela opened this issue Jan 22, 2025 · 3 comments
Open

[Help Needed] Boot process using custom button #7

ankurphutela opened this issue Jan 22, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ankurphutela
Copy link

Hello,

I would like to initiate the boot process (power on/off) using custom button (IO17). I am using Arduino IDE. If you can please share example code to initiate the boot process(power on/off), that would be great. Thanks in advance.

Llgok added a commit that referenced this issue Jan 24, 2025
@Llgok
Copy link
Contributor

Llgok commented Jan 24, 2025

@ankurphutela The example of turning the device on and off using the KEY1 button has been added. Key1_Deep_Sleep_Wake_Up

@Llgok Llgok self-assigned this Jan 24, 2025
@Llgok Llgok added the enhancement New feature or request label Jan 24, 2025
@ankurphutela
Copy link
Author

Thanks for prompt response.

The shared code is putting the board on deep sleep, which is different from boot process. Is side button (IO1) (button near to reset button) performing boot process or deep sleep?

@Llgok
Copy link
Contributor

Llgok commented Jan 24, 2025

@ankurphutela
T-CameraPlus-S3 currently does not have an independent switch for turning the battery on and off. The side button is a custom BOOT button, IO0 (the button that puts the device into boot mode). If you want to turn off the device, the currently feasible method is to enter deep sleep mode.

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

No branches or pull requests

2 participants