Replies: 4 comments 1 reply
-
I added a "sleep" command. So now you can use the webinterface or any other input (IR, pin) to put the radio into deep sleep. The only way to wake-up the radio is the reset button. |
Beta Was this translation helpful? Give feedback.
-
pin_shutdownx = 16 # Deemphasis, will be set to LOW Is this the new command for shutdown radio ? If not where we can define pin shutdown ? In above link I send, there is wake up button ( esp_sleep_enable_ext0_wakeup((gpio_num_t)wakeUp_pin, 0); ) definition, and maybe it is better way of wake up than reset button ? I think there is a lot of other GPIO pins that can be defined for wake up pins: 5, 12,13,14, 22, 32 and 33 (derived and compared from you used pin list in documentation and give pinout scheme for esp32 ) Can you also define this function in your code ? |
Beta Was this translation helpful? Give feedback.
-
pin_shutdown has nothing to do with deep-sleep. It is for shutting down the amplifier (if supported). |
Beta Was this translation helpful? Give feedback.
-
There is normally no need to use pull-up resistors. Most of the input pint will be configured as "INPUT_PULL_UP" by the software. The "EN" pin also have a PULL-UP resistor, otherwise the board would not run... |
Beta Was this translation helpful? Give feedback.
-
Finally I found this web page where it is explained how to make a hardware for deep sleep and wake up of esp32.
Deep sleep and wake up buttons
I think GPIO16 and 4 are not and 33 are free for this add on.
Is there a way to use free gpio's for this function ?
Beta Was this translation helpful? Give feedback.
All reactions