Skip to content
Free IDE

← Components

5 mm LED

Light-emitting diode. It only lights up when current flows the right way: the long leg (anode, +) goes to the positive side. Always use a series resistor to limit the current.

Pinout

AC
PinConnect toNote
A (anode, +)GPIO through the resistor (e.g. 220 Ω)longer leg
C (cathode, −)GNDshort leg, flat side of the body
FastMindLocal AI assistant

The AI that remembers your life and lives on your computer

  • Long-term memory with the source of every answer
  • Works offline: your data stays on your PC
  • Reads PDFs, slides, photos and meeting recordings
Download free for Windows

Essential plan free forever

MicroPython example

from machine import Pin
import time

led = Pin(15, Pin.OUT)  # GPIO15 → 220 Ω resistor → LED → GND

while True:
    led.on()
    time.sleep(0.5)
    led.off()
    time.sleep(0.5)

Specifications

ItemValueSource
Forward voltage (Vf)red ~2.0 V · yellow ~2.1 V · green ~2.2 V · blue/white ~3.1 VTypical datasheet values — Under review: measure the lab LEDs
Maximum current~20 mATypical datasheet values
With 3.3 V and 220 Ωred ≈ 6 mA; blue ≈ 1 mA (dim)Calculation: (3.3 − Vf) / 220 Ω

Values marked "Under review" will still be checked against the parts in the lab.

FastTeacherFor teachers

From the syllabus to a planned semester

  • Teaching plan and calendar built automatically
  • Class diary ready to paste into SIGA
  • Slides and exercise lists with answer keys
Meet FastTeacher

Free Community edition · Windows

FastMindLocal AI assistant

The AI that remembers your life and lives on your computer

  • Long-term memory with the source of every answer
  • Works offline: your data stays on your PC
  • Reads PDFs, slides, photos and meeting recordings
Download free for Windows

Essential plan free forever

FastTeacherFor teachers

From the syllabus to a planned semester

  • Teaching plan and calendar built automatically
  • Class diary ready to paste into SIGA
  • Slides and exercise lists with answer keys
Meet FastTeacher

Free Community edition · Windows