5mm Red LED – DIP Through-Hole (2 Pin)
1. What Is a 5mm Red LED?
The 5mm Red LED is a compact electronic light-emitting diode designed to produce red illumination when an appropriate electrical current flows through it.
It features a standard 5mm round body, a red-tinted transparent lens and two metal terminals for easy electrical connections.
Its through-hole design makes it suitable for breadboards, PCB assembly, indicator circuits and educational electronics projects.
The 5mm Red LED is commonly used in Arduino projects, robotics, warning indicators and DIY electronic systems.
2. What Can You Build With a 5mm Red LED?
The 5mm Red LED is suitable for projects such as:
- Arduino LED blinking circuits
- Electronic warning indicators
- Traffic light demonstration models
- Battery status indicators
- Robotics status lights
- Sensor-based alert indicators
- Electronic control panels
- Breadboard electronics experiments
- Push-button-controlled lights
- Miniature decorative lighting
- DIY electronic alarms
- STEM and engineering projects
3. Who Is It For?
The 5mm Red LED is suitable for:
- Beginners learning electronics
- School and college students
- Engineering students
- Arduino and ESP32 enthusiasts
- Robotics hobbyists
- PCB designers
- STEM educators and trainers
- DIY electronics makers
It is particularly useful for learning about diode polarity, current limiting, digital outputs and basic electronic circuits.
4. How Does a 5mm Red LED Work?
An LED (Light Emitting Diode) is a semiconductor component that emits light when electrical current flows through it in the forward direction.
The LED has two terminals:
- Anode (+): Positive terminal
- Cathode (−): Negative terminal
When the anode receives a suitable positive voltage through a current-limiting resistor and the cathode connects to the return path, the LED produces red light.
Working principle:
Power Supply → Current-Limiting Resistor → Red LED → Light Output
The LED can be controlled using a switch, transistor or compatible microcontroller.
Unlike a self-blinking LED, this standard red LED requires an external control circuit to create blinking effects.
5. Technical Specifications
| Specification | Details |
|---|---|
| Product Type | Red Light Emitting Diode |
| LED Diameter | 5mm |
| Illumination Colour | Red |
| Lens Appearance | Red-tinted transparent |
| Package Type | DIP / Through-Hole |
| Number of Pins | 2 |
| Polarity | Anode (+), Cathode (−) |
| Typical Forward Voltage | 1.8–2.2V |
| Common Reference Test Current | 20mA |
| Mounting Type | Through-hole |
| Current Limiting | External resistor required |
| Control Method | DC current / switching |
| Applications | Indicators, alarms and electronics projects |
The forward voltage and 20mA reference current are typical values for comparable red LEDs, not independently verified ratings for this particular batch.
Important Operating Precautions
- Use a suitable current-limiting resistor.
- Observe correct LED polarity.
- Do not connect the LED directly across a 5V supply.
- Do not exceed the LED’s actual rated current.
- Use appropriate driver circuitry when controlling multiple LEDs.
6. 5mm Red LED Pinout
The 5mm Red LED features two electrical terminals.
| Terminal | Function |
|---|---|
| Anode (+) | Positive connection |
| Cathode (−) | Negative connection |
How to identify the terminals:
- The longer lead is normally the anode (+).
- The shorter lead is normally the cathode (−).
- The flat edge on the LED body generally indicates the cathode.
If the leads have been trimmed, verify the polarity using a suitable multimeter or current-limited test circuit.
7. How to Connect a 5mm Red LED to Arduino
The 5mm Red LED can be controlled through an Arduino Uno digital output pin.
Required components:
- 1 × 5mm Red LED
- 1 × Arduino Uno
- 1 × 330Ω resistor
- Breadboard
- Jumper wires
Wiring connections:
| Component | Arduino Uno |
|---|---|
| Digital Pin D8 | 330Ω resistor |
| Other end of resistor | LED Anode (+) |
| LED Cathode (−) | GND |
A resistor limits the current flowing through the LED.
For example, assuming a red LED forward voltage of 2.0V, a 330Ω resistor connected to a 5V output gives approximately 9.1mA.
This is a practical starting point for a basic Arduino LED demonstration.
8. Arduino Example Code
The following Arduino program makes the 5mm Red LED blink continuously.
const int ledPin = 8;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
How the program works:
- Arduino configures D8 as an output.
- The HIGH signal turns the LED ON.
- The LED remains illuminated for one second.
- The LOW signal turns the LED OFF.
- The program repeats continuously.
This beginner-friendly project teaches digital output control, LED polarity and Arduino programming.
9. Beginner Project: Push Button Controlled Red LED
Build a simple electronic indicator using a 5mm Red LED and a tactile push button switch.
Components required:
- 1 × 5mm Red LED
- 1 × Arduino Uno
- 1 × 6x6x5mm Tactile Push Button Switch
- 1 × 330Ω resistor
- Breadboard
- Jumper wires
Wiring connections:
- LED anode → Arduino D8 through a 330Ω resistor
- LED cathode → Arduino GND
- Push button terminal → Arduino D2
- Opposite push button terminal → Arduino GND
Use the Arduino’s internal pull-up resistor for the button input.
Example Arduino code:
const int buttonPin = 2;
const int ledPin = 8;
void setup() {
pinMode(buttonPin, INPUT_PULLUP);
pinMode(ledPin, OUTPUT);
}
void loop() {
int buttonState = digitalRead(buttonPin);
if (buttonState == LOW) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
}
Project operation:
- Press the button to illuminate the red LED.
- Release the button to turn the LED off.
This project teaches digital inputs, internal pull-up resistors, conditional programming and LED control.
10. Related Products
Complete your electronics project with:
- Arduino Uno R3 Compatible Programmable Board
- ESP32 Development Board
- 5mm Yellow LED
- 5mm White LED
- 5mm LED Assorted Pack of 5
- 5mm RGB LED – Common Cathode
- 5mm RGB LED – Common Anode
- RGB LED Module
- 6x6x5mm Tactile Push Button Switch
- LM393 LDR Light Sensor Module
- Flame Sensor Module
- 330Ω Resistor
- Breadboard
- Jumper Wires
11. Related Tutorials
Explore these electronics learning topics:
- How to Connect a 5mm Red LED to Arduino
- Arduino LED Blinking Tutorial
- How to Identify LED Anode and Cathode
- How to Calculate LED Current-Limiting Resistors
- How to Build a Push Button LED Circuit
- How to Build a Traffic Light Using Arduino
- How to Connect a Red LED to ESP32
- Understanding Red LED Forward Voltage
- Breadboard Basics for Beginners
12. Frequently Asked Questions
What is a 5mm Red LED?
A 5mm Red LED is a semiconductor light-emitting diode that produces red light when an appropriate forward current passes through it.
What is the diameter of this LED?
The LED has a nominal body diameter of 5mm.
How many pins does a 5mm Red LED have?
It has two terminals: an anode (+) and a cathode (−).
What is the typical forward voltage of a red LED?
Comparable standard red LEDs commonly have a forward voltage around 1.8–2.2V, depending on the component and operating current.
Can I connect a red LED directly to 5V?
No. Use a suitable current-limiting resistor or LED driver.
Which resistor should I use with Arduino Uno?
A 330Ω resistor is a practical starting choice for a typical red LED connected to a 5V Arduino digital output.
Can I use a 5mm Red LED with ESP32?
Yes. Use an appropriate current-limiting resistor and keep the GPIO current within the controller’s limits.
Can the red LED be connected to a breadboard?
Yes. Its through-hole leads make it suitable for breadboard experiments and PCB assembly.
Can this LED be used as a warning indicator?
Yes. Red LEDs are frequently used as visual warning and status indicators in electronic circuits.
Can the LED blink automatically?
This standard LED does not blink on its own. It requires an external timing circuit or microcontroller.
Can I control the brightness of the LED?
Yes. Suitable PWM control can adjust the LED’s apparent brightness.
What is the difference between a red LED and an RGB LED?
A red LED produces red illumination, while an RGB LED combines red, green and blue channels to produce multiple colours.
Is this LED included in the 5mm LED Assorted Pack?
Yes. Yagobotix also offers a five-colour assorted LED pack containing one red, green, blue, yellow and white LED.
Where can I buy a 5mm Red LED in Surat?
You can buy the 5mm Red LED online from Yagobotix with same-day delivery and pickup available in Surat.
13. What Is Included?
- 1 × 5mm Red LED – DIP Through-Hole
Resistors, microcontroller boards, breadboards and jumper wires are not included.
14. Compatibility
The 5mm Red LED can be used in suitable electronics circuits involving:
- Arduino Uno
- Arduino Nano
- Arduino Mega
- ESP32
- ESP8266
- Raspberry Pi GPIO
- STM32 development boards
- Breadboard circuits
- Custom PCB designs
- Battery-powered electronic circuits
Always use suitable current-limiting resistors and observe the voltage and current limits of the controller.
15. Buy 5mm Red LED Online in India
Add red visual indication to your next electronics project with the 5mm Red LED from Yagobotix.
Featuring a compact 5mm body, two-pin DIP design and red illumination, this LED is suitable for electronic indicators, Arduino projects, robotics, traffic light models and educational experiments.
Whether you are building your first breadboard circuit or assembling a custom PCB, the 5mm Red LED is a useful component for your electronics collection.
Why Choose Yagobotix?
- Individual LEDs and assorted colour packs available
- Electronic components for students, hobbyists and engineers
- Shipping across India
- Same-day delivery available in Surat
- Same-day pickup available in Surat
Same-day services are subject to stock availability, delivery coverage and applicable order cut-off times.
Add the 5mm Red LED to your cart and start building your next electronics project with Yagobotix!






There are no reviews yet.