A potentiometer is known as a position sensor as it senses the displacement in any direction. Linear potentiometers measure linear displacements whereas rotary potentiometers measure rotary displacement. They are a type of resistors however, they do not carry as much…