50K 3386P Trimpot (Pack of 5)
50K 3386P Trimpot (Pack of 5)
The 50K 3386P Trimpot is a variable resistor, also known as a trimpot or trimmer potentiometer, designed for precise and repeatable adjustment of electrical resistance. This component is supplied in a pack of 5, making it an excellent value for prototype development, testing, and production.
The primary function of the 50K 3386P Trimpot is to provide a variable resistance value between its three terminals. By rotating the adjustment screw, the internal wiper contact moves along the resistive track, changing the resistance value between the center terminal and the two outer terminals. This allows for precise adjustment of voltage, current, or signal levels in a circuit.
The 50K 3386P Trimpot is suitable for a wide range of applications, including |
The 50K 3386P Trimpot is supplied in a pack of 5 pieces, each individually wrapped in a protective bag to prevent damage and contamination. Store the components in a cool, dry place, away from direct sunlight and moisture. Avoid exposing the components to mechanical stress, shock, or vibration.
The 50K 3386P Trimpot complies with RoHS, REACH, and other relevant environmental and safety regulations. It meets or exceeds IEC, UL, and other industry standards for trimmer potentiometers.
Component Documentation: 50K 3386P Trimpot (Pack of 5)
Overview
The 50K 3386P Trimpot is a variable resistor, also known as a trimpot or trimmer potentiometer, used to adjust electrical resistance in a circuit. This component is commonly used in electronic projects, prototypes, and production environments where precise resistance adjustment is required. The 50K 3386P Trimpot is a 50k, 3-pin, top-adjust trimpot with a compact design, making it suitable for a wide range of applications.
Pinout
| Pin | Function |
| --- | --- |
| 1 | CCW (Counter-ClockWise) terminal |
| 2 | Wiper terminal |
| 3 | CW (ClockWise) terminal |
Electrical Characteristics
| Parameter | Value |
| --- | --- |
| Resistance | 50k 20% |
| Power Rating | 0.5W |
| Operating Temperature | -20C to 70C |
| Adjustment Range | 0 to 50k |
Code Examples
### Example 1: Using a Trimpot as a Voltage Divider (Arduino)
In this example, we will use the 50K 3386P Trimpot as a voltage divider to adjust the output voltage of a circuit.
```c
const int trimpotPin = A0; // Select an analog input pin on your Arduino board
int trimpotValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
trimpotValue = analogRead(trimpotPin);
int outputVoltage = (trimpotValue 5.0) / 1024.0; // Calculate output voltage (0-5V)
Serial.print("Output Voltage: ");
Serial.print(outputVoltage);
Serial.println(" V");
delay(500);
}
```
### Example 2: Using a Trimpot to Adjust LED Brightness (Raspberry Pi)
In this example, we will use the 50K 3386P Trimpot to adjust the brightness of an LED connected to a Raspberry Pi.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
trimpotPin = 17 # Select a GPIO pin on your Raspberry Pi board
ledPin = 18 # Select a GPIO pin for the LED
GPIO.setup(trimpotPin, GPIO.IN)
GPIO.setup(ledPin, GPIO.OUT)
while True:
trimpotValue = GPIO.input(trimpotPin)
pwm = GPIO.PWM(ledPin, 50) # Create a PWM object with a frequency of 50 Hz
pwm.start(0) # Start the PWM with a duty cycle of 0%
# Adjust the duty cycle based on the trimpot value
if trimpotValue == 0:
pwm.ChangeDutyCycle(0) # Minimum brightness
elif trimpotValue == 1023:
pwm.ChangeDutyCycle(100) # Maximum brightness
else:
pwm.ChangeDutyCycle(trimpotValue / 10.23) # Adjust brightness based on trimpot value
time.sleep(0.01) # Adjust the sleep time to adjust the refresh rate
```
Note: The code examples above are for illustration purposes only and may require modifications to work with your specific setup and hardware.