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

WakeUP not working #72

Closed
manzajaro opened this issue May 29, 2024 · 3 comments
Closed

WakeUP not working #72

manzajaro opened this issue May 29, 2024 · 3 comments
Labels

Comments

@manzajaro
Copy link

manzajaro commented May 29, 2024

I can't get this simple code to work, every time the esp_deep_sleep_start() is executed, it restarts and the reason it says ‘Wakeup caused by external signal using RTC_CNTL’, but I don't have anything connected to the GPIO_NUM_1 pin.

void setup() {
  pinMode(GPIO_NUM_1 , INPUT_PULLUP);

  delay(10000);
  esp_sleep_enable_ext1_wakeup(GPIO_NUM_1, ESP_EXT1_WAKEUP_ANY_HIGH);
  delay(500);
  esp_deep_sleep_start();
} 

I have tried esp_sleep_enable_ext0_wakeup and it works correctly, but I have already used it for another pin.

Thanks

@felmue
Copy link

felmue commented Jun 2, 2024

Hello @manzajaro

well, I think INPUT_PULLUP is enough to trigger the ESP_EXT1_WAKEUP_ANY_HIGH condition.

Thanks
Felix

Copy link

github-actions bot commented Jul 3, 2024

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 3, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

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

No branches or pull requests

2 participants