• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Arduino Based Control LED Light Circuit with Potentiometer

Arduino Based Control LED Light Circuit with Potentiometer

Last updated on 30 October 2025 by Admin-Lavi Leave a Comment

Want to make an LED glow bright or dim just by turning a knob?

This simple Arduino Based Control LED Light Circuit with Potentiometer does that same thing.

Turn the knob to adjust the LED light from soft to full brightness.

It is a fun and easy way to learn how Arduino reads analog signals.

It also shows how PWM controls the LED light intensity.

Arduino Coding:

int potPin = A0;
int ledPin = 9;
int potValue = 0;
int ledValue = 0;

void setup() {
pinMode(ledPin, OUTPUT);
}

void loop() {
potValue = analogRead(potPin);
ledValue = map(potValue, 0, 1023, 0, 255);
analogWrite(ledPin, ledValue);
delay(10);
}

Coding Explanation:

  • PotPin read analog value from potentiometer between 0 and 1023.
  • Map function change this value to range 0 to 255.
  • AnalogWrite send PWM signal to LED pin 9.
  • When we turn potentiometer, voltage also change.
  • This change make LED bright or dim.

Circuit Working:

Arduino Based Control LED Light Circuit Diagram with Potentiometer

Parts List:

Component NameSpecificationQuantity
Resistors220Ω 1/4 watt1
Potentiometer 10k1
SemiconductorsArduino UNO Board1
LED any color1

When the potentiometer is rotated, its resistance changes.

This changes the voltage on analog pin A0.

Arduino reads this voltage and creates a PWM output.

PWM controls the average current through the LED.

So the LED becomes dim or bright.

How to Build:

To build a Arduino Based Control LED Light Circuit with Potentiometer follow the below collection steps:

  • Take all the parts as shown in circuit diagram above.
  • Connect the potentiometer middle pin to analog pin A0 of Arduino.
  • Connect the left pin of the potentiometer to 5V.
  • Connect the right pin of the potentiometer to GND.
  • Connect the LED positive leg (anode) to digital pin 9 through a 220 ohm resistor.
  • Connect the LED negative leg (cathode) to GND of Arduino.

Conclusion:

This Arduino Based Control LED Light Circuit with Potentiometer is a simple way to control LED brightness.

It helps to learn about analog input and PWM output in Arduino.

We can use this in small light dimmer projects or sensor control projects.

References:

LED brightness control with a potentiometer [duplicate]

Filed Under: Arduino Projects, LED and Lamps

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Push Button LED Circuit using Arduino
Next Post: Adjust LED Glow with Potentiometer Circuit »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • Alarm Circuits (35)
  • Amplifier Circuits (67)
  • Arduino Projects (63)
  • Audio Circuits (101)
  • Automobile Circuits (19)
  • Battery Charger Circuits (54)
  • Free Energy (13)
  • Heater and Temperature Controllers (10)
  • High Voltage (1)
  • Indicator Circuits (43)
  • Inverter Circuits (16)
  • LDR Circuits (19)
  • LED and Lamps (127)
  • Meters and Testers (30)
  • Motor Controllers (18)
  • Oscillator Circuits (35)
  • Power Supply Circuits (94)
  • Remote Control Circuits (7)
  • Security and Protection (26)
  • Sensors and Detectors (99)
  • Solar Circuits (23)
  • Timer Circuits (32)
  • Transistor Circuits (65)
  • Transmitter Circuit (14)
  • Tutorials (8)
  • Water Level Controller (4)

Recent Posts

  • Chirping Sound Buzzer Circuit
  • Make Sound with Arduino using Buzzer Circuit
  • Adjust LED Glow with Potentiometer Circuit
  • Arduino Based Control LED Light Circuit with Potentiometer
  • Push Button LED Circuit using Arduino

Recent Comments

  1. Henrik Arboe Jensen on Adjustable Voltage, Current Power Supply Circuit using Transistor 2N3055
  2. Admin-Lavi on FM Transmitter Circuit (100 meters range)
  3. DEVINDER SINGH on FM Transmitter Circuit (100 meters range)
  4. Admin-Lavi on Constant Voltage, Constant Current Battery Charger Circuit
  5. Bill on Constant Voltage, Constant Current Battery Charger Circuit

Copyright © 2025 | New Circuit Ideas