2021-05-13 11:33 PM
I would like to use VL6180V1 in one of my project.
I am interfacing it with STM8L MCU. For the sake of simplicity, I would like to copy the settings of the arduino library of VL6180X :
https://github.com/sparkfun/SparkFun_ToF_Range_Finder-VL6180_Arduino_Library
and
I would like to know if it would work or not because of the difference between VL6180 and VL6180X (Presence and absence of ALS). If not, then please guide me with the register setup.
The API that is available is for STM32 and not STM8. Hence I am requesting for this clarification.
2021-05-24 11:01 AM
The silicon inside the VL6180V1 and VL6180X are indentical. No changes are needed.
Have no fear. If you don't need the ALS going from the X part to the V1 part will take no work on your part.
And you will save a few cents.
(We don't have to buy the ALS filter and we don't have to calibrate the ALS. So we can sell the part to you for a few cents savings.)
I did have one customer that went from the no-ALS to the ALS and he had trouble until he covered the ALS opening. (Which is exactly what we did when we invented the V1 part.) But you won't have this issue.
2021-05-25 02:13 AM
Great. Thanks for the reply John.