Introduction: LED Control
- Arduino UNO
- Breadboard
- Potentiometer 10KΩ
- 5- 330Ω Resistors
- Red LED
- Blue LED
- Green LED
- Yellow LED
- White LED
- Jumper Wires
Step 1: Add Potentiometer
- Connect Potentiometer to F-59, F-61, and E-60.
- Connect Jumper wire to J-59 to negative rail on Breadboard.
- Connect Jumper wire to A-60 to A0.
- Connect Jumper wire to J-61 to positive rail on Breadboard.
Step 2: Add 1st LED
- Connect Red LED to C-54 negative end and C-55 positive end on Breadboard.
- Connect 330Ω Resistor to negative rail and to A-54 on Breadboard.
- Connect a Jumper wire to A-55 on Breadboard to Digital Pin 2 on Arduino.
Step 3: Add 2nd LED
- Connect Blue LED to C-48 negative end and C-49 positive end on Breadboard.
- Connect 330Ω Resistor to negative rail and to A-48 on Breadboard
- Connect a Jumper wire to A-49 on Breadboard to Digital Pin 3 on Arduino.
Step 4: Add 3rd LED
- Connect Green LED to C-42 negative end and C-43 positive end on Breadboard.
- Connect 330Ω Resistor to negative rail and to A-42 on Breadboard.
- Connect a Jumper wire to A-43 on Breadboard to Digital Pin 4 on Arduino.
Step 5: Add 4th LED
- Connect Yellow LED to C-36 negative end and C-37 positive end on Breadboard.
- Connect 330Ω Resistor to negative rail and to A-36 on Breadboard.
- Connect a Jumper wire to A-37 on Breadboard to Digital Pin 5 on Arduino.
Step 6: Add 5th LED
- Connect White LED to C-30 negative end and C-31 positive end on Breadboard.
- Connect 330Ω Resistor to negative rail and to A-30 on Breadboard.
- Connect a Jumper wire to A-31 on Breadboard to Digital Pin 6 on Arduino.
Step 7: 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.
- Connect Jumper wire to negative rail on the Breadboard to the other negative rail on the Breadboard.
- Connect Jumper wire to positive rail on the Breadboard to the other positive rail on the Breadboard.
Step 8: Code
Comments