I am trying to design a circuit that will get the angle of someone's arm. My first thought is to place a potentiometer on a hinge and attach the hinge to my arm. There will be a voltage to binary converter that will read the potentiometer's voltage output and output a binary value representing the angle of the arm. I am worried that the potentiometer will have low accuracy. Is there a better way that will give me better accuracy, or is my idea fine? I don't need it to be very accurate.