Search found 2 matches

by papafritus
Wed Jul 24, 2019 6:44 pm
Forum: ESP32 Arduino
Topic: How disconnect modem in order to save power.
Replies: 2
Views: 5793

How disconnect modem in order to save power.

Hi all!, I work on a project where I dont need to use wifi nor BT. With the ESP8266, I achieve a 20ma total current using: WiFi.mode(WIFI_OFF); delay(2); WiFi.forceSleepBegin(); delay(2); But with the ESP32 (mini board) I cant achieve a current below 60ma. Is there a way to have a lower power consum...
by papafritus
Sun May 19, 2019 5:39 am
Forum: ESP-IDF
Topic: GPIO Interrupts (Advice please)
Replies: 1
Views: 3263

GPIO Interrupts (Advice please)

Hi all, I'm working with GPIO Interrupts (its my first time) and I really need advice on my code. The thing is simple: To detect a push button with an interrupt. The code set the interrupt and when detect the button pressed, disable the interrupt for a time. Its ok? Is there a better way to do it? I...