Sketch created by Peter Knight, Tinker.it http://tinker.it.
For more information please visit the website.
I hope you are already familiarized with the arduino environment, if not get an arduino and check for more information at arduino.cc
Step 1: Materials
- X5 5K Potentiometer
- A breadboard.
- An 8 Ohm speaker or a jack.
This you'll probably have laying around and will be needed:
- Various jumpers
- X1 Arduino (I am using Arduino Uno R2)
- X5 Knob (For the Pots)
Step 2: The pots
Basically all there positive leads are connected to 5V and all there negatives are going to ground. And the pots middle lead goes to an analog pin on the arduino.
Pot 1 goes to analog 4.
Pot 2 goes to analog 3.
Pot 3 goes to analog 2.
Pot 4 goes to analog 1.
Pot 5 goes to analog 0.
The pictures show how to connect the jumpers very clear.
Step 3: The speaker
Speaker must go connect to digital 3 on the arduino. And negative to ground...