Crowtail- Linear Potentiometer
Description¶
The Crowtail- Linear Potentiometer module uses a linear variable resistor with a maximum resistance of 10KΩ. When you move the slider from one side to the other, its output voltage will range from 0 V to the Vcc you applied. The panel mount design makes this module easy to be installed in projects.
Model: CT0022LP
Feature¶
- 30 mm long slide length
- Linear resistance taper
- Connection Mode:A(Analog)
Specification¶
Dimensions(mm):60.0(L)x20.0(W)x18.0(H)
Item | Min | Typical | Max | Unit |
---|---|---|---|---|
Voltage | 3.5 | 5.0 | 30 | V |
Current | - | - | 30 | mA |
Dimension | 20 x 60 | mm | ||
Net Weight | 8.3 | g | ||
Rotational life | >15000 | cycles | ||
Total resistance | 10 | KΩ | ||
Stroke length | 30 | mm | ||
Total resistance tolerance | +/- 20% | / |
Usage¶
With Arduino¶
Follow these simple steps to make the Linear potentiometer module function as a voltage divider:
1.When using the module in conjunction with an Arduino or a Crowduino, use the Crowtail - Base Shield and connect the Crowtail - Linear Potentiometer module to the shield using a designated Crowtail Interface (e.g., Analog Port 0 as shown below):
2.Connect the board to PC using USB cable.
3.Upload the following sample sketch:
int sensorpin=A0;
int sensorValue=0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
sensorValue = analogRead(sensorpin);
Serial.print("sensorValue ");
Serial.println(sensorValue);
}
4.Open the serial monitor. You should see some data from ADC.