10K Preset Potentiometer (Pack of 5)
10K Preset Potentiometer (Pack of 5)
Rotary Potentiometer
The 10K Preset Potentiometer is a type of variable resistor that allows for precise control over electrical resistance. This component is a pack of 5 identical potentiometers, each featuring a rotary wheel that adjusts resistance in a continuous manner. The 10K Ohm rating indicates the maximum resistance value that can be achieved by the potentiometer.
The primary function of the 10K Preset Potentiometer is to divide a voltage source into two parts, allowing the user to adjust the voltage ratio between the two outputs. This is achieved by rotating the rotary wheel, which changes the position of the wiper contact, thereby varying the resistance between the wiper and the two end terminals.
10K Ohms
[Insert Power Rating]
[Insert Voltage Rating]
[Insert Current Rating]
[Insert Operating Temperature Range]
[Insert Dimensions]
| The 10K Preset Potentiometer is suitable for a wide range of applications, including |
Audio equipment
Industrial control systems
Medical devices
Robotics and automation
Hobby electronics projects
Prototyping and development
Handle the component with care to avoid damage or electrical shock.
Ensure the component is mounted securely to prevent mechanical stress or vibration.
Operate the component within the specified voltage, current, and temperature ratings.
Use a suitable power source and ensure the component is properly connected to avoid electrical shock or damage.
10K Preset Potentiometer - (Pack of 5) DocumentationOverviewThe 10K preset potentiometer is a variable resistor that allows for precise adjustment of resistance values between 0 ohms and 10 kilohms. This component is commonly used in electronic circuits to control voltage, current, and signal levels. The pack of 5 provides multiple units for prototyping, testing, and integration into various IoT projects.Pinout and ConnectionsThe 10K preset potentiometer has three terminals:Terminal 1 (CT): Center terminal, connected to the wiper (moving contact)
Terminal 2 (CCW): Counter-clockwise terminal, connected to one end of the resistive track
Terminal 3 (CW): Clockwise terminal, connected to the other end of the resistive trackCode Examples### Example 1: Analog Voltage Divider using ArduinoIn this example, we'll use the 10K preset potentiometer to create an analog voltage divider circuit, which can be used to control the brightness of an LED.Hardware Requirements:10K preset potentiometer
Arduino board (e.g., Arduino Uno)
Breadboard
Jumper wires
LED
1 k resistor
Power supply (e.g., 9V battery)Code:
```c
const int potPin = A0; // Analog input pin for potentiometer
const int ledPin = 9; // Digital output pin for LEDvoid setup() {
pinMode(ledPin, OUTPUT);
}void loop() {
int potValue = analogRead(potPin); // Read potentiometer value (0-1023)
int ledBrightness = map(potValue, 0, 1023, 0, 255); // Map pot value to LED brightness (0-255)
analogWrite(ledPin, ledBrightness); // Set LED brightness
delay(10);
}
```
In this example, the 10K preset potentiometer is connected to the Arduino's analog input pin A0. The potentiometer value is read using `analogRead()` and then mapped to an LED brightness value using `map()`. The LED brightness is then set using `analogWrite()`.### Example 2: Signal Attenuation using Raspberry PiIn this example, we'll use the 10K preset potentiometer to attenuate a signal in a audio circuit using a Raspberry Pi.Hardware Requirements:10K preset potentiometer
Raspberry Pi (e.g., Raspberry Pi 4)
Breadboard
Jumper wires
Audio signal source (e.g., audio jack)
Speaker or audio output deviceCode:
```python
import RPi.GPIO as GPIOGPIO.setmode(GPIO.BCM)
pot_pin = 17 # GPIO pin for potentiometer# Set up audio signal attenuation circuit
GPIO.setup(pot_pin, GPIO.IN)while True:
pot_value = GPIO.input(pot_pin) # Read potentiometer value (0 or 1)
if pot_value == 1:
# Attenuate signal by 50% when potentiometer is turned clockwise
os.system("amixer -D pulse sset Master 50%")
else:
# Attenuate signal by 0% when potentiometer is turned counter-clockwise
os.system("amixer -D pulse sset Master 0%")
time.sleep(0.1)
```
In this example, the 10K preset potentiometer is connected to a GPIO pin on the Raspberry Pi. The potentiometer value is read using `GPIO.input()` and used to attenuate an audio signal using the `amixer` command.Note: These examples are for illustrative purposes only and may require additional components, circuitry, and modifications to work in your specific IoT project.