Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Passive Components
  4. ›Potentiometers and Trimmers

Component guide · Beginner · 3 min read

Potentiometers and Trimmers

Types, Wiring and Reading Them

By Geekobot Learning Team · Updated 24 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerTypes of potentiometerWiring: voltage divider vs variable resistor (rheostat)Read a potentiometer with Arduino or ESP32Linear vs logarithmic taperChoosing the valueUsing multi-turn trimmersTry itCommon mistakesFAQsParts and next steps
Short answer

A potentiometer is a three-terminal variable resistor: the outer pins connect across the full resistance and the middle pin (wiper) taps a point you set with the knob. Wire the outer pins to supply and ground and read the wiper with an analog pin to get a 0 to 100% control. 10 kΩ linear is the standard choice for microcontroller inputs; use a logarithmic (audio) taper for volume.

Key specs at a glance

Common values
1 kΩ, 5 kΩ, 10 kΩ, 50 kΩ, 100 kΩ
Taper
B = linear, A = logarithmic (audio)
Rotation
About 270° for rotary pots; 25 turns for 3296 trimmers
Power
Panel pots about 0.1 to 0.25 W; do not use as a motor speed control
Pins
1 and 3: track ends; 2: wiper
Module versions
Slide and rotary pots on breakout boards with VCC, GND, OUT
01

Types of potentiometer

TypeLooks likeUse
Rotary panel pot (16 mm)Shaft with knobVolume, brightness, user settings
Slide potLinear sliderMixers, faders, position input
Trimmer (single-turn)Small flat pot with a screw slotSet-and-forget adjustments on a PCB
Multi-turn trimmer (3296, 3386)Blue cube with a brass screwPrecise set points, e.g. on buck converters
Rotary encoderKnob that turns foreverMenus and digital control (not a pot, see the encoder guide)
Digital potentiometer (X9C103, MCP4131)ICSoftware-controlled resistance
Rotary panel pot (16 mm)
Looks like:
Shaft with knob
Use:
Volume, brightness, user settings
Slide pot
Looks like:
Linear slider
Use:
Mixers, faders, position input
Trimmer (single-turn)
Looks like:
Small flat pot with a screw slot
Use:
Set-and-forget adjustments on a PCB
Multi-turn trimmer (3296, 3386)
Looks like:
Blue cube with a brass screw
Use:
Precise set points, e.g. on buck converters
Rotary encoder
Looks like:
Knob that turns forever
Use:
Menus and digital control (not a pot, see the encoder guide)
Digital potentiometer (X9C103, MCP4131)
Looks like:
IC
Use:
Software-controlled resistance
02

Wiring: voltage divider vs variable resistor (rheostat)

As a divider (most common)

pin 1 to GND, pin 3 to VCC (5 V on an Uno, 3.3 V on ESP32/Pico), pin 2 (wiper) to an analog pin. Turning the knob sweeps the pin from 0 V to VCC.

As a variable resistor

use the wiper and one end only. Link the unused end to the wiper so the circuit still works if the wiper lifts. Use this for setting LED brightness through a transistor, timing in a 555 circuit or LCD contrast.

Caution

Never put a pot directly in series with a motor or lamp: the thin track cannot carry the current and will burn.

03

Read a potentiometer with Arduino or ESP32

Map a pot to LED brightness · Arduino C++Verify & upload in Electrolark
const int POT = A0;    // ESP32: GPIO 34, pot powered from 3.3 V
const int LED = 9;

void setup() { pinMode(LED, OUTPUT); Serial.begin(9600); }

void loop() {
  int raw = analogRead(POT);                 // 0 to 1023 (Uno), 0 to 4095 (ESP32)
  int level = map(raw, 0, 1023, 0, 255);     // use 4095 on ESP32
  analogWrite(LED, level);
  Serial.println(raw);
  delay(50);
}
04

Linear vs logarithmic taper

A linear (B) pot changes resistance evenly with rotation: halfway is half the value. A logarithmic (A) pot changes slowly at first and quickly at the end, matching how we hear loudness, so it is used for volume controls. For sensors and microcontroller inputs, always choose linear. The letter is printed on the body: B10K is 10 kΩ linear, A10K is logarithmic.

05

Choosing the value

For a microcontroller analog input, 10 kΩ is ideal: low enough to give a stable reading, high enough to waste almost nothing (0.5 mA at 5 V). The Arduino ADC prefers a source under 10 kΩ. For a 555 timer or RC circuit, pick the value from the timing formula. For LCD contrast, 10 kΩ. For audio volume, 10 kΩ to 50 kΩ log.

06

Using multi-turn trimmers

