• 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 IR LED Transmitter Circuit

Arduino IR LED Transmitter Circuit

Last updated on 29 June 2026 by Admin-Lavi Leave a Comment

This project sends IR signals using Arduino and Arduino drives one IR LED; when we press button on serial monitor or code trigger, then IR LED sends coded light signal

Also, this Arduino IR LED Transmitter Circuit works like a small remote controller and circuit is easy and simple.

Arduino Code:

#include <IRremote.h>

int irPin = 3;
IRsend irsend;

int b1 = 6;
int b2 = 7;
int b3 = 8;

void setup() {
pinMode(b1, INPUT);
pinMode(b2, INPUT);
pinMode(b3, INPUT);
}

void loop() {

if (digitalRead(b1) == HIGH) {
irsend.sendNEC(0x00FF30CF, 32);
delay(400);
}

if (digitalRead(b2) == HIGH) {
irsend.sendNEC(0x00FF18E7, 32);
delay(400);
}

if (digitalRead(b3) == HIGH) {
irsend.sendNEC(0x00FF7A85, 32);
delay(400);
}
}

Coding Explanation:

  • Library IRremote needed for sending IR.
  • It handle the IR LED.
  • irPin is pin 3 for IR output.
  • Buttons come on pin 6, pin 7 and pin 8.
  • pinMode make them input pins.
  • Loop keep checking button press.
  • If button 1 is press, send code 00FF30CF.
  • If button 2 is press, send code 00FF18E7.
  • If button 3 is press, send code 00FF7A85.
  • All codes are 32 bit.
  • delay stop fast repeat.
  • IR LED blink with coded light.
  • Device receive it same like remote button.

Circuit Working:

Arduino IR LED Transmitter Circuit Diagram

Parts List:

ComponentsValuesQuantity
Resistors220Ω 1/4 watt4
SemiconductorsArduino UNO board1
Standard IR Transmitter LED1
Tactile push button switch3

Arduino pin gives digital signal and this signal goes through resistor and then resistor protects IR LED from high current.

Then IR LED flashes at fast speed and then this flash carries IR code, after that receiver device reads this code.

Here, the buttons act as simple input switches, then the Arduino reads the button presses and sends a different IR signal for each button.

Formulas with Calculation:

Below is the LED current formula:

I = V / R

If Arduino gives 5V then IR LED drop about 1.2V.

Voltage across resistor = 5 – 1.2 = 3.8V

Our circuit resistor is 220 ohm:

Current = 3.8 / 220 = 0.017A

Hence, current is about 17mA which is safe for IR LED.

How to Build:

To build a Arduino IR LED Transmitter Circuit follow the below steps for connection:

  • First, take all the parts as shown in circuit diagram.
  • Next, connect IR LED anode to R1 one resistor end and then connect R1 resistor other end to Arduino digital pin 3.
  • Also, connect IR LED cathode to GND.
  • Now each resistors R2 to R4 one end go to 5V and other end go to Arduino pins 6, 7 and 8.
  • Finally, each switch S1 to S3 one end go to resistors R2 to R4 and other end go to GND.

Conclusion:

To conclude, this circuit sends IR signals like a simple remote and buttons choose which code to send and then Arduino drives IR LED safely using resistor

Therefore, this Arduino IR LED Transmitter Circuit is small, cheap and useful for learning IR communication.

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

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: « Arduino IR Remote Control RGB LED Circuit
Next Post: Gas Alarm Circuit using MQ Sensor and Buzzer »

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar




Categories

  • 555 Timer Projects (137)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (88)
  • DIY Projects (435)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (241)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (390)
  • Motor Controllers (26)
  • Oscillator Circuits (70)
  • Power Supply Circuits (244)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (20)
  • Security and Protection (128)
  • Sensors and Detectors (236)
  • Solar Circuits (31)
  • Timer Circuits (63)
  • Transistor Circuits (178)
  • Transmitter Circuit (19)
  • Tutorials (33)
  • Voltage Regulator (55)
  • Water Level Controller (10)

Recent Posts

  • Low Current Controlled Battery Charger Circuit using LM723 IC
  • 741 Op-Amp Treble Booster Circuit
  • Simple Diode and Transistor Based Audio Limiter Circuit
  • Simple 500mW Speaker Driver Circuit
  • Easy DIY LM386 Audio Amplifier Circuit

Recent Comments

  1. Admin-Lavi on High Voltage Fence Charger Circuit
  2. etere on High Voltage Fence Charger Circuit
  3. Admin-Lavi on High Voltage Fence Charger Circuit
  4. egidio grzinic on High Voltage Fence Charger Circuit
  5. Logic OR Gate Circuit using Transistors - Circuit Ideas for You on Automatic Street Light Circuit using LDR

Copyright © 2026 | New Circuit Ideas