ChatDiagram
electronics · raspberry-pi · led

Raspberry Pi GPIO LED Driver

Tipo Diagrama de circuitoNorma IEEE Std 315 / ANSI Y32.2Mecanismo schematex-circuitAtualizado 07/09/2026
Raspberry Pi GPIO LED Driver
Drawing preview
O cenário

A Raspberry Pi GPIO pin cannot source enough current for a high-power LED, so an NPN transistor is used as a low-side switch with an external 5V supply.

O que há neste desenho

Entenda as decisões por trás dele.

01

Use a 1k base resistor to limit GPIO current while saturating the transistor

02

Add a 10k pull-down resistor so the LED stays off when the GPIO is floating

03

Power the LED from an external 5V rail through a 330R current-limiting resistor, not from the GPIO pin

Use this pattern whenever a microcontroller I/O pin must control a load that draws more current than the pin can safely provide.

Ver todos os modelos de diagrama de circuito →