Product | Brick | Button Switch Brick | Continuous Potentiometer 60mm
Continuous Potentiometer 60mm
Continuous Potentiometer 60mm
41389
 
US$6.58 Loading ...
 
Share/Save/Bookmark

 

Continuous Potentiometer 60mm

Arduino Continuous Potentiometer 60mm is based on straight-slip potentiometer position sensor and can be combined easily with the Arduino sensor expansion board. The sensor includes two outputs to allow the user to average the values and minimize random sensor fluctuations. 

Slide potentiometer is similar to the volume adjustment which is often used to adjust parameter. Its slide distance is named trip. 60 trip stands for 60mm, whitch is the most commonly used size of a stroke. This slide potentiometer is 60 trip:

The use of potentiometers is the same with other electronic building blocks.
Connect it to an analog input interfaces such as the A5 through common sensor
cable or analog sensor cable. 

Connect the GND、VCC、Output of this item with the
GND、VCC、Analog In of Arduino

With Arduino you can read its value, as the following :

Arduino Sample Code-1 :

int sensorPin = 5;
int value = 0;

void setup() {
  Serial.begin(9600);
}

void loop() {
  value = analogRead(sensorPin);
  Serial.println(value, DEC);
}


Arduino Sample Code-2 :
void setup() { Serial.begin(9600); //Set serial baud rate to 9600 bps } void loop() { int val; val=analogRead(0);//Read slider value from analog 0 Serial.println(val,DEC);//Print the value to serial port delay(100); }

So when the slider moving at different locations, the value Arduino read will be change  continuously  between 0-1023.    

Write a review
*Review title
Please enter subject.
*Your review
Please enter review.
*Rating
(Click star icon to comment)
 
Display name
Loading ...
Best Sellers
Newsletter

Join our newsletter today, to get latest product information and promotion code.

Join
Loading ...