Introduction: Interrupt Pin With LED's and Button
- Arduino UNO
- Breadboard
- 3- 220Ω Resistors
- 1- 10KΩ Resistor
- 1- Red LED
- 1- Blue LED
- 1- Green LED
- 1- Button
- Jumper Wires
Step 1: Connect Power and Ground
- Connect Jumper wire to 5v pin on Arduino to the positive rail on the Breadboard.
- Connect Jumper wire to GND pin on Arduino to the negative rail on the Breadboard.
Step 2: Add 1st LED
- Connect Red LED to F-36 negative end and F-37 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to G-36 on Breadboard.
- Connect a Jumper wire to G-37 on Breadboard to Digital Pin 13 on Arduino.
Step 3: Add 2nd LED
- Connect Blue LED to F-30 negative end and F-31 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to G-30 on Breadboard.
- Connect a Jumper wire to G-31 on Breadboard to Digital Pin 12 on Arduino.
Step 4: Add 3rd LED
- Connect Green LED to F-24 negative end and F-25 positive end on Breadboard.
- Connect 220Ω Resistor to negative rail and to G-24 on Breadboard.
- Connect a Jumper wire to G-25 on Breadboard to Digital Pin 11 on Arduino.
Step 5: Add Button
- Connect Button to E-16, E-18, F-16, and F-18 on Breadboard.
- Connect 10KΩ Resistor to negative rail and to G-16 on Breadboard.
- Connect a Jumper wire to G-18. to positive rail on Breadboard.
- Connect a Jumper wire to D-16 on Breadboard to Digital Pin 2 on Arduino.