Arduino button and LED wiring
This physical wiring diagram shows a button input and LED output on an Arduino Uno. The button has a pull-down resistor so the D2 input has a defined low state when the button is not pressed. The LED is driven from D13 through a current-limiting resistor. Rail colors separate power and ground from the signal wires, making the breadboard connections easier to follow during assembly. Before using the layout in a build or document, compare every label with the source requirements and update the drawing when parts, conditions, or materials change. The example is deliberately small so the essential relationships remain readable, easy to review with collaborators, and ready to extend with the details required for the actual project.
Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.
Scenario
A beginner is building a button-controlled LED prototype.
Key decisions
- Input: The button signal goes to D2.
- Pull-down: A 10k resistor holds the input low when open.
- Output: A 220 ohm resistor limits LED current from D13.
When to reuse this
Use for a simple Arduino input and output exercise.
Frequently asked questions
Why is a pull-down resistor used?
Why does the LED need a resistor?
Which pin reads the button?
Try the diagram makers.
Tweak it with chat, export PNG/SVG, or fork it for your own use case.