Dark Light
,

5mm Green LED – DIP Through-Hole


The 5mm Green LED is a compact, 2-pin DIP light-emitting diode featuring a green-tinted transparent lens. It is ideal for electronic status indicators, Arduino projects, robotics, breadboard experiments and DIY electronics circuits.

Key Features:

  • Standard 5mm green LED
  • Green-tinted transparent lens
  • 2-pin DIP through-hole design
  • Suitable for breadboard and PCB mounting
  • Low-power visual indication
  • Compatible with Arduino, ESP32 and other suitable electronic circuits
  • Ideal for status lights, traffic light models and educational projects

Note: Use a suitable current-limiting resistor to protect the LED from excessive current.

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

₹2.00 (incl. GST)

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

1. What Is a 5mm Green LED?

The 5mm Green LED is a compact electronic light-emitting diode designed to produce green illumination when an appropriate electrical current flows through it.

It features a standard 5mm round body, a green-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 Green LED is commonly used in Arduino projects, robotics, electronic status indicators, traffic light models and DIY electronics systems.

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

The 5mm Green LED is suitable for projects such as:

  • Arduino LED blinking circuits
  • Electronic power and status indicators
  • Traffic light demonstration models
  • Battery charging status indicator prototypes
  • Robotics indicator lights
  • Sensor-based visual notifications
  • Electronic control panels
  • Breadboard electronics experiments
  • Push-button-controlled lights
  • Miniature decorative lighting
  • Automatic streetlight demonstration models
  • STEM and engineering projects

3. Who Is It For?

The 5mm Green 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 Green 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 contains two terminals:

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

When the anode receives an appropriate positive voltage through a current-limiting resistor and the cathode is connected to the return path, the LED produces green light.

Working principle:

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

The LED can be switched using a push button, transistor or compatible microcontroller.

Unlike an automatic blinking LED, this standard green LED requires an external control circuit to create blinking effects.

5. Technical Specifications

Specification Details
Product Type Green Light Emitting Diode
LED Diameter 5mm
Illumination Colour Green
Lens Appearance Green-tinted transparent
Package Type DIP / Through-Hole
Number of Pins 2
Polarity Anode (+), Cathode (−)
Typical Forward Voltage Approximately 2.0–3.4V, depending on LED technology
Common Reference Test Current 20mA
Mounting Type Through-hole
Current Limiting External resistor required
Control Method DC current / switching
Applications Indicators, lighting and electronics projects

Important: Green LEDs may have different forward-voltage characteristics depending on their semiconductor technology. Standard green indicator LEDs commonly operate around 2.1V, while some pure-green LEDs operate closer to 3.0–3.4V.

The values above are reference specifications, not verified electrical ratings for this specific LED.

Operating Precautions

  • Always use a suitable current-limiting resistor.
  • Observe the correct LED polarity.
  • Do not connect the LED directly across a 5V power supply.
  • Do not exceed its specified forward current.
  • Use suitable driver circuitry when controlling multiple LEDs.

6. 5mm Green LED Pinout

The 5mm Green LED has 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 both leads have been trimmed to equal lengths, verify the polarity using a suitable multimeter or current-limited test circuit.

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

The 5mm Green LED can be controlled through an Arduino Uno digital output pin.

Required components:

  • 1 × 5mm Green 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 electrical current flowing through the LED.

For example, assuming a green LED forward voltage of 2.1V, a 330Ω resistor connected to a 5V output produces approximately 8.8mA of LED current.

This is a practical starting point for a basic Arduino LED demonstration.

8. Arduino Example Code

The following program makes the 5mm Green 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 digital pin D8 as an output.
  2. The HIGH signal turns the green LED ON.
  3. The LED remains illuminated for one second.
  4. The LOW signal turns the LED OFF.
  5. The program repeats continuously.

This beginner-friendly project helps students understand digital output control, LED polarity and basic Arduino programming.

9. Beginner Project: Push Button Controlled Green LED

Build a simple electronic status indicator using a 5mm Green LED and a tactile push button switch.

Components required:

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

Ensure the two button connections are on opposite switching contacts, not the same internally connected side.

Use Arduino’s internal pull-up resistor for the push button.

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 push button to illuminate the green LED.
  • Release the push button to turn the LED OFF.

This project teaches digital inputs, pull-up resistors, conditional programming and LED control.

10. Related Products

Complete your electronics project with:

11. Related Tutorials

Explore these electronics learning topics:

  • How to Connect a 5mm Green 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 Green LED to ESP32
  • Understanding Green LED Forward Voltage
  • How to Control LED Brightness Using PWM
  • Breadboard Basics for Beginners

12. Frequently Asked Questions

What is a 5mm Green LED?

A 5mm Green LED is a semiconductor light-emitting diode that produces green 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 Green LED have?

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

What is the typical forward voltage of a green LED?

The forward voltage depends on LED technology. Conventional green indicator LEDs may operate around 2.1V, while some pure-green LEDs require approximately 3.0–3.4V.

Can I connect a green LED directly to 5V?

No. Use a suitable current-limiting resistor or LED driver to prevent excessive current.

Which resistor should I use with Arduino Uno?

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

Can I use a 5mm Green LED with ESP32?

Yes. Use a suitable resistor and observe the ESP32 GPIO voltage and current limits. Some higher-forward-voltage green LEDs may illuminate weakly from a 3.3V output.

Can the green LED be connected to a breadboard?

Yes. Its through-hole terminals make it suitable for breadboard experiments and PCB assembly.

Can this LED be used as a status indicator?

Yes. Green LEDs are commonly used as visual indicators for power, readiness, activity and operating status in electronic circuits.

Can the green LED blink automatically?

No. This standard LED requires an external timing circuit or microcontroller to create blinking effects.

Can I adjust the brightness of the green LED?

Yes. A compatible microcontroller can use pulse-width modulation (PWM) to control its apparent brightness.

What is the difference between a green LED and an RGB LED?

A green LED produces green illumination, while an RGB LED combines red, green and blue channels for multicolour operation.

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 Green LED in Surat?

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

13. What Is Included?

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

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

14. Compatibility

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

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

Always use suitable current-limiting resistors and observe the electrical limits of the connected controller.

The LED is an individual electronic component and does not contain an integrated resistor or programmable controller.

15. Buy 5mm Green LED Online in India

Add green visual indication to your next electronics project with the 5mm Green LED from Yagobotix.

Featuring a compact 5mm body, two-pin DIP design and green illumination, this LED is suitable for electronic indicators, Arduino projects, robotics, traffic light models and educational electronics experiments.

Whether you are building your first breadboard circuit, creating a status indicator or developing a custom PCB, the 5mm Green LED is a useful component for your electronics collection.

Why Choose Yagobotix?

  • Individual LEDs and assorted LED 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 Green LED to your cart and start building your next electronics project with Yagobotix!

SKU: YGB-LED-5MM-GRN Categories: ,
Weight 5 g

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.

You may also like…

SHOPPING CART

close

Select at least 2 products
to compare