100K Preset Potentiometer (Pack of 5)
100K Preset Potentiometer (Pack of 5)
The 100K Preset Potentiometer is a variable resistor device that allows for precise adjustment of resistance values within a circuit. This pack of 5 preset potentiometers provides a convenient and cost-effective solution for prototyping, development, and production of various electronic projects. Each potentiometer is a compact, three-terminal device that offers a high degree of precision and reliability.
The 100K Preset Potentiometer is designed to divide a voltage source into two parts, allowing the user to tap into a specific voltage point. The device operates by rotating the shaft, which changes the position of the wiper (the moving part of the potentiometer) along the resistive track. This movement varies the resistance between the center pin (wiper) and the two outer pins, enabling the user to set a specific voltage or resistance value.
The 100K Preset Potentiometer is supplied in a pack of 5 individual units, each with three leads (two outer pins and one center pin). The devices are packaged in a protective plastic bag to prevent damage during shipping and storage.
| The 100K Preset Potentiometer is suitable for a wide range of applications, including |
Audio equipment (volume controls, tone controls)
Industrial control systems (voltage dividers, signal conditioning)
Medical devices (analog circuits, patient monitoring systems)
Consumer electronics (TVs, radios, audio amplifiers)
Robotics and automation (sensor interfaces, motor control)
When using the 100K Preset Potentiometer, it is essential to follow proper handling and installation procedures to ensure optimal performance and longevity. This includes avoiding excessive force or bending of the shaft, using suitable mounting hardware, and keeping the device clean and dry.
Component Documentation: 100K Preset Potentiometer - (Pack of 5)OverviewThe 100K Preset Potentiometer is a compact, adjustable resistor component used to divide a voltage signal and provide a variable output. This pack of 5 potentiometers is suitable for various IoT projects, prototyping, and electronic experiments.SpecificationsResistance: 100K
Power rating: 0.5W
Operating temperature: -20C to 70C
Adjustment type: Preset (trimpot)
Number of turns: 25 turns
Package: Pack of 5PinoutThe potentiometer has three terminals:Terminal 1 (CCW): Counter-clockwise terminal
Terminal 2 (Wiper): Middle terminal (moving contact)
Terminal 3 (CW): Clockwise terminalCode Examples### Example 1: Analog Voltage Divider with ArduinoIn this example, we'll use the potentiometer to create an analog voltage divider circuit with an Arduino board.```c++
const int potPin = A0; // Analog input pin connected to the potentiometer's wiper
const int ledPin = 9; // Digital output pin connected to an LEDvoid setup() {
pinMode(ledPin, OUTPUT);
}void loop() {
int sensorValue = analogRead(potPin); // Read the potentiometer's value (0-1023)
int outputValue = map(sensorValue, 0, 1023, 0, 255); // Map the value to 0-255 for the LED
analogWrite(ledPin, outputValue); // Set the LED's brightness based on the potentiometer's value
delay(10);
}
```### Example 2: Raspberry Pi (Python) and Voltage ControlIn this example, we'll use the potentiometer to control the voltage output of a Raspberry Pi's GPIO pin using Python.```python
import RPi.GPIO as GPIO
import time# Set up GPIO mode
GPIO.setmode(GPIO.BCM)# Define the potentiometer's wiper pin and the output pin
pot_pin = 17
out_pin = 18# Set up the output pin as PWM
GPIO.setup(out_pin, GPIO.OUT)
pwm = GPIO.PWM(out_pin, 50) # 50Hz frequency
pwm.start(0) # Initial duty cycle of 0%while True:
# Read the potentiometer's value (0-1023)
pot_value = int(input("Enter a value (0-1023): "))
# Calculate the duty cycle based on the potentiometer's value
duty_cycle = int((pot_value / 1023.0) 100)
pwm.ChangeDutyCycle(duty_cycle)
time.sleep(0.1)
```### Example 3: Voltage Regulation with ESP32 (MicroPython)In this example, we'll use the potentiometer to regulate the output voltage of an ESP32 board using MicroPython.```python
import machine
import utime# Define the potentiometer's wiper pin and the output pin
pot_pin = machine.Pin(32, machine.Pin.IN)
out_pin = machine.Pin(25, machine.Pin.OUT)while True:
# Read the potentiometer's value (0-1023)
pot_value = pot_pin.value()
# Calculate the output voltage based on the potentiometer's value
out_voltage = int((pot_value / 1023.0) 3.3) # 3.3V max output
out_pin.value(out_voltage)
utime.sleep(0.1)
```Note: These code examples are for demonstration purposes only and may require adjustments based on the specific project requirements and hardware configurations.