Replies: 1 comment 1 reply
-
Have you tried ThinkTransit's suggestion of enabling the built-in pull-up resistor? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm finding
works on the esp32 (the board deepsleeps then wakes after 10s, or earlier if I press the button) but not the esp32s2 (exits deepsleep immediately after entering it). Both boards using upython v1.23.0 although this is not unique to that version.
Since this behaviour is also influenced by the API, the esp32 behaves properly in some but not in others, the best way to validate is to save the file as main.py on the board then reset it without an api (ie the usb is providing power only no comms).
Since the 2 boards I was testing with had no user led in common & I was keen to run exactly the same code on both, I put a usb ammeter in series. On the usb ammeter I could see the esp32 current drop when it went into deepsleep then rise if I pressed the button or waited 10s. With the esp32s2 the current remained pretty much constant since the s2 quit deepsleep immediately after entering.
Has anyone else experienced this problem or seen it in the bug tracker? Should we raise it as an issue?
For background please see https://github.com/orgs/micropython/discussions/14539 and https://github.com/orgs/micropython/discussions/15234
Beta Was this translation helpful? Give feedback.
All reactions