cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L0x save power

zhy
Associate III

Hi,

   vl53L0x goto sleep and wakeup to reduce power.

  I used single_mode,program as follow:

   I find add 

         sensor_init(dev,vl53_mode);            //activa
  The measurement time was 600 mS. long more than not add  this function?
  how  to reduce the time?

     

zhy_0-1766628808091.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Zhiyuan.Han
ST Employee

Hi 

As long as you don't power off the sensor, and only let sensor go into sleep mode, there is no need to call the initiation function. 

Initialization will take long time as it includes many registers settings inside. 

 

 

Br

Zhiyuan.Han


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
zhy
Associate III

zhy_0-1766631215684.png  used sleep wakeup  or not used sleep wakeup

zhy_1-1766631278941.png

 

 

Zhiyuan.Han
ST Employee

Hi 

As long as you don't power off the sensor, and only let sensor go into sleep mode, there is no need to call the initiation function. 

Initialization will take long time as it includes many registers settings inside. 

 

 

Br

Zhiyuan.Han


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
zhy
Associate III

When performing two measurements per second, how can the power consumption of the VL53L0x be reduced? Is a single measurement or continuous timed measurements preferable? I adopted continuous timed high-speed measurements, setting the measurement duration to 22 ms with a 900 ms interval between measurements, resulting in an average measured current of 19 mA (according to the specification). Based on this, I calculated the average power consumption.
(22 mS × 19 mA + 5 μA × 878 mS) / 900 mS = 0.4693 mA. I don't understand why others can achieve 20 μA.

Zhiyuan.Han
ST Employee

Hi 

You choice "continuous timed" mode is the correct mode. and you power consumption calculation method is absolutely correct. Normally the power consumption is mainly consumed during ranging window.  

To reduce the power further, you can try to decrease the ranging time(Timing budge ) and increase the idle time(InterMeasurmentPeriod). 

 

Br

Zhiyuan.Han


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi dear Han

   you say decrease the ranging time, What is the minimum value? 

During each interrupt, does the hardware ensure that the measured value remains below the threshold?

  thanks