Current on input/lines line in deep-sleep?
Posted: Sun Nov 20, 2022 12:30 pm
I am creating a battery driven project that I want to use minimal power so most of the time I am intending to deep-sleep the main processor and use the ULP to monitor an input line based on a second timer. My first "design" is:
1. Input line pulled up to 3.3V using 10kOhm
2. Input is also corrected to ground via switch
3. ULP powers up periodically and checks line status.
So question:
1. Is the 10kOhm going to leaking current when the ULP and main processor are sleeping? My understanding is that in deep-sleep the ESP32 uses about 15micro-Amps but this would be dwarfed if the input line were pulling 330micro-Amps all the time.
Alternatively could I do something like this?
1. Input line pulled to ground using 10kOhm
2. Input line connected to an output line via switch
3. ULP puts output high and then text input line
Would this make the input and output lines dormant and use no current when the ULP is sleeping?
Thanks for any pointers or suggestions.
1. Input line pulled up to 3.3V using 10kOhm
2. Input is also corrected to ground via switch
3. ULP powers up periodically and checks line status.
So question:
1. Is the 10kOhm going to leaking current when the ULP and main processor are sleeping? My understanding is that in deep-sleep the ESP32 uses about 15micro-Amps but this would be dwarfed if the input line were pulling 330micro-Amps all the time.
Alternatively could I do something like this?
1. Input line pulled to ground using 10kOhm
2. Input line connected to an output line via switch
3. ULP puts output high and then text input line
Would this make the input and output lines dormant and use no current when the ULP is sleeping?
Thanks for any pointers or suggestions.