ESP32 sleep - other periferals also sleep
Posted: Fri Dec 22, 2023 3:59 pm
Hi, thanks for membership
I have an ESP32 WROOM that goes to sleep whit a timer, that works well:
Q:
My question is do ESP32 deep_sleep also make LoRa Ai-Thinker SX1276 Ra-01H sleep?
If not, how can I make it go to sleep?
My config/pins I use for Ra-01H (this can not be changed, PCB is finised)
I have an ESP32 WROOM that goes to sleep whit a timer, that works well:
Code: Select all
// ENABLE SLEEP TIMER AND GO TO SLEEP
esp_sleep_enable_timer_wakeup(sleepTimeSec * 1000000); // Convert seconds to microseconds
esp_deep_sleep_start();
My question is do ESP32 deep_sleep also make LoRa Ai-Thinker SX1276 Ra-01H sleep?
If not, how can I make it go to sleep?
My config/pins I use for Ra-01H (this can not be changed, PCB is finised)
Code: Select all
#define SCK 5
#define MISO 19
#define MOSI 27
#define SS 18
#define RST 14
#define DIO0 26