Dark Light

5mm White LED – DIP Through-Hole


The 5mm White LED is a compact, two-pin DIP light-emitting diode featuring a clear transparent lens and white illumination. It is ideal for electronic indicators, miniature lighting, breadboard experiments, Arduino projects and DIY electronics circuits.

Key Features:

  • 5mm white light-emitting diode
  • Clear, transparent round lens
  • 2-pin DIP through-hole design
  • Typical forward voltage: 3.0–3.4V
  • Suitable for breadboards and PCB mounting
  • Compatible with Arduino, ESP32 and other electronic circuits using appropriate current limiting
  • Ideal for indicator lights, robotics and educational projects

Note: A suitable current-limiting resistor is required.

Buy the 5mm White LED online from Yagobotix with shipping across India and same-day delivery or pickup available in Surat.

₹2.00 (incl. GST)

5mm White LED – DIP Through-Hole (2 Pin)

1. What Is a 5mm White LED?

The 5mm White LED is a compact light-emitting diode designed to produce white light when an appropriate electric current passes through it.

It features a clear, transparent 5mm round lens and two electrical terminals for easy integration into electronic circuits.

Its through-hole design makes it suitable for breadboard experiments, PCB assembly, miniature lighting, electronic indicators and DIY projects.

Unlike an RGB LED, which combines multiple colour channels, a standard white LED produces a fixed white illumination without requiring individual colour control.

2. What Can You Build With a 5mm White LED?

The 5mm White LED is suitable for various applications, including:

  • Electronic status indicators
  • Arduino LED blinking projects
  • Miniature lighting systems
  • Robotics headlights
  • Breadboard electronics experiments
  • Electronic control panel indicators
  • Model building and decorative lighting
  • Battery-powered indicator circuits
  • Sensor-based lighting projects
  • Automatic night light prototypes
  • School science and engineering projects
  • Custom PCB lighting circuits

3. Who Is It For?

The 5mm White 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 electronic polarity, current limiting, digital outputs and basic lighting circuits.

4. How Does a 5mm White LED Work?

A Light Emitting Diode (LED) is a semiconductor device that emits light when an appropriate electric current flows through it in the forward direction.

The LED contains two electrical terminals:

  • Anode (+): Positive terminal
  • Cathode (−): Negative terminal

When connected to a suitable power supply with correct polarity and a current-limiting resistor, the LED emits white light.

Working principle:

Power Supply → Current-Limiting Resistor → White LED → Light Output

Most conventional white LEDs generate white illumination using a blue LED chip and a phosphor conversion layer.

The resulting light is suitable for indicators and small-scale illumination projects.

5. Technical Specifications

Specification Details
Product Type White Light Emitting Diode
LED Diameter 5mm
Illumination Colour White
Lens Type Clear / Transparent
Package Type DIP / Through-Hole
Number of Pins 2
Polarity Anode (+), Cathode (−)
Typical Forward Voltage 3.0–3.4V
Typical Reference Current 20mA
Mounting Type Through-hole
Control Method DC current / switching
External Resistor Required
Applications Indicators, miniature lighting and electronics projects

The forward voltage and current figures are typical reference values for comparable 5mm white LEDs. The exact electrical limits depend on the manufacturer.

Important Operating Precautions

  • Use an appropriate current-limiting resistor.
  • Observe the correct LED polarity.
  • Do not connect the LED directly across a 5V supply.
  • Avoid exceeding the rated forward current.
  • Use a suitable LED driver when controlling multiple high-current LEDs.

6. 5mm White LED Pinout

The 5mm White LED features two electrical terminals.

Terminal Function
Anode (+) Positive terminal
Cathode (−) Negative terminal

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, identify the polarity using the flat edge, a suitable multimeter or a current-limited test circuit.

7. How to Connect a 5mm White LED to Arduino

The 5mm White LED can be controlled through a digital output pin on Arduino Uno.

Required components:

  • 1 × 5mm White 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

The resistor limits the current flowing through the LED.

For example, assuming a forward voltage of 3.2V, the current through a 330Ω resistor from a 5V output is approximately 5.5mA.

This is suitable for a basic LED indicator demonstration with a typical white LED.

Always use suitable current limiting instead of connecting the LED directly to a power supply.

8. Arduino Example Code

The following Arduino program makes the 5mm White 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:

  1. Arduino configures D8 as a digital output.
  2. The HIGH output turns the LED on.
  3. The LED remains illuminated for one second.
  4. The LOW output turns the LED off.
  5. The process repeats continuously.

This basic project helps beginners understand Arduino digital outputs, LED polarity and delay functions.

9. Beginner Project: Automatic Night Light Using an LDR Sensor

Build a simple automatic night light using the 5mm White LED and an LDR Light Sensor Module.

Components required:

  • 1 × 5mm White LED
  • 1 × Arduino Uno
  • 1 × LM393 LDR Light Sensor Module
  • 1 × 330Ω resistor
  • Breadboard
  • Jumper wires

Wiring connections:

Component Arduino Uno
LDR Sensor VCC 5V
LDR Sensor GND GND
LDR Sensor DO D2
White LED Anode D8 through a 330Ω resistor
White LED Cathode GND

