Text this: Knee monitoring device based on optical sensor embedded in mechanical compartment assembly