Project 3 · Arduino

Spaceship Interface

Light up a control panel that reacts when you press a launch button.

Easy 30 min 8 components
Spaceship Interface wiring diagram

What you'll learn

  • Use digitalRead to detect a button press.
  • Use digitalWrite to switch LEDs on and off.
  • Write your first if / else logic in C++.

What's in the kit

  • Arduino UNO
  • Breadboard (half-size)
  • Green LED (5 mm)
  • Red LED (5 mm)×2
  • Tactile pushbutton (4-pin)
  • 220 Ω resistor×3
  • 10 kΩ resistor (pull-down for button)
  • Jumper wires (M-M)×8

Protocol: digital