Stufin
Home Quick Cart Profile

22k Potentiometer (10 pcs)

Buy Now

Component Name

22k Potentiometer (10 pcs)

Description

A 22k potentiometer is a type of variable resistor that is widely used in electronic circuits to adjust the voltage, current, or signal level. This component consists of a rotating shaft or slider that connects to a resistive material, allowing the user to vary the resistance between two terminals.

Functionality

  • Divide a voltage source into two parts, allowing the user to adjust the voltage ratio between the two parts.
  • Control the volume, tone, or other parameters in audio circuits.
  • Adjust the brightness or contrast in display devices, such as LCD screens.
  • Regulate the speed or direction of DC motors.
  • Provide a variable resistance in various electronic circuits.
The primary function of a 22k potentiometer is to

Key Features

  • Resistance Value: 22k (kilo-ohms)
  • Tolerance: 10% to 20% (dependent on the manufacturer)
  • Power Rating: Typically up to 0.5W or 1W (dependent on the manufacturer)
  • Number of Turns: Typically 1-3 turns (dependent on the type and manufacturer)
  • Shaft Type: Rotating shaft or slider (dependent on the type)
  • Termination: Typically 3-pin (two outer pins and one center pin)
  • Operating Temperature: Typically -20C to +70C (dependent on the manufacturer)
  • Package: 10 pieces per pack

Electrical Characteristics

  • Resistance: 22k tolerance
  • Voltage Rating: Typically up to 250V AC or 300V DC (dependent on the manufacturer)
  • Current Rating: Typically up to 10mA or 20mA (dependent on the manufacturer)

Physical Characteristics

  • Body Material: Typically plastic or ceramic
  • Shaft Material: Typically metal or plastic
  • Dimensions: Typically 9-15mm in diameter and 10-20mm in length (dependent on the type and manufacturer)
  • Weight: Typically 2-10 grams (dependent on the type and manufacturer)

Applications

  • Audio equipment (e.g., volume controls, tone controls)
  • Motor control and speed regulation
  • Lighting control and dimming
  • Medical devices (e.g., ECG machines, ultrasound devices)
  • Industrial control systems (e.g., temperature control, pressure control)
  • Consumer electronics (e.g., TV sets, radios, amplifiers)

Important Notes

  • When using a potentiometer, ensure that the power rating is not exceeded to prevent damage or overheating.
  • The tolerance of the resistance value may affect the overall accuracy of the circuit.
  • The operating temperature range may affect the component's performance and lifespan.

By providing a comprehensive overview of the 22k potentiometer, this documentation aims to help technicians, engineers, and hobbyists understand the component's functionality, key features, and applications.

Pin Configuration

  • 22k Ohm Potentiometer (10 pcs) Documentation
  • Overview:
  • The 22k Ohm Potentiometer is a variable resistor commonly used in analog circuits to adjust voltage or current levels. This component is suitable for a wide range of IoT applications, including sensor calibration, voltage regulation, and audio volume control.
  • Pinout:
  • The 22k Ohm Potentiometer has three pins, labeled 1, 2, and 3. Here's a detailed explanation of each pin:
  • Pin 1 (CCW - Counter-Clockwise Terminal):
  • Function: Connects to the negative voltage supply (GND) or the low reference voltage (VREF) of the circuit.
  • Description: As the potentiometer is turned counter-clockwise, the resistance between Pin 1 and Pin 2 increases, while the resistance between Pin 1 and Pin 3 decreases.
  • Pin 2 (Wiper - Middle Terminal):
  • Function: Connects to the signal or output voltage of the circuit.
  • Description: The wiper terminal is connected to the slider of the potentiometer. As the potentiometer is turned, the wiper moves along the resistive track, dividing the total resistance (22k Ohm) between Pin 1 and Pin 3.
  • Pin 3 (CW - Clockwise Terminal):
  • Function: Connects to the positive voltage supply (VCC) or the high reference voltage of the circuit.
  • Description: As the potentiometer is turned clockwise, the resistance between Pin 1 and Pin 2 decreases, while the resistance between Pin 1 and Pin 3 increases.
  • Connection Structure:
  • Here's a point-by-point guide to connect the pins:
  • Step 1: Connect Pin 1 (CCW) to GND (Negative Supply):
  • + Connect Pin 1 to the ground (GND) or the negative supply rail of your circuit.
  • Step 2: Connect Pin 2 (Wiper) to the Signal/Output:
  • + Connect Pin 2 to the signal or output voltage of your circuit, such as an analog-to-digital converter (ADC) input or a voltage regulator output.
  • Step 3: Connect Pin 3 (CW) to VCC (Positive Supply):
  • + Connect Pin 3 to the positive supply rail (VCC) or the high reference voltage of your circuit.
  • Example Connection Diagram:
  • R1 - 22k Ohm Potentiometer
  • GND - Ground (Negative Supply)
  • VCC - Positive Supply (3.3V or 5V)
  • SIG - Signal/Output Voltage
  • R1 Pin 1 (CCW) -> GND
  • R1 Pin 2 (Wiper) -> SIG
  • R1 Pin 3 (CW) -> VCC
  • Important Notes:
  • Ensure the potentiometer is properly mounted and secured to prevent mechanical damage or rotation.
  • Use a suitable socket or connector to connect the potentiometer to your circuit, taking care not to over-torque or damage the pins.
  • Avoid applying excessive voltage or current beyond the specified ratings to prevent damage or degradation of the potentiometer.
  • By following these guidelines, you can effectively incorporate the 22k Ohm Potentiometer into your IoT project, achieving precise control over voltage or current levels.

