ChatDiagram
Electronics · Raspberry Pi · LED Driver

Raspberry Pi GPIO Dual-Color LED Driver with Common Anode

סוג תרשים מעגלתקן IEEE Std 315 / ANSI Y32.2מנוע schematex-circuitעודכן 7.9.2026
Raspberry Pi GPIO Dual-Color LED Driver with Common Anode
Drawing preview
התרחיש

A Raspberry Pi drives a dual-color LED with common anode from two GPIO pins, using low-side switching through current-limiting resistors.

מה מופיע בתרשים הזה

פענחו את ההחלטות שמאחוריו.

01

Use common-anode LED with both anodes tied to the 3.3V rail

02

Connect each cathode to a GPIO pin through a 330 Ω resistor to set LED current

03

Tie Raspberry Pi ground to the 3.3V supply return

Reuse for any 3.3V microcontroller driving common-anode LEDs where GPIO sinks current to turn each color on.

עיון בכל תבניות ה־תרשים מעגל ←