ChatDiagram
Circuit · Microcontroller

Arduino MCU — GPIO Interface (Button + LED)

A minimal GPIO interface circuit for an Arduino microcontroller: a 10 kΩ pull-up resistor holds the input pin HIGH until the push-button grounds it LOW, and a 220 Ω series resistor limits current to the LED output.

סוג תרשים מעגלתקן IEEE Std 315 / ANSI Y32.2מנוע schematex-circuitעודכן 27.5.2026
Arduino MCU GPIO Interface
Drawing preview
הבקשה

“Draw a 5 V Arduino GPIO interface with a pull-up resistor and pushbutton on one input, plus a 220 Ω resistor and LED on GPIO13.”

ואז נסוAdd a second LED output.Change the pull-up resistor to 4.7 kΩ.
מה מופיע בתרשים הזה

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

01

10 kΩ pull-up keeps GPIO HIGH by default; button press = logic LOW (active-low).

02

220 Ω current-limiting resistor protects LED at ~14 mA for a 5V supply and 2.1V forward voltage.

03

SPICE netlist format serves as both schematic and simulation input.

Reuse for any microcontroller GPIO circuit reading a digital input or driving an indicator LED.

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