Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use LED: Two Pin (yellow): Examples, Pinouts, and Specs

Image of LED: Two Pin (yellow)
Cirkit Designer LogoDesign with LED: Two Pin (yellow) in Cirkit Designer

Introduction

A yellow LED (Light-Emitting Diode) with two pins is a semiconductor light source that emits yellow light when an electric current passes through it. LEDs are widely used in various applications due to their low power consumption, long life, and compact size. Yellow LEDs are commonly used for indicators, decorative lighting, and in electronic devices to convey status or alerts.

Explore Projects Built with LED: Two Pin (yellow)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
LED Array with Inductive Power Transfer
Image of Wind Mill: A project utilizing LED: Two Pin (yellow) in a practical application
The circuit consists of multiple red two-pin LEDs connected in parallel, with all cathodes tied together and all anodes tied together. A copper coil is also connected in parallel with the LEDs. There is no control circuitry or power regulation components indicated, and no embedded code provided, suggesting this is a simple illumination circuit possibly intended for inductive power transfer given the presence of the copper coil.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled LED Indicator using ESP8266 NodeMCU
Image of esp8266 pin : A project utilizing LED: Two Pin (yellow) in a practical application
This circuit uses an ESP8266 NodeMCU microcontroller to control two LEDs, one green and one yellow. The green LED is connected to pin D1, and the yellow LED is connected to pin D2, with both LEDs sharing a common ground with the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Simple LED Circuit with Current-Limiting Resistors
Image of 모스시: A project utilizing LED: Two Pin (yellow) in a practical application
The circuit consists of two independent sections, each containing a red LED in series with a 220-ohm resistor. The purpose of this circuit is likely for simple indication, with the resistors serving to limit the current through the LEDs to prevent damage.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B Controlled Multi-Color LED Indicator
Image of iot 1: A project utilizing LED: Two Pin (yellow) in a practical application
The circuit features a Raspberry Pi 4B microcontroller used to independently control three LEDs (green, red, and yellow) through GPIO pins, with each LED having a series resistor for current limiting. The common cathode configuration for the LEDs allows for simple on/off control signaling or status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with LED: Two Pin (yellow)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Wind Mill: A project utilizing LED: Two Pin (yellow) in a practical application
LED Array with Inductive Power Transfer
The circuit consists of multiple red two-pin LEDs connected in parallel, with all cathodes tied together and all anodes tied together. A copper coil is also connected in parallel with the LEDs. There is no control circuitry or power regulation components indicated, and no embedded code provided, suggesting this is a simple illumination circuit possibly intended for inductive power transfer given the presence of the copper coil.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of esp8266 pin : A project utilizing LED: Two Pin (yellow) in a practical application
Wi-Fi Controlled LED Indicator using ESP8266 NodeMCU
This circuit uses an ESP8266 NodeMCU microcontroller to control two LEDs, one green and one yellow. The green LED is connected to pin D1, and the yellow LED is connected to pin D2, with both LEDs sharing a common ground with the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 모스시: A project utilizing LED: Two Pin (yellow) in a practical application
Simple LED Circuit with Current-Limiting Resistors
The circuit consists of two independent sections, each containing a red LED in series with a 220-ohm resistor. The purpose of this circuit is likely for simple indication, with the resistors serving to limit the current through the LEDs to prevent damage.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of iot 1: A project utilizing LED: Two Pin (yellow) in a practical application
Raspberry Pi 4B Controlled Multi-Color LED Indicator
The circuit features a Raspberry Pi 4B microcontroller used to independently control three LEDs (green, red, and yellow) through GPIO pins, with each LED having a series resistor for current limiting. The common cathode configuration for the LEDs allows for simple on/off control signaling or status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

  • Forward Voltage (Vf): Typically 2.0V to 2.2V
  • Forward Current (If): Recommended 20mA (max. 30mA)
  • Luminous Intensity: Dependent on current and manufacturer, typically around 2-20 mcd (millicandela)
  • Wavelength: Approximately 585 to 595 nm (nanometers)
  • Viewing Angle: Typically between 30° to 60°

Pin Configuration and Descriptions

Pin Number Name Description
1 Anode (+) The longer pin, to be connected to the positive supply voltage.
2 Cathode (-) The shorter pin, to be connected to the ground (0V).

Usage Instructions

How to Use the LED in a Circuit

  1. Identify the Pins: Determine the anode and cathode of the LED. The longer leg is the anode, and the shorter leg is the cathode.
  2. Current Limiting Resistor: To prevent damage to the LED, use a current-limiting resistor in series with the anode or cathode.
    • Calculate the resistor value using Ohm's law: R = (Vs - Vf) / If, where Vs is the supply voltage.
  3. Circuit Connection: Connect the anode to the positive voltage through the resistor, and the cathode to the ground.
  4. Power Supply: Ensure that the power supply does not exceed the recommended forward voltage and current.

Important Considerations and Best Practices

  • Resistor Calculation: Always calculate the current-limiting resistor value to prevent exceeding the maximum forward current.
  • Polarity: Connecting the LED in reverse polarity will prevent it from lighting and can cause damage if reverse voltage exceeds the maximum rating.
  • Heat Dissipation: For high-brightness applications, consider heat dissipation methods to prolong the LED's life.

Example Circuit with Arduino UNO

// Define the LED pin
const int ledPin = 13; // Most Arduino UNO boards have an onboard LED on pin 13

void setup() {
  pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}

void loop() {
  digitalWrite(ledPin, HIGH); // Turn the LED on
  delay(1000);                // Wait for a second
  digitalWrite(ledPin, LOW);  // Turn the LED off
  delay(1000);                // Wait for a second
}

Troubleshooting and FAQs

Common Issues

  • LED Not Lighting Up: Check the polarity of the LED and ensure the current-limiting resistor is correctly calculated and placed.
  • LED Burnt Out: This usually occurs due to excessive current. Verify that the current-limiting resistor is appropriate for the supply voltage.
  • Dim LED: If the LED is dimmer than expected, check if the supply voltage is too low or if the current-limiting resistor value is too high.

Solutions and Tips

  • Polarity Check: Use a multimeter to check the continuity of the LED pins to ensure correct polarity.
  • Resistor Value: Double-check the resistor value calculation and ensure it is suitable for the LED's forward voltage and desired forward current.
  • Supply Voltage: Verify that the supply voltage is within the recommended range for the LED.

FAQs

Q: Can I connect multiple LEDs in series? A: Yes, but ensure that the supply voltage is high enough to account for the sum of the forward voltages of all LEDs, and use a single current-limiting resistor for the series circuit.

Q: What happens if I don't use a resistor with the LED? A: Without a resistor, the LED may draw excessive current, leading to overheating and potential failure.

Q: Can I use a variable resistor to adjust the LED brightness? A: Yes, a potentiometer can be used to vary the resistance and, consequently, the LED brightness. However, do not exceed the maximum forward current.