I need to measure the distance between two mobil plates inside a closed box (with no external light). The distance range between the two plates should be about 0 and 15 cm, so I need a precision of 1 mm. After searching, I found one sensor that I think that fits to my project. This is VCNL4000.
First of all, I just wanted to know if this sensor would work and if it would be the best for my project. Secondly I want to know which would be the most appropiate type of arduino for this project. Notice that the smaller, the better.
Thank you very much