Code Examples

Component Documentation: 22k Potentiometer (10 pcs)
Overview
The 22k potentiometer is a variable resistor that allows the user to adjust the resistance by rotating the shaft. It is a common component used in various IoT applications, such as sensor circuits, audio equipment, and robotics. This documentation provides an overview of the component, its specifications, and code examples to demonstrate its usage in different contexts.
Specifications
Resistance: 22 k
 Power rating: 0.25 W
 Tolerance: 20%
 Operating temperature: -20C to 70C
 Shaft rotation: 270
 Pins: 3 (two outer pins for Vcc and GND, one center pin for output)
Code Examples
### Example 1: Analog Voltage Divider with Arduino
In this example, we'll use the 22k potentiometer as a voltage divider to read an analog voltage value using an Arduino board.
Hardware Connections:
Connect the potentiometer's center pin to Arduino's Analog Input A0.
 Connect the potentiometer's one outer pin to Arduino's 5V output.
 Connect the potentiometer's other outer pin to Arduino's GND.
Arduino Code:
```c
const int potPin = A0;  // Potentiometer connected to Analog Input A0
int potValue = 0;        // Variable to store the potentiometer value
void setup() {
  Serial.begin(9600);
}
void loop() {
  potValue = analogRead(potPin);  // Read the potentiometer value (0-1023)
  float voltage = potValue  (5.0 / 1023.0);  // Calculate the voltage (0-5V)
  Serial.print("Potentiometer value: ");
  Serial.print(potValue);
  Serial.print(" | Voltage: ");
  Serial.print(voltage);
  Serial.println(" V");
  delay(100);
}
```
### Example 2: Audio Volume Control with Raspberry Pi
In this example, we'll use the 22k potentiometer to control the audio volume using a Raspberry Pi.
Hardware Connections:
Connect the potentiometer's center pin to Raspberry Pi's GPIO pin 18 (PCM_CLK).
 Connect the potentiometer's one outer pin to Raspberry Pi's 3.3V output.
 Connect the potentiometer's other outer pin to Raspberry Pi's GND.
Python Code:
```python
import RPi.GPIO as GPIO
import pygame
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.IN)  # Set up GPIO 18 as an input
pygame.mixer.init()  # Initialize the pygame mixer
while True:
    pot_value = GPIO.input(18)  # Read the potentiometer value (0 or 1)
    volume = pot_value  100  # Calculate the volume (0-100%)
    pygame.mixer.music.set_volume(volume / 100.0)  # Set the audio volume
    print("Volume: {}%".format(volume))
    time.sleep(0.1)
```
These code examples demonstrate how to use the 22k potentiometer in different contexts, showcasing its versatility in various IoT applications.