11.07.2015 Views

ARDX-experimenters-g.. - Oomlout

ARDX-experimenters-g.. - Oomlout

ARDX-experimenters-g.. - Oomlout

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CIRC-08.:Twisting:..:Potentiometers:.What We’re Doing:Along with the digital pins the Arduino has it alsohas 6 pins which can be used for analog input.These inputs take a voltage (from 0 to 5 volts) andconvert it to a digital number between 0 (0 volts) and1024 (5 volts) (10 bits of resolution). A very useful device that exploits theseinputs is a potentiometer (also called a variable resistor). When it is connectedwith 5 volts across its outer pins the middle pin will read some value between 0and 5 volts dependent on the angle to which it is turned (ie. 2.5 volts in themiddle). We can then use the returned values as a variable in our program.The Circuit:Parts:CIRC-08Breadboard sheetx1560 Ohm ResistorGreen-Blue-Brownx12 Pin Headerx4Green LEDx1Potentiometer10k ohmx1WireSchematic:Arduinopin 13+5 voltsPotentiometerLED(lightemittingdiode)Arduinoanalogpin 2resistor (560ohm)(blue-green-brown)gnd(ground) (-)The Internet.:download:.breadboard layout sheethttp://tinyurl.com/d62o7q..:view:.assembling videohttp://tinyurl.com/cormru22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!