The 3296 trimmer needs about 25 turns end to end and clicks faintly at the limits, so it will not break if you keep turning. On buck converters, charger boards and sensor modules it sets the output voltage or threshold: adjust slowly while watching a multimeter.

07

Try it: Voltage divider calculator

Change the values and the diagram and results update as you type.

08

Common mistakes to avoid

  • !Wiring the wiper to VCC and the ends to the pin, so the reading barely changes.
  • !Using a logarithmic pot for a sensor input and getting a bunched-up range.
  • !Running motor or lamp current through a pot.
  • !Powering the pot from 5 V on a 3.3 V board.
  • !Reading a jittery value with long wires; add a 100 nF capacitor from the wiper to ground.
09

Frequently asked questions

How do I wire a potentiometer to an Arduino?

Outer pins to 5V and GND, middle pin to an analog input such as A0. analogRead() then returns 0 to 1023 as you turn the knob.

What is the difference between a potentiometer and a rheostat?

A rheostat uses two terminals as a variable resistor; a potentiometer uses all three as a voltage divider. The same part can do either, depending on how you wire it.

What does B10K mean on a potentiometer?

B means linear taper and 10K means 10 kΩ total resistance. A10K would be a 10 kΩ logarithmic (audio) pot.

Can I control a motor's speed with a potentiometer?

Not directly; the pot cannot carry the current. Read the pot with a microcontroller and drive the motor with PWM through a driver, or use a PWM speed controller module that includes a pot.

Why does my potentiometer reading jump around?

Noise on long wires or a worn track. Add a small capacitor at the wiper, average several readings, and replace pots that crackle.

Parts for this guide

  • 16mm Rotary Potentiometer (Linear)
    ₹14View
  • Multi-Turn Trimmer Potentiometer (3296 / 3386)
    ₹12View
  • 10kΩ Slide Potentiometer Module
    ₹110View
  • PWM DC Motor Speed Controller with Knob
    ₹297View
Shop Potentiometers & TrimmersShop Keypads & Touch

Calculators

Voltage divider calculatorADC resolution calculator

Terms in this guide

Voltage dividerTwo resistors in series that output a fixed fraction of the input voltage.ADCAnalog-to-digital converter: turns a voltage into a number. A 10-bit ADC gives 0 to 1023; a 12-bit ADC gives 0 to 4095.TaperHow a potentiometer's resistance changes with rotation: linear (B) changes evenly, logarithmic or audio (A) changes slowly at first and faster at the end.WiperThe moving middle contact of a potentiometer that picks off the variable voltage.RheostatA potentiometer wired with only two terminals so it acts as a variable resistor rather than a voltage divider.

Projects that use it

Put this into practice: 28 step-by-step builds in our project library use parts from this guide.

Beginner · 30 minutesControl a servo with a knobView projectIntermediate · 4–5 hoursFour-axis robotic arm with knob controlView projectIntermediate · 2 hoursNEMA 17 stepper speed and direction controlView project
Browse all 28 projects

Keep learning

Component guideBeginnerResistors ExplainedWhat resistors do, how to read 4- and 5-band colour codes and SMD codes, Ohm's law, power ratings, standard values and uses: LEDs, pull-ups, dividers.4 min read · Passive ComponentsConcept explainerBeginnerPWM ExplainedPWM (pulse-width modulation) switches a pin fully on and off very quickly; the share of time it is on, the duty cycle, sets the average power.3 min read · Electronics FundamentalsComponent guideBeginnerLEDs ExplainedAn LED (light-emitting diode) lights when current flows from its longer leg (anode, +) to its shorter leg (cathode, -).3 min read · Displays & LEDsComponent guideBeginner555 Timer ICThe 555 timer is an 8-pin IC that creates time delays and oscillations with just a resistor and capacitor.3 min read · Semiconductors & ICsHow-toBeginner16x2 LCD with I2CA 16x2 LCD shows two lines of 16 characters using the HD44780 controller.3 min read · Displays & LEDs

Sources

  • Bourns 3296 trimmer datasheet
  • Alpha 16 mm rotary potentiometer datasheet
  • Arduino analogRead() reference

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerTypes of potentiometerWiring: voltage divider vs variable resistor (rheostat)Read a potentiometer with Arduino or ESP32Linear vs logarithmic taperChoosing the valueUsing multi-turn trimmersTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹433

16mm Rotary Potentiometer (Linear) · Multi-Turn Trimmer Potentiometer (3296 / 3386) · 10kΩ Slide Potentiometer Module · PWM DC Motor Speed Controller with Knob

Run itChange the inputs and watch the output
LED brightness 35%
Serial monitor9600 baud
357

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question