跳至主要内容

LEDs & Lighting

Start Here — Which LED?

🌈 Colorful Effects? NeoPixel WS2812B. One GPIO controls hundreds of individually addressable RGB LEDs. NeoPixel Hookup →

📊 Text / Graphics? MAX7219 8x8 Matrix. Daisy-chainable, SPI, great for scrolling text.

💡 Bright Lighting? High-Power Cree LED + constant-current driver. 1-10W, needs heatsink.

TypeExampleControlPowerBest For
Single LED5mm through-holeGPIO + resistor20 mAIndicators
NeoPixel (WS2812B)Adafruit NeoPixelSingle GPIO60 mA/LEDAddressable RGB strips
DotStar (APA102)Adafruit DotStarSPI (CLK+DATA)60 mA/LEDHigh refresh rate
LED MatrixMAX7219 8x8SPI330 mA (all on)Text/graphics displays
High-Power LEDCree XM-LMOSFET + constant current1–10WLighting, grow lights
LED Strip (analog)5050 RGBMOSFET (3 ch)1A/m per colorAmbient lighting

Hookup Guides