A power tool, comprising: a chuck having a distal end configured to secure a tool; a motor configured to rotate the chuck and secured tool; a first position sensor (34 1) configured to generate a first signal indicative of a first distance (S 1) between the first position sensor (34 1) and a workpiece; a second position (34 2) sensor configured to generate a second signal indicative of a second distance (S 2) between the second position sensor (34 2) and the workpiece; and a third position sensor (34 3) configured to generate a third signal indicative of a third distance (S 3) between the third position sensor and the workpiece; a controller configured to: determine the first distance (S 1), the second distance (S 2), and the third distance (S 3) based on the first signal, second signal, and the third signal; determine a first angle (α 1) of the power tool with respect to the workpiece based on the first signal and the second signal and present an indication as to whether the first angle (α 1) is within a predetermined range; determine a second angle (β) of the power tool with respect to the workpiece based on the first signal, the second signal, and the third signal and present an indication as to whether the second angle is within the predetermined range; retain any of the first distance (S 1), the second distance (S 2), and the third distance (S 3) that is greater than a distance between the respective position sensor (34 1, 34 2, 34 3) and the distal end of the chuck; determine a depth measurement based on the retained distances; and generate, based on the obtained depth measurement, one or more control signals that control operation of the motor. a chuck having a distal end configured to secure a tool; a motor configured to rotate the chuck and secured tool; a first position sensor (34 1) configured to generate a first signal indicative of a first distance (S 1) between the first position sensor (34 1) and a workpiece; a second position (34 2) sensor configured to generate a second signal indicative of a second distance (S 2) between the second position sensor (34 2) and the workpiece; and a third position sensor (34 3) configured to generate a third signal indicative of a third distance (S 3) between the third position sensor and the workpiece; a controller configured to: determine the first distance (S 1), the second distance (S 2), and the third distance (S 3) based on the first signal, second signal, and the third signal; determine a first angle (α 1) of the power tool with respect to the workpiece based on the first signal and the second signal and present an indication as to whether the first angle (α 1) is within a predetermined range; determine a second angle (β) of the power tool with respect to the workpiece based on the first signal, the second signal, and the third signal and present an indication as to whether the second angle is within the predetermined range; retain any of the first distance (S 1), the second distance (S 2), and the third distance (S 3) that is greater than a distance between the respective position sensor (34 1, 34 2, 34 3) and the distal end of the chuck; determine a depth measurement based on the retained distances; and generate, based on the obtained depth measurement, one or more control signals that control operation of the motor. determine the first distance (S 1), the second distance (S 2), and the third distance (S 3) based on the first signal, second signal, and the third signal; determine a first angle (α 1) of the power tool with respect to the workpiece based on the first signal and the second signal and present an indication as to whether the first angle (α 1) is within a predetermined range; determine a second angle (β) of the power tool with respect to the workpiece based on the first signal, the second signal, and the third signal and present an indication as to whether the second angle is within the predetermined range; retain any of the first distance (S 1), the second distance (S 2), and the third distance (S 3) that is greater than a distance between the respective position sensor (34 1, 34 2, 34 3) and the distal end of the chuck; determine a depth measurement based on the retained distances; and generate, based on the obtained depth measurement, one or more control signals that control operation of the motor.