Loading... Please wait...

Arduino Potentiometer 10K With Knobs and Mounting Hardware (6-Pack)

Hover over image to zoom

  • Image 1
  • Image 2
$3.00
SKU:
POT10K
Weight:
22.00 Grams
Availability:
Ships within 24 hours from Cleveland, Ohio.
Shipping:
Calculated at checkout

Sorry but this item is currently unavailable. Please check back at a later stage.

 Product Description

The Arduino Potentiometer is a variable resistor. You turn its knob to change its resistance. Unlike a normal resistor which only has two leads and a fixed resistance the potentiometer has three leads and its resistance changes between +5V and GND. Connecting a pot to Arduino is easy. Connect one left side lead to +5V on the Arduino and the other right side lead to GND. The middle lead is connected to A0 on the the Arduino. This is where the the voltage changes from +5V to GND as you turn the knob.

 INCLUDES:

  • 6x - Potentiometers
  • 6x - Panel mount hardwear
  • 6x - Multicolored Knobs

 DIMENSIONS:

  • 16mm Body

Arduino Potentiometer Code

// Arduino Potentiometer Code
This Code Controls The Blink Rate Of Pin 13 LED Using A Potentiometer
Connect Left Pot Lead To Arduino 5V : Middle Lead To Arduino A0 : Right Lead To Arduino GND
www.ResistorPark.com
//

int potPin=A0
int ledPin=13;
int x=0

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(potPin, INPUT);
}

void loop() {
  x=analogRead(potPin);
  digitalWrite(ledPin, HIGH);
  delay(x/10);
  digitalWrite(ledPin, LOW);
  delay(x/10);
}

 Find Similar Products by Category

Vendors Other Products

You Recently Viewed...

newsletter

Copyright 2019 Resistor Park. All Rights Reserved.
Sitemap | BigCommerce Design by PSDCenter

Click the button below to add the Arduino Potentiometer 10K With Knobs and Mounting Hardware (6-Pack) to your wish list.