How can i determine convergence time with VL6180X Time of Flight sensor. The application scenario is to be able to calculate speed, since speed is distance divide time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-08-27 10:16 PM
The picture i uploaded is a screenshot from the datasheet. And according to the datasheet, Effective max convergence time depends on the actual convergence time plus readout averaging sample period setting. Please i want to know how to calculate the convergence time.
This is simply because i want to be able to calculate speed. Since the sensor reads distance, if i know the time, then i can calculate speed.
Or if there is a better approach to be able to calculate speed with the VL6180X sensor, please help me out.
Thank you
- Labels:
-
Time of flight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-08-28 08:35 AM
The best way is to use the clock on your MCU. Then use the interrupt pin on the sensor.
If it's a robot, run the sensor in continuous mode, reset the clock on every interrupt.
The sensor will range continuously, triggering the interrupt when it finishes the range.
That way you will know precisely how many of your MCU clocks have gone by between measurement.
The clock in your MCU is pretty darn accurate (no matter which one you choose) so you shouldn't have an issue.
- john
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
