Here is a simple example of interfacing a potentiometer. In the case of potentiometer, you will have three pins. You can connect one pin to the ground and the other to the
Linear potentiometer (slider) gets really hot - General Electronics - Arduino Forum
Connecting a Potentiom... | Creative Technology Lab Wiki
Using a Potentiometer to Change the Speed of a Flashing LED (Getting S — Cool Components
Potentiometers and the Arduino Uno - Guides - Core Electronics Forum