Curriculum
Course: Push Button With Led
Login
Text lesson

Circuit Diagram for MBlock

Circuit Diagram for MBlock

 

Connections

LED

  • LED Long Leg (+) → Arduino Pin 13
  • LED Short Leg (-) → 220Ω Resistor → GND

Push Button

  • One side → 5V
  • Other side → Pin 2
  • 10KΩ Resistor between Pin 2 and GND

Simple Connection View

5V —- Push Button —- Pin 2
                    |
                  10KΩ
                    |
                   GND

Pin 13 —- LED —- Resistor —- GND

×
×

Cart