Introduction: LED Control

Picture of 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

Picture of Add Potentiometer
  1. Connect Potentiometer to F-59, F-61, and E-60.
  2. Connect Jumper wire to J-59 to negative rail on Breadboard.
  3. Connect Jumper wire to A-60 to A0.
  4. Connect Jumper wire to J-61 to positive rail on Breadboard.

Step 2: Add 1st LED

Picture of Add 1st LED
  1. Connect Red LED to C-54 negative end and C-55 positive end on Breadboard.
  2. Connect 330Ω Resistor to negative rail and to A-54 on Breadboard.
  3. Connect a Jumper wire to A-55 on Breadboard to Digital Pin 2 on Arduino.

Step 3: Add 2nd LED

Picture of Add 2nd LED
  1. Connect Blue LED to C-48 negative end and C-49 positive end on Breadboard.
  2. Connect 330Ω Resistor to negative rail and to A-48 on Breadboard
  3. Connect a Jumper wire to A-49 on Breadboard to Digital Pin 3 on Arduino.

Step 4: Add 3rd LED

Picture of Add 3rd LED
  1. Connect Green LED to C-42 negative end and C-43 positive end on Breadboard.
  2. Connect 330Ω Resistor to negative rail and to A-42 on Breadboard.
  3. Connect a Jumper wire to A-43 on Breadboard to Digital Pin 4 on Arduino.

Step 5: Add 4th LED

Picture of Add 4th LED
  1. Connect Yellow LED to C-36 negative end and C-37 positive end on Breadboard.
  2. Connect 330Ω Resistor to negative rail and to A-36 on Breadboard.
  3. Connect a Jumper wire to A-37 on Breadboard to Digital Pin 5 on Arduino.

Step 6: Add 5th LED

Picture of Add 5th LED
  1. Connect White LED to C-30 negative end and C-31 positive end on Breadboard.
  2. Connect 330Ω Resistor to negative rail and to A-30 on Breadboard.
  3. Connect a Jumper wire to A-31 on Breadboard to Digital Pin 6 on Arduino.

Step 7: Connect Power and Ground

Picture of Connect Power and Ground
  1. Connect Jumper wire to 5v pin on Arduino to the positive rail on the Breadboard.
  2. Connect Jumper wire to GND pin on Arduino to the negative rail on the Breadboard.
  3. Connect Jumper wire to negative rail on the Breadboard to the other negative rail on the Breadboard.
  4. Connect Jumper wire to positive rail on the Breadboard to the other positive rail on the Breadboard.

Step 8: Code

Comments

About This Instructable

77views

0favorites

License:

More by Selfcj:Servo PositioningLED ControlKeypad Door Lock
Add instructable to: