cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L4CD sleeping?

will3
Associate III

Hi,

Been a while :) 

Seeing some odd readings after the sensor has no real changes.  After some time when a change in the sensor distance happens it "seems" to take many readings to get good readings.

Is there a sleep I don't know about? What is the recommended way to "wake up" the sensor if it has been dormant for some time......or am I imagining this? 

Thanks,

Will

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi 

You can check if sensor is sleeping either by monitor the power consumption, if the sensor is ranging, the power consumption is around 20mA, if sensor is nor ranging, the power consumption will be less than 1mA.

The other method you can check with a mobile camera (except iphone), or laptop camera, when sensor is ranging, you can see the red light emitted from the TOF. 

 

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

3 REPLIES 3
Zhiyuan.Han
ST Employee

Hi Will

It's hard to figure out where is the issue come from, normally sensor either in ranging mode or in sleep mode, but will not work like your issue.  we need more detail information about your issue

  • You test code.
  • the ranging log, normal and abnormal. 

 

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.
will3
Associate III

How can you detect whether you are sleeping or not? 

Hi 

You can check if sensor is sleeping either by monitor the power consumption, if the sensor is ranging, the power consumption is around 20mA, if sensor is nor ranging, the power consumption will be less than 1mA.

The other method you can check with a mobile camera (except iphone), or laptop camera, when sensor is ranging, you can see the red light emitted from the TOF. 

 

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.