ARDUINO

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.

UPDATED 2026-09-24
EXAMPLEArduino button and LED wiring
Make this diagram your own.

Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.

CASE ANALYSIS

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.

FAQ

Frequently asked questions

Why is a pull-down resistor used?01
It keeps the input at a known low level when the button is open.
Why does the LED need a resistor?02
It limits current through the LED.
Which pin reads the button?03
The button signal is wired to Arduino D2.
Open this example in the editor →

Tweak it with chat, export PNG/SVG, or fork it for your own use case.