I am working on a capstone project for my mechanical engineering degree. Our design is an attachment for dental drills that will detect the drilling depth as the procedure is happening and will notify the dentist when the correct drilling depth is achieved. In order for the design to detect the drilling depth (up and down linear movement) there must be a sensor that can measure how deep the drill has moved down into the tooth. This sensor will be wired to a wifi enabled microcontroller which will send the data to an iot platform that is integrated with matlab to process the incoming data. We need to provide a proof of concept as ar real prototype is out of the question due to covid.
TL/DR: Is there a sensor small enough that can be attached to a dental drill that can measure linear position (up and down)?