2022-04-23 02:23 AM
I have project using a VL53L3CX distance sensor. Also , I control it by ESP32. In normally, I can command to XSHUT pin. And I can read xshut pin of ESP32 that is 3V3 or 0V.
But, When ESP32 enters deep-sleep mode for current consumption, XSHUT pin of the ESP32 is 2V8. So, My power consumption is too high. Because I can not turn of the VL53L3CX sensor.
In addition, is it ok if i drive XHUT pin directly through ESP32 IO? (No pull up,no ESD protection resistor)
Has anyone encountered such a problem?
Solved! Go to Solution.
2022-04-26 05:03 AM
If you want the ToF sensor to be off most of the time, then hook the XShut to a pull down, and then have the CPU lift the line when you are ready to use the sensor. Keep in mind the sensor is completely shutdown when the XShut goes low. You have to re-init the sensor.
But to save the most amount of power, a pull-down is the way to go.
2022-04-26 05:03 AM
If you want the ToF sensor to be off most of the time, then hook the XShut to a pull down, and then have the CPU lift the line when you are ready to use the sensor. Keep in mind the sensor is completely shutdown when the XShut goes low. You have to re-init the sensor.
But to save the most amount of power, a pull-down is the way to go.