ESP32-p4 deep sleep wake-up

andy_karl
Posts: 3
Joined: Thu Oct 02, 2025 1:43 pm

ESP32-p4 deep sleep wake-up

Postby andy_karl » Thu Oct 02, 2025 1:51 pm

Hi
I got a esp32-p4-nano poe board from waveshare and I got some trouble to get it going
I want to use a reed switch to act as deep sleep and wake up trigger (high-wake up/low-sleep)
However I can‘t get the deep sleep examples coming with Arduino IDE (esp32 by espressif 3.3.0) to work.
Compiling the example (unmodified) gives me the error ext0 function is unknown
Trying the ext1 example compiles but device is not going to sleep.
Can someone point me in the right direction?

JohnnyZ
Posts: 36
Joined: Thu Jan 11, 2024 10:24 am

Re: ESP32-p4 deep sleep wake-up

Postby JohnnyZ » Thu Oct 02, 2025 3:14 pm

Hi,

Could you try to use ESP-IDF without Arduino and see if it works there?
If not, paste error message here (as text, not as a screenshot)

andy_karl
Posts: 3
Joined: Thu Oct 02, 2025 1:43 pm

Re: ESP32-p4 deep sleep wake-up

Postby andy_karl » Thu Oct 02, 2025 4:01 pm

Never done that before. Is there a quick start?

andy_karl
Posts: 3
Joined: Thu Oct 02, 2025 1:43 pm

Re: ESP32-p4 deep sleep wake-up

Postby andy_karl » Fri Oct 03, 2025 6:43 am

Ok the esp-dig examples loads fine and WakeUp works
How do I adapt this to my arduino sketch which I wanted to use with deepsleep?

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests