Step 3: Wiring up the Potentiometer
The next piece to the setup is a small potentiometer. This, on my project, is placed on a seperate breadboard from the LEDs and buttons. (I will probably change that later though.) The breadboard must also be connected to both 5V (done by connecting it to the other breadboard's red rail), and the blue, GND, rail. The left, according to the picture, pin on the potentiometer is connected to the red rail on the breadboard. The middle pin should be connected to analog pin A0, and the left pin needs to be connected to GND by a 10K Ohm resistor. Make sure the GND rail is connected to the GND port on the Arduino's analog side. And then you're done with the electrical part of it!