• 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 LED Dimmer Circuit using IR Remote

Arduino LED Dimmer Circuit using IR Remote

Last updated on 7 November 2025 by Admin-Lavi Leave a Comment

This project for Arduino LED Dimmer Circuit using IR Remote make simple LED look like smart light.

LED listens to IR remote.

IR receiver reads remote signal.

Arduino change LED brightness using PWM.

With Arduino and few parts, we can change brightness sitting on sofa.

It feel like small home-automation system.

This project is good for beginners.

It mixes small coding, simple electronics and fun remote tricks.

Arduino Coding:

#include <IRremote.h>

int RECV_PIN = 2;
int led = 9;
int brightness = 0;

IRrecv irrecv(RECV_PIN);
decode_results results;

void setup() {
pinMode(led, OUTPUT);
irrecv.enableIRIn();
}

void loop() {
if (irrecv.decode(&results)) {
long value = results.value;

if (value == 0xFFA857) {         
  brightness = brightness + 20;  
  if (brightness > 255) brightness = 255;
}

if (value == 0xFFE01F) {         
  brightness = brightness - 20;
  if (brightness < 0) brightness = 0;
}

analogWrite(led, brightness);
irrecv.resume();


}
}

Coding Explanation:

  • IRremote library reads IR signals.
  • Pin 2 is input from IR receiver.
  • Pin 9 gives PWM to LED.
  • Brightness variable stores LED level.
  • Two IR codes are used.
  • One code increases brightness.
  • One code decreases brightness.
  • Arduino writes PWM to LED using analogWrite.
  • PWM value changes LED brightness.

Circuit Working:

Arduino LED Dimmer Circuit  Diagram using IR Remote

Parts List:

Part NameSpecificationQuantity
Resistor220Ω 1/4 watt1
SemiconductorsArduino UNO board1
White LED1
TSOP4838 IR Receiver1

In the above diagram IR receiver takes remote signal.

Then the signal goes to Arduino digital pin.

Arduino then decodes it.

When the user presses a button the Arduino increases or decreases LED brightness.

LED brightness changes using PWM output pin.

And then LED becomes bright or dim slowly.

Formula with Calculation:

Below is the LED resistor value formula

R = (Vsource – Vled) / Iled

here,

  • Vsource is 5V
  • Vled is 2V
  • Iled is 0.015A

R = (5 – 2) / 0.015 = 200 ohms approx

We have used 220 ohm resistor for safety.

How to Build:

To build a Arduino LED Dimmer Circuit using IR Remote follow the below steps:

  • Take all the parts as shown in circuit diagram.
  • IR receiver VCC pin goes to Arduino 5V.
  • IR receiver GND pin goes to Arduino GND.
  • IR receiver OUT pin goes to Arduino digital pin 2.
  • LED anode (+) goes to Arduino pin 9 through a R1 resistor.
  • LED cathode (-) goes to Arduino GND.

Conclusion:

This is a simple Arduino LED Dimmer Circuit using IR Remote.

IR remote makes LED control wireless.

Circuit is easy and Code is also easy.

We can use same idea for lamps, strips or other small loads.

References:

Arduino LED dimmer with IR remote control

Datasheet TSOP4838 IC

Filed Under: Arduino Projects, LED and Lamps, Remote Control Circuits

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: « IR Transmitter and Receiver Circuit using 555 and 4017 IC
Next Post: Arduino IR Remote Control RGB LED Circuit »

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar




Categories

  • Alarm Circuits (45)
  • Amplifier Circuits (67)
  • Arduino Projects (99)
  • Audio Circuits (114)
  • Automobile Circuits (19)
  • Battery Charger Circuits (65)
  • Free Energy (13)
  • Heater and Temperature Controllers (13)
  • High Voltage (1)
  • Indicator Circuits (45)
  • Inverter Circuits (20)
  • IoT projects (1)
  • LDR Circuits (26)
  • LED and Lamps (148)
  • Meters and Testers (30)
  • Motor Controllers (22)
  • Oscillator Circuits (39)
  • Power Supply Circuits (104)
  • Remote Control Circuits (10)
  • Security and Protection (29)
  • Sensors and Detectors (126)
  • Solar Circuits (29)
  • Timer Circuits (41)
  • Transistor Circuits (87)
  • Transmitter Circuit (17)
  • Tutorials (8)
  • Water Level Controller (6)

Recent Posts

  • 12V Battery Low Voltage Alarm Circuit
  • Low Voltage Alert Circuit for 9V Battery
  • Digital Code Lock Circuit using IC 4017
  • Darkness Activated LED Circuit
  • Fan Start 10 Second Delay Timer Circuit

Recent Comments

  1. TDHofstetter on DIY Variable Power Supply Circuit using Arduino
  2. feathbuff on Simple Micro Ampere Meter Circuit
  3. Admin-Lavi on Simple School Project Multimeter Circuit
  4. choke on Simple School Project Multimeter Circuit
  5. Admin-Lavi on Analog to Digital Converter Circuit using IC 555

Copyright © 2026 | New Circuit Ideas