Stufin
Home Quick Cart Profile

1M ohm 16mm Rotary Pot Variable Potentiometer (Pack of 5)

Buy Now

Component Description

1M ohm 16mm Rotary Pot Variable Potentiometer (Pack of 5)

Overview

The 1M ohm 16mm Rotary Pot Variable Potentiometer is a type of potentiometer that offers a high degree of precision and durability. This component is a variable resistor that changes its resistance value in response to mechanical rotation, making it an essential component in various IoT devices, robotics, and electronic projects.

Functionality

The primary function of this rotary potentiometer is to divide a voltage source into two parts, providing a variable output voltage that is proportional to the mechanical rotation of the potentiometer. When the shaft of the potentiometer is rotated, the wiper (a sliding contact) moves along the resistive track, dividing the input voltage into two parts. The output voltage can be obtained from the wiper terminal, which is connected to the center terminal of the potentiometer.

Key Features

  • Resistance Value: 1M ohm (1 megohm)
  • Type: Rotary Potentiometer
  • Size: 16mm (diameter) x [insert height/length]
  • Number of Turns: [Insert number of turns or specify continuous rotation]
  • Shaft Type: [Insert type of shaft, e.g., linear, slotted, or splined]
  • Wiper Material: [Insert material, e.g., metal or conductive plastic]
  • Power Rating: [Insert power rating, e.g., 0.5W]
  • Operating Temperature: [Insert operating temperature range, e.g., -20C to 70C]
  • Rotation Angle: [Insert rotation angle, e.g., 270 or 360]
  • Linearity: [Insert linearity tolerance, e.g., 10%]
  • Noise Reduction: [Insert noise reduction feature, e.g., dust seal or shielded housing]
  • Packaging: Pack of 5 units

Electrical Characteristics

Operating Voltage

[Insert maximum operating voltage, e.g., 50V]

Current Rating

[Insert maximum current rating, e.g., 1mA]

Resistance Tolerance

[Insert resistance tolerance, e.g., 20%]

Temperature Coefficient

[Insert temperature coefficient, e.g., 100 ppm/C]

Mechanical Characteristics

Mounting Type

[Insert mounting type, e.g., through-hole, surface-mount, or screw-mount]

Shaft Length

[Insert shaft length, e.g., 10mm]

Shaft Diameter

[Insert shaft diameter, e.g., 4mm]

Housing Material

[Insert housing material, e.g., plastic or metal]

Applications

The 1M ohm 16mm Rotary Pot Variable Potentiometer is suitable for various IoT applications, including

Robotics and automation

Audio equipment and mixing consoles

Medical devices and equipment

Industrial control systems

Consumer electronics and appliances

Prototyping and development boards

Notes and Precautions

Handle the component with care to avoid damage to the wiper or resistive track.

Use proper cleaning and maintenance techniques to ensure optimal performance and longevity.

Ensure correct mounting and wiring to avoid electrical shock or fire hazards.

Refer to the datasheet and manufacturer's guidelines for specific usage and application notes.

Pin Configuration

  • 1M ohm 16mm Rotary Pot Variable Potentiometer (Pack of 5) - Pinout and Connection Guide
  • The 1M ohm 16mm Rotary Pot Variable Potentiometer is a three-terminal device that allows for precise voltage division and signal attenuation. The component has three pins, which are explained below:
  • Pin 1: Clockwise Terminal (CW)
  • ------------------------------------------------
  • Also referred to as the "High Side" or "Positive" terminal
  • Connected to the positive voltage supply (VCC) or the high side of the voltage divider
  • Typically, the clockwise rotation of the potentiometer increases the resistance between Pin 1 and Pin 2, while decreasing the resistance between Pin 1 and Pin 3
  • Pin 2: Wiper Terminal (W)
  • -----------------------------------------
  • Also referred to as the "Middle" or "Output" terminal
  • Connected to the output of the voltage divider or the signal to be attenuated
  • The wiper terminal is the moving contact that slides along the resistive track, dividing the voltage between Pin 1 and Pin 3
  • Pin 3: Counterclockwise Terminal (CCW)
  • -----------------------------------------
  • Also referred to as the "Low Side" or "Negative" terminal
  • Connected to the negative voltage supply (GND) or the low side of the voltage divider
  • Typically, the counterclockwise rotation of the potentiometer decreases the resistance between Pin 3 and Pin 2, while increasing the resistance between Pin 3 and Pin 1
  • Connection Structure:
  • -----------------------------
  • To connect the potentiometer, follow these steps:
  • 1. Connect Pin 1 (CW) to the positive voltage supply (VCC): This can be a power source, a battery, or a regulated voltage supply.
  • 2. Connect Pin 3 (CCW) to the negative voltage supply (GND): This can be ground, a negative voltage supply, or a reference point.
  • 3. Connect Pin 2 (W) to the output or signal: This can be a microcontroller input, an amplifier input, or any other circuit that requires a voltage-divided or attenuated signal.
  • Example Circuit:
  • In this example, we'll use the potentiometer as a voltage divider to control the brightness of an LED.
  • Pin 1 (CW) VCC (5V)
  • Pin 3 (CCW) GND
  • Pin 2 (W) LED Anode Resistor (1k) GND
  • By rotating the potentiometer, the voltage at the wiper terminal (Pin 2) changes, adjusting the brightness of the LED.
  • Remember to handle the potentiometer carefully during installation, as the mechanical rotation can be delicate. Make sure to secure the component properly to prevent damage or misalignment.

Code Examples

1M ohm 16mm Rotary Pot Variable Potentiometer (Pack of 5) Documentation
Overview
The 1M ohm 16mm Rotary Pot Variable Potentiometer is a analog rotary potentiometer with a resistance value of 1M ohm and a physical size of 16mm in diameter. This component is commonly used in various applications such as audio equipment, robotics, and IoT projects to control voltage levels, signal amplitude, and frequency. This documentation provides technical details and code examples for using this component in different contexts.
Technical Specifications
Resistance: 1M ohm
 Power rating: 0.5W
 Operating voltage: 12V
 Physical size: 16mm diameter
 Rotation angle: 270
 Linearity: 5%
 Temperature range: -20C to +70C
Pinout
The 1M ohm 16mm Rotary Pot Variable Potentiometer has three pins:
Pin 1: CCW (Counter-ClockWise) terminal
 Pin 2: Wiper terminal
 Pin 3: CW (ClockWise) terminal
Code Examples
### Example 1: Analog Voltage Control using Arduino
In this example, we will use the 1M ohm potentiometer to control the analog voltage output of an Arduino Uno board.
Hardware
Arduino Uno board
 1M ohm 16mm Rotary Pot Variable Potentiometer
 Breadboard
 Jumper wires
Code
```c
const int potPin = A0;  // Potentiometer wiper pin connected to A0
const int ledPin = 9;  // LED connected to digital pin 9
void setup() {
  pinMode(ledPin, OUTPUT);
}
void loop() {
  int potValue = analogRead(potPin);  // Read potentiometer value (0-1023)
  int voltage = map(potValue, 0, 1023, 0, 255);  // Map pot value to voltage (0-255)
  analogWrite(ledPin, voltage);  // Write voltage to LED
  delay(10);
}
```
In this example, the potentiometer is connected to analog input A0 of the Arduino Uno, and the LED is connected to digital pin 9. The Arduino reads the potentiometer value and maps it to a voltage value between 0 and 255. The voltage is then written to the LED using the `analogWrite()` function.
### Example 2: Signal Attenuation using Raspberry Pi and Python
In this example, we will use the 1M ohm potentiometer to attenuate a signal using a Raspberry Pi and Python.
Hardware
Raspberry Pi board
 1M ohm 16mm Rotary Pot Variable Potentiometer
 Breadboard
 Jumper wires
 Signal source (e.g., audio signal)
Code
```python
import RPi.GPIO as GPIO
# Set up GPIO mode
GPIO.setmode(GPIO.BCM)
# Define pin for potentiometer wiper
pot_pin = 17
# Set up potentiometer pin as an analog input
GPIO.setup(pot_pin, GPIO.IN)
def attenuate_signal(pot_value):
  # Calculate attenuation factor based on potentiometer value
  attenuation_factor = pot_value / 1023.0
  return attenuation_factor
while True:
  pot_value = GPIO.input(pot_pin)
  attenuation_factor = attenuate_signal(pot_value)
  # Apply attenuation factor to signal
  # (e.g., using a software-based audio mixer or signal processing library)
  print("Attenuation factor:", attenuation_factor)
```
In this example, the potentiometer is connected to a GPIO pin on the Raspberry Pi, and the Python script reads the potentiometer value using the `GPIO.input()` function. The script then calculates an attenuation factor based on the potentiometer value and applies it to the signal using a software-based audio mixer or signal processing library.
### Example 3: IoT Application using ESP32 and MicroPython
In this example, we will use the 1M ohm potentiometer to control a remote IoT device using an ESP32 board and MicroPython.
Hardware
ESP32 board
 1M ohm 16mm Rotary Pot Variable Potentiometer
 Breadboard
 Jumper wires
 Wi-Fi antenna
Code
```python
import machine
import urequests
# Set up potentiometer pin as an analog input
pot = machine.ADC(32)  # Pin 32 is the ADC input for the potentiometer
def send_data(pot_value):
  # Send potentiometer value to remote IoT device using HTTP
  url = "https://example.com/iot_device_control"
  headers = {"Content-Type": "application/json"}
  data = {"pot_value": pot_value}
  response = urequests.post(url, headers=headers, json=data)
  return response.text
while True:
  pot_value = pot.read_u16()  # Read potentiometer value (0-65535)
  send_data(pot_value)
  machine.delay(500)
```
In this example, the potentiometer is connected to an ADC input on the ESP32 board, and the MicroPython script reads the potentiometer value using the `machine.ADC.read_u16()` function. The script then sends the potentiometer value to a remote IoT device using an HTTP POST request.
Note: These code examples are for illustrative purposes only and may require modifications to work with specific hardware and software configurations.