Example Arduino code:

const int ldrPin = 2;
const int ledPin = 8;

// Change if the module uses opposite polarity.
const int darkState = HIGH;

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

void loop() {
  int lightCondition = digitalRead(ldrPin);

  if (lightCondition == darkState) {
    digitalWrite(ledPin, HIGH);
  } else {
    digitalWrite(ledPin, LOW);
  }

  delay(100);
}

Project operation:

  • When the environment becomes dark, the LED turns ON.
  • When the environment becomes bright, the LED turns OFF.
  • The LDR module’s potentiometer can be adjusted to set the switching threshold.

Verify the actual LDR module output polarity before testing.

This project teaches light detection, digital inputs, conditional programming and automatic lighting control.

10. Related Products

Complete your electronics project with:

11. Related Tutorials

Explore these electronics learning topics:

  • How to Connect a 5mm White LED to Arduino
  • How to Identify LED Anode and Cathode
  • How to Calculate an LED Current-Limiting Resistor
  • Arduino LED Blinking Tutorial
  • How to Build an Automatic Night Light
  • How to Control LED Brightness Using PWM
  • How to Connect an LED to ESP32
  • How to Use a Push Button to Control an LED
  • Understanding White LED Forward Voltage
  • Breadboard Basics for Beginners

12. Frequently Asked Questions

What is a 5mm White LED?

A 5mm White LED is a semiconductor light-emitting diode designed to produce white illumination for electronic circuits and lighting projects.

What is the diameter of this LED?

The LED has a nominal body diameter of 5mm.

How many pins does a 5mm White LED have?

It has two terminals: an anode (+) and a cathode (−).

What is the typical forward voltage of a 5mm White LED?

Comparable standard white LEDs typically have a forward voltage of approximately 3.0–3.4V, depending on the manufacturer and operating current.

Can I connect a white LED directly to 5V?

No. Use an appropriate current-limiting resistor or LED driver to prevent excessive current and possible LED damage.

Which resistor should I use with Arduino Uno?

A 330Ω resistor is a practical starting choice for a typical 5mm white LED connected to a 5V Arduino digital output.

Can I use this LED with ESP32?

Yes. Use a suitable resistor and ensure the LED and GPIO current requirements are satisfied. White LED brightness may be limited when driven from a 3.3V output.

Can the LED be installed on a breadboard?

Yes. Its through-hole leads are suitable for breadboards and PCB assembly.

What is the difference between a white LED and a yellow LED?

A white LED produces white illumination, while a yellow LED produces yellow light. Their forward voltage characteristics also typically differ.

Can I adjust the brightness of this LED?

Yes. A compatible microcontroller can use PWM to control the LED’s apparent brightness.

Does this LED have positive and negative terminals?

Yes. The anode is the positive terminal, and the cathode is the negative terminal.

Can I use this LED as a robot headlight?

Yes. It can be used for small-scale decorative headlights and indicator lighting in robotics projects. Its actual illumination performance depends on brightness and viewing angle.

Can this white LED be used for emergency lighting?

It can be used in educational emergency-light prototypes, but a single standard 5mm LED should not be represented as a certified emergency lighting device.

Where can I buy a 5mm White LED in Surat?

You can purchase the 5mm White LED online from Yagobotix with same-day delivery and pickup available in Surat.

13. What Is Included?

  • 1 × 5mm White LED – DIP Through-Hole

Resistors, microcontroller boards, breadboards, jumper wires and additional electronic components are not included.

14. Compatibility

The 5mm White LED can be used in suitable electronic circuits involving:

  • Arduino Uno
  • Arduino Nano
  • Arduino Mega
  • ESP32
  • ESP8266
  • Raspberry Pi GPIO
  • STM32 development boards
  • Breadboard experiments
  • Custom PCB designs
  • Battery-powered indicator circuits

Use appropriate current-limiting resistors or LED driver circuitry based on the supply voltage and LED specifications.

The LED is an individual electronic component and does not contain an integrated resistor or microcontroller interface.

15. Buy 5mm White LED Online in India

Add white illumination to your next electronics project with the 5mm White LED from Yagobotix.

Featuring a compact 5mm transparent lens, two-pin DIP design and simple electrical connection, this LED is suitable for indicator lights, Arduino projects, miniature lighting, robotics and educational electronics.

Whether you are building your first breadboard circuit, creating a miniature robot headlight or developing a custom PCB, the 5mm White LED is a practical electronic component.

Why Choose Yagobotix?

  • Electronic components for students, hobbyists and engineers
  • Shipping across India
  • Same-day delivery available in Surat
  • Same-day pickup available in Surat
  • Components for Arduino, ESP32 and robotics projects

Same-day services are subject to stock availability, delivery coverage and applicable order cut-off times.

Add the 5mm White LED to your cart and start building your next electronics project with Yagobotix!

SKU: YGB-LED-5MM-WHT Category:

Based on 0 reviews

0.0 overall
0
0
0
0
0

Only logged in customers who have purchased this product may leave a review.

There are no reviews yet.

SHOPPING CART

close

Select at least 2 products
to compare