Potentiometers can be used as a source of voltage as a signal to be inserted into a microprocessor system such as Arduino.
The Bandwidth of a potentiometer needs to be measured to determine whether an aliasing will occur when the analog signal from the potentiometer is converted to digital with a sampling technique.
Here is an example of an output voltage graph of potentiometer, measured by ADC on the Arduino Nano (ATmega328).
Code for measurement: https://github.com/waskita/embedded/tree/master/atmega-potensiometer-test
Measurement result Data: https://github.com/waskita/embedded/tree/master/potensiometer-data