I have an esp32 to take measurements with an ultrasonic sensor equipped with a separate circuit board. The esp32 mostly sleeps, so to extend the battery life, I want to cut power to the sensor's board while the esp is sleeping. I measured a traditional relay to use about 70ma when it’s on. I also tried a solid state relay (pvn012) to use only 8ma, driving the sensor connected to the board, but it uses about 2.3ma whenever power is applied to the power pin (not the pin that’s connected to the esp's io).
Are there other options to solve this problem? Thanks!
Are there other options to solve this problem? Thanks!