Skip to content
Parallax Learn

Parallax Learn

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence
          • Cybersecurity: Radio Data tutorialCybersecurity
          • cyber:bot + Python
          • cyber:bot + MakeCode
          • Boe-Bot Tutorial SeriesBoe-Bot
          • Arduino Shield-Bot
          • ActivityBot with C TutorialsActivityBot + C
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot + BlocklyProp
          • Scribbler 3 Tutorial SeriesScribbler 3
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education
          • Propeller C-Language BasicsPropeller C Basics
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit + C
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit + BlocklyProp
          • Badge WX Tutorial SeriesBadge WX
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • MakeCode
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses
  • Breadboard Setup and Testing for micro:bit

Breadboard Setup and Testing for micro:bit

How the LED Circuit Works

About the LED

The term LED is an abbreviation for Light Emitting Diode.  When current flows through an LED, it emits light.  It glows more brightly with more current, and less brightly with less current.  That takes care of “light emitting”, now what is a diode? A diode is a one-way valve for electric current.  In other words, current can only flow through in one direction.  That’s why it’s important to make sure the longer pin is in (d, 16) and the shorter pin is in (f, 16).  If the pins are reversed, no current will flow, and the LED will not emit light.  The longer (+) pin is called the anode and the shorter one is the cathode.  

No longer pin? If an LEDs pins get cut to the same length, there’s a flat spot on the round plastic case next to the cathode pin to help identify it.

 

About the Resistor

A resistor “resists” the flow of current.  Resistance is measured in ohms and abbreviated with the greek letter omega (Ω).  Most resistors have color bands that indicate what their resistance values are.  More on that later. 

The 220 Ω resistor in this activity limits the current through the LED to about 5 mA, which is 5/1000 of an amp.  The maximum current for these LEDs is 20 mA.  Larger values of resistance will let less current flow, making the LED dimmer.  Likewise, smaller resistance values will let more current flow through, making the LED brighter.  
 

Resistors plug in either way. Unlike diodes, you won’t have to worry about what direction to connect a resistor.  Resistors resist current the same amount in either direction.

By connecting one end of the LED circuit to 3.3 V and the other end to GND (0 V), the electrical pressure propelling current (electron flow) through the LED circuit is 3.3 V.

 


Printer-friendly version
Check & Test the LED Circuit
Prev
Resistor Codes & Electron Flow
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2025 Parallax Learn • Built with GeneratePress