---
title: What is an LED?
description: LEDs are found in a wide variety of electronics projects. But what are they and how do they work? Find out more here.
image: https://blog.sparkfuneducation.com/hubfs/EDU/BLOG%20Images/November%202017/LED%20Diagram.jpg
---

[![Sparkfun](https://www.sparkfuneducation.com/img/logo.png)](https://www.sparkfuneducation.com/index.html)

- [SparkFun Webstore](https://www.sparkfuneducation.com)
- [Higher Ed](https://sparkfuneducation.com/higher-ed/index.html)
- [Contact Us](https://www.sparkfuneducation.com/contact-us.html)
- [Follow Us](https://twitter.com/SparkFunEDU)

- [Home](https://www.sparkfuneducation.com)
- [Blog](https://blog.sparkfuneducation.com)
- [Curriculum](https://www.sparkfuneducation.com/curriculum.html)
- [PD/Events](https://www.sparkfuneducation.com/professional-dev.html)
- [KITS/Materials](https://www.sparkfuneducation.com/materials.html)
- [Educator Stories](https://www.sparkfuneducation.com/educator-stories.html)
- [Activities](https://activities.sparkfuneducation.com)

[Blog Home](https://blog.sparkfuneducation.com/) / [getting started](https://blog.sparkfuneducation.com/topic/getting-started) / What is an LED?

<https://blog.sparkfuneducation.com/rss.xml>

# What is an LED?

BY [Megan Hemmings](https://blog.sparkfuneducation.com/author/megan-hemmings) 11/21/17 6:30 AM

[0](https://blog.sparkfuneducation.com/what-is-an-led#comments-listing)

[getting started](https://blog.sparkfuneducation.com/topic/getting-started), [helpful information](https://blog.sparkfuneducation.com/topic/helpful-information), [What is a](https://blog.sparkfuneducation.com/topic/what-is-a)

![](https://blog.sparkfuneducation.com/hubfs/EDU/BLOG%20Images/Feb%202017/Cool%20Hemmings.jpg)

It seems that everything these days has an [LED](https://sparkfuneducation.com/products/led.html) in it. But what are LEDs, and why are they so popular? Let’s take a look.

LEDs, or light-emitting diodes, are a particular type of diode that converts electrical energy into light. Essentially, they are tiny light bulbs that can be used in an electrical circuit. Two of the many benefits LEDs have over traditional light bulbs are that they require a lot less power to light up and are more energy efficient, meaning they turn more of the energy that passes through them into light and less into heat.

## How Do LEDs Work?

If you’ve ever looked at an LED, you may have noticed that the “leads,” or legs, are two different lengths. The longer leg is the positive side of the LED, called the “anode,” and the shorter leg is the negative side, called the “cathode.”

![LED Diagram](https://blog.sparkfuneducation.com/hs-fs/hubfs/EDU/BLOG%20Images/November%202017/LED%20Diagram.jpg?width=365&name=LED%20Diagram.jpg "LED Diagram")

Within an LED, current can only flow from the anode (positive side) to the cathode (negative side) and never in the opposite direction. This means that if put into a circuit backward, an LED will not light up. In fact, a backward LED can prevent an entire circuit from operating properly by blocking the current flow past that point. The first thing you should try if an LED doesn’t light up when placed in a circuit is flipping it around.

## Let There Be Light

The brightness of an LED is directly dependent on how much current it draws. This means that super bright LEDs will drain batteries much quicker than dimmer LEDs. Luckily, it is possible to control the brightness of an LED by controlling how much current passes through it. In fact, controlling the current through an LED is important for a few reasons.

When connected directly to a current source, an LED will try to dissipate as much power as it is allowed to draw. When there is too much current available for the LED to handle, the LED will burn itself out and die. For this reason, it is important to limit the amount of current flowing through an LED.

## Resist the Power

To control the amount of power flowing through an LED, resistors are crucial. Resistors limit the flow of electrons in the circuit and prevent the LED from trying to draw too much current. We will dive deeper into resistors in another post, but for now the important thing to know is that the basic template for an LED circuit includes connecting a power source, resistor and LED in series, as shown below.

![LED circuit](https://blog.sparkfuneducation.com/hs-fs/hubfs/EDU/BLOG%20Images/November%202017/LED%20circuit.png?width=429&name=LED%20circuit.png "LED circuit")

Some basic math can be used to determine the best resistor value, but for the purpose of this discussion, and for most LEDs, 330 ohm is a good place to start. As such, here is a handy flowchart to help you design an LED circuit and select the proper resistor value using trial and error.

![LED flowchart](https://blog.sparkfuneducation.com/hs-fs/hubfs/EDU/BLOG%20Images/November%202017/LED%20flowchart.png?width=578&name=LED%20flowchart.png "LED flowchart")

## The Most Basic Circuit

![LED and battery circuit](https://blog.sparkfuneducation.com/hs-fs/hubfs/EDU/BLOG%20Images/November%202017/LED%20and%20battery%20circuit.png?width=137&name=LED%20and%20battery%20circuit.png "LED and battery circuit")

The simplest way to light up an LED is to connect it to a coin cell battery. This method works without a resistor because coin cell batteries don’t source enough power to damage the LED. This is a great way to demonstrate the importance of placing the LED the correct way within the circuit — if it’s backward, the LED won’t light up. Simply place the long end of the LED (the positive side) against the “+” side of the battery and place the short end of the LED (the negative side) against the “-” side of the battery, and your LED will light up.

To learn more about LEDs, check out our [Light-Emitting Diode tutorial](https://learn.sparkfun.com/tutorials/light-emitting-diodes-leds?_ga=2.82483030.1531735292.1509375561-1325725952.1470332287#types-of-leds).

[![View LED Tutorial](https://no-cache.hubspot.com/cta/default/2224003/40fc0653-1699-4d87-8994-2a2cda871896.png)](https://cta-redirect.hubspot.com/cta/redirect/2224003/40fc0653-1699-4d87-8994-2a2cda871896)

Interested in learning how LEDs are made? We had the chance to tour an LED factory a few years ago.

[![Learn How LEDs are Made](https://no-cache.hubspot.com/cta/default/2224003/1a0cfd93-8b60-4bdb-bd58-add2d0806453.png)](https://cta-redirect.hubspot.com/cta/redirect/2224003/1a0cfd93-8b60-4bdb-bd58-add2d0806453)

- [Tweet](https://twitter.com/share)

### Subscribe to SparkFun Education Blog

### Topics

- [helpful information (79)](https://blog.sparkfuneducation.com/topic/helpful-information)
- [Maker Education (60)](https://blog.sparkfuneducation.com/topic/maker-education)
- [teaching tools (55)](https://blog.sparkfuneducation.com/topic/teaching-tools)
- [getting started (54)](https://blog.sparkfuneducation.com/topic/getting-started)
- [Guest Post (44)](https://blog.sparkfuneducation.com/topic/guest-post)
- [computer science (40)](https://blog.sparkfuneducation.com/topic/computer-science)
- [micro:bit (38)](https://blog.sparkfuneducation.com/topic/microbit)
- [student projects (37)](https://blog.sparkfuneducation.com/topic/student-projects)
- [STEM (36)](https://blog.sparkfuneducation.com/topic/stem)
- [programming (34)](https://blog.sparkfuneducation.com/topic/programming)
- [STEAM (31)](https://blog.sparkfuneducation.com/topic/steam)
- [Events (28)](https://blog.sparkfuneducation.com/topic/events)
- [Arduino (25)](https://blog.sparkfuneducation.com/topic/arduino)
- [robotics (20)](https://blog.sparkfuneducation.com/topic/robotics)
- [e-textiles (18)](https://blog.sparkfuneducation.com/topic/e-textiles)
- [Professional Development (17)](https://blog.sparkfuneducation.com/topic/professional-development)
- [basic circuits (17)](https://blog.sparkfuneducation.com/topic/basic-circuits)
- [What is a (16)](https://blog.sparkfuneducation.com/topic/what-is-a)
- [announcement (16)](https://blog.sparkfuneducation.com/topic/announcement)
- [makerspace (15)](https://blog.sparkfuneducation.com/topic/makerspace)
- [Community Partnership Program (14)](https://blog.sparkfuneducation.com/topic/community-partnership-program)
- [Training (13)](https://blog.sparkfuneducation.com/topic/training)
- [raspberry pi (13)](https://blog.sparkfuneducation.com/topic/raspberry-pi)
- [python (11)](https://blog.sparkfuneducation.com/topic/python)
- [AVC (10)](https://blog.sparkfuneducation.com/topic/avc)
- [paper circuits (10)](https://blog.sparkfuneducation.com/topic/paper-circuits)
- [Makey Makey (8)](https://blog.sparkfuneducation.com/topic/makey-makey)
- [SIK (8)](https://blog.sparkfuneducation.com/topic/sik)
- [Adventures in Science (7)](https://blog.sparkfuneducation.com/topic/adventures-in-science)
- [microcontroller (7)](https://blog.sparkfuneducation.com/topic/microcontroller)
- [Internet of Things (5)](https://blog.sparkfuneducation.com/topic/internet-of-things)
- [Processing (4)](https://blog.sparkfuneducation.com/topic/processing)
- [Javascript (3)](https://blog.sparkfuneducation.com/topic/javascript)
- [LilyPad (3)](https://blog.sparkfuneducation.com/topic/lilypad)
- [funding (3)](https://blog.sparkfuneducation.com/topic/funding)
- [weather (3)](https://blog.sparkfuneducation.com/topic/weather)
- [Insider (1)](https://blog.sparkfuneducation.com/topic/insider)
- [Johnny-five (1)](https://blog.sparkfuneducation.com/topic/johnny-five)

All Tags

### Recent Authors

- [Megan Hemmings (79)](https://blog.sparkfuneducation.com/author/megan-hemmings)
- [Maya Kleinbort (22)](https://blog.sparkfuneducation.com/author/maya-kleinbort)
- [Derek Runberg (21)](https://blog.sparkfuneducation.com/author/derek-runberg)
- [Shane Diller (16)](https://blog.sparkfuneducation.com/author/shane-diller)
- [Jeff Branson (15)](https://blog.sparkfuneducation.com/author/jeff-branson)
- [Angela Sheehan (12)](https://blog.sparkfuneducation.com/author/angela-sheehan)
- [Melissa Felderman (9)](https://blog.sparkfuneducation.com/author/melissa-felderman)
- [Megan Arnold (8)](https://blog.sparkfuneducation.com/author/megan-arnold)
- [Brian Huang (6)](https://blog.sparkfuneducation.com/author/brian-huang)
- [Shawn Hymel (6)](https://blog.sparkfuneducation.com/author/shawn-hymel)
- [Shelby Landsman (6)](https://blog.sparkfuneducation.com/author/shelby-landsman)
- [Jahnell Pereira (5)](https://blog.sparkfuneducation.com/author/jahnell-pereira)
- [Hailey Blessing (5)](https://blog.sparkfuneducation.com/author/hailey-blessing)
- [Mike Grusin (3)](https://blog.sparkfuneducation.com/author/mike-grusin)
- [Peter Hanson (3)](https://blog.sparkfuneducation.com/author/peter-hanson)
- [Andrew Milne (3)](https://blog.sparkfuneducation.com/author/andrew-milne)
- [Toni Klopfenstein (2)](https://blog.sparkfuneducation.com/author/toni-klopfenstein)
- [Joanna Drusin (1)](https://blog.sparkfuneducation.com/author/joanna-drusin)
- [Joe Romano (1)](https://blog.sparkfuneducation.com/author/joe-romano)
- [Mrinali P. Kesavadas (1)](https://blog.sparkfuneducation.com/author/mrinali-p-kesavadas)
- [Christa Flores (1)](https://blog.sparkfuneducation.com/author/christa-flores)
- [Michelle Shorter (1)](https://blog.sparkfuneducation.com/author/michelle-shorter)
- [Colleen Graves (1)](https://blog.sparkfuneducation.com/author/colleen-graves)
- [Janelle Curtis (1)](https://blog.sparkfuneducation.com/author/janelle-curtis)
- [Eric Bogatin (1)](https://blog.sparkfuneducation.com/author/eric-bogatin)
- [Athena Zhang Baker (1)](https://blog.sparkfuneducation.com/author/athena-zhang-baker)
- [Janice Levenhagen (1)](https://blog.sparkfuneducation.com/author/janice-levenhagen)
- [Carol Hamilton (1)](https://blog.sparkfuneducation.com/author/carol-hamilton)
- [Vanessa Lail (1)](https://blog.sparkfuneducation.com/author/vanessa-lail)
- [Bobby Chan (1)](https://blog.sparkfuneducation.com/author/bobby-chan)
- [Glenn Samala (1)](https://blog.sparkfuneducation.com/author/glenn-samala)
- [Zack Weaver (1)](https://blog.sparkfuneducation.com/author/zack-weaver)
- [Dr. Jean-Sébastien Blouin (1)](https://blog.sparkfuneducation.com/author/dr-jean-sébastien-blouin)
- [Daphne Sipes (1)](https://blog.sparkfuneducation.com/author/daphne-sipes)
- [Axel Reitzig (1)](https://blog.sparkfuneducation.com/author/axel-reitzig)
- [Justin Weisz (1)](https://blog.sparkfuneducation.com/author/justin-weisz)
- [Kylie Peppler (1)](https://blog.sparkfuneducation.com/author/kylie-peppler)
- [Michael Megliola (1)](https://blog.sparkfuneducation.com/author/michael-megliola)
- [Casey Kuhns (1)](https://blog.sparkfuneducation.com/author/casey-kuhns)
- [Rebecca Grabman (1)](https://blog.sparkfuneducation.com/author/rebecca-grabman)
- [Sylvia Martinez (1)](https://blog.sparkfuneducation.com/author/sylvia-martinez)
- [Charles Randolph (1)](https://blog.sparkfuneducation.com/author/charles-randolph)
- [Ira Sather-Olson (1)](https://blog.sparkfuneducation.com/author/ira-sather-olson)
- [Kathy Strickland (1)](https://blog.sparkfuneducation.com/author/kathy-strickland)
- [Pete Lewis (1)](https://blog.sparkfuneducation.com/author/pete-lewis)
- [Jamie Roth (1)](https://blog.sparkfuneducation.com/author/jamie-roth)
- [Mimi Tran Zambetti (1)](https://blog.sparkfuneducation.com/author/mimi-tran-zambetti)
- [Ryan Jenkins (1)](https://blog.sparkfuneducation.com/author/ryan-jenkins)
- [Kristen Deuschle (1)](https://blog.sparkfuneducation.com/author/kristen-deuschle)
- [Erika Myers (1)](https://blog.sparkfuneducation.com/author/erika-myers)
- [Sara Gonzalez (1)](https://blog.sparkfuneducation.com/author/sara-gonzalez)
- [Celeste Moreno (1)](https://blog.sparkfuneducation.com/author/celeste-moreno)
- [Samantha Nagle (1)](https://blog.sparkfuneducation.com/author/samantha-nagle)
- [Pearce Melcher (1)](https://blog.sparkfuneducation.com/author/pearce-melcher)

All Authors

### Recent Posts

### Submit Your Idea

[![SparkFun Education](https://www.sparkfuneducation.com/img/logo.png)](http://www.sparkfuneducation.com/index.html)

#### Other Resources

- [Contact Us](http://www.sparkfuneducation.com/contact-us.html)
- [About SparkFun](http://www.sparkfun.com)
- [FAQs](https://www.sparkfun.com/static/faq)

- [Customer Service](https://www.sparkfun.com/support)
- [Shipping](https://www.sparkfun.com/support)
- [Terms and Conditions](https://www.sparkfun.com/terms)

#### Sign Up for Newsletter

© Copyright 2016. All Rights Reserved.