Stufin
Home Quick Cart Profile

22K 16mm Rotary Pot(Pack of 5)

Buy Now on Stufin

Component Documentation

22K 16mm Rotary Pot (Pack of 5)

Overview

The 22K 16mm Rotary Pot is a high-quality, compact rotary potentiometer designed for a wide range of IoT applications. This component is ideal for projects requiring precise control and adjustment of analog signals. The pack of 5 rotary pots provides a convenient and cost-effective solution for prototyping, development, and production.

Functionality

The 22K 16mm Rotary Pot is a variable resistor that converts the rotary motion of the shaft into an electrical signal. As the shaft is rotated, the internal resistance changes, allowing the component to control the voltage or current flowing through a circuit. The potentiometer's primary function is to

Divide a voltage source into two parts

Control the volume or level of an audio signal

Regulate the speed of a motor or other device

Provide a variable reference voltage for analog-to-digital converters (ADCs)

Key Features

Resistance

22 k (nominal)

Power Rating

0.5 W (maximum)

Insulation Resistance

100 M (minimum)

Dielectric Strength

500 V AC (minimum)

Shaft Type

Rotating shaft with a flat screwdriver slot

Shaft Diameter

6 mm

Shaft Length

16 mm

Body Diameter

16 mm

Body Length

21 mm

Mounting Type

Through-hole mounting with three leads

Operating Temperature

-20C to 70C

Storage Temperature

-40C to 80C

Humidity

90% RH (maximum)

Mechanical Characteristics

Shaft Torque

0.5 Nm (maximum)

Shaft Rotation

270 (nominal)

Stop Type

Soft stop

Electrical Characteristics

Resistance Tolerance

10% (nominal)

Linearity

1% (nominal)

Noise Reduction

Recessed shaft design for reduced noise and vibration

Package Contents

The pack of 5 rotary pots includes

5 x 22K 16mm Rotary Potentiometers

No additional components or accessories are included.

Applications

The 22K 16mm Rotary Pot is suitable for a wide range of IoT applications, including

Robotics and mechatronics

Audio equipment and musical instruments

Motor control and speed regulation

Sensor interfaces and signal conditioning

Industrial automation and control systems

Medical devices and equipment

Important Notes

The component is not suitable for high-vibration or high-shock applications.

The shaft should be rotated slowly and smoothly to avoid damaging the internal components.

The potentiometer should be used within the specified operating temperature range to ensure optimal performance and longevity.

Pin Configuration

  • Component Documentation: 22K 16mm Rotary Pot (Pack of 5)
  • Overview
  • The 22K 16mm Rotary Pot is a rotary potentiometer, a type of variable resistor that changes its resistance value as the shaft is rotated. This component is commonly used in IoT projects to control voltage levels, signal attenuation, or as a user input device.
  • Pinout
  • The 22K 16mm Rotary Pot has three pins, which are explained below:
  • Pin 1: Clockwise (CW) Terminal
  • Function: Connects to the positive side of the voltage source or the input signal.
  • Description: As the shaft is rotated clockwise, the resistance between Pin 1 and Pin 3 increases, while the resistance between Pin 1 and Pin 2 decreases.
  • Pin 2: Center (Wiper) Terminal
  • Function: Connects to the output signal or the load.
  • Description: The wiper terminal is the moving contact that slides along the resistive track as the shaft is rotated. It provides a variable voltage output based on the rotation of the shaft.
  • Pin 3: Counter-Clockwise (CCW) Terminal
  • Function: Connects to the negative side of the voltage source or the ground.
  • Description: As the shaft is rotated counter-clockwise, the resistance between Pin 3 and Pin 2 increases, while the resistance between Pin 3 and Pin 1 decreases.
  • Connection Structure
  • To connect the 22K 16mm Rotary Pot, follow this structure:
  • 1. Voltage Source: Connect the positive side of the voltage source (e.g., VCC) to Pin 1 (CW Terminal).
  • 2. Ground: Connect the negative side of the voltage source (e.g., GND) to Pin 3 (CCW Terminal).
  • 3. Output: Connect the output signal or load to Pin 2 (Center Terminal).
  • Example Circuit
  • Here's an example circuit to demonstrate the usage of the 22K 16mm Rotary Pot:
  • Connect Pin 1 to VCC (5V) of a power supply or microcontroller.
  • Connect Pin 3 to GND (0V) of a power supply or microcontroller.
  • Connect Pin 2 to an analog input pin of a microcontroller or an analog-to-digital converter (ADC).
  • As you rotate the shaft of the potentiometer, the voltage at Pin 2 will vary between VCC and GND, allowing you to read the rotation position using an analog-to-digital converter or a microcontroller's analog input pins.
  • Important Notes
  • The 22K 16mm Rotary Pot is a passive component and does not require any external power supply to operate.
  • The potentiometer's rotation angle is typically limited to 270-300 degrees, depending on the manufacturer.
  • To ensure accurate readings, it is recommended to use a voltage divider circuit or an op-amp based circuit to condition the output signal from the potentiometer.

Code Examples

Component Documentation: 22K 16mm Rotary Pot (Pack of 5)
Overview
The 22K 16mm Rotary Pot is a rotational potentiometer, commonly used in IoT projects to measure rotational angles or positions. This component is suitable for various applications, including robotics, autonomous vehicles, and interactive installations.
Technical Specifications
Resistance: 22 k
 Power rating: 0.5 W
 Operating voltage: 0 - 50 V
 Rotational angle: 0 - 330
 Mechanical life: 10,000 cycles
 Dimensions: 16 mm (diameter) x 22 mm (height)
Code Examples
### Example 1: Reading Rotary Pot Values with Arduino
In this example, we will use the 22K 16mm Rotary Pot to control the brightness of an LED connected to an Arduino board.
Hardware Requirements
Arduino Board (e.g., Arduino Uno)
 22K 16mm Rotary Pot
 LED
 220  Resistor
 Breadboard and Jumper Wires
Software Requirements
Arduino IDE
Code
```c
const int potPin = A0;  // Rotary pot connected to analog input A0
const int ledPin = 9;  // LED connected to digital output 9
int val = 0;           // Variable to store rotary pot value
void setup() {
  pinMode(ledPin, OUTPUT);
  Serial.begin(9600);
}
void loop() {
  val = analogRead(potPin);  // Read rotary pot value (0 - 1023)
  int brightness = map(val, 0, 1023, 0, 255);  // Map value to LED brightness (0 - 255)
  analogWrite(ledPin, brightness);  // Set LED brightness
  delay(10);
}
```
### Example 2: Using the Rotary Pot with Raspberry Pi (Python)
In this example, we will use the 22K 16mm Rotary Pot to control the rotation of a servo motor connected to a Raspberry Pi.
Hardware Requirements
Raspberry Pi
 22K 16mm Rotary Pot
 Servo Motor (e.g., SG90)
 Breadboard and Jumper Wires
Software Requirements
Raspbian OS
 Python 3.x
Code
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
pot_pin = 17  # Rotary pot connected to GPIO 17
servo_pin = 18  # Servo motor connected to GPIO 18
GPIO.setup(pot_pin, GPIO.IN)
GPIO.setup(servo_pin, GPIO.OUT)
def read_rotary_pot():
  pot_val = GPIO.input(pot_pin)
  return pot_val
def set_servo_motor(angle):
  servo = GPIO.PWM(servo_pin, 50)  # 50 Hz frequency
  servo.start(0)
  servo.ChangeDutyCycle(angle)
  time.sleep(0.5)
  servo.stop()
while True:
  pot_val = read_rotary_pot()
  angle = (pot_val / 1023.0)  180.0  # Map value to servo motor angle (0 - 180)
  set_servo_motor(angle)
  time.sleep(0.1)
```
These examples demonstrate how to use the 22K 16mm Rotary Pot to measure rotational angles and control various outputs in IoT applications.