Arduino: blinking LEDs

Plan

Experiment with Arudios through LED coding.

Materials

  • LEDs
  • Wires
  • Resistors

Tools

  • Computer
  • Breadboard
  • Arduino

Workflow

One Blinking LED Circuit (1000):

1. Insert a wire from the GND hole to the bottom 5th left (-) hole.

2. Insert a resistor from the 3a hole to the top left 5th (-) hole.

3. Insert a LED from the 3b hole to the 2b hole.

4. Insert a wire from the 2e hole to either the top left 1st (-) hole / 13 hole.

5. Plug the arduino into a computer.

One Blinking LED Arduino (1000):

1. Check tools for Non-Bluetooth Serial Port and the Arduino Uno Board.

2. Click file>examples>01.Basics>Blink.

3. Change the speed of the blinks by changing the delay.

(1000=1 second) (>1000-slower / <1000-faster)

Two Blinking LEDs Circuit:

1. Insert a wire from the GND hole to the bottom 5th left (-) hole.

2. Insert a resistor from the 3a hole to the top left 5th (-) hole.

3. Insert a resistor from the 6a hole to the second left 2nd (-) hole.

4. Insert a LED from the 3b hole to the 2b hole.

5. Insert a LED from the 6b hole to the 5d hole.

6. Insert a wire from the 2e hole to either the 9 hole.

7. Insert a wire from the 5e hole to either the 10 hole.

8. Plug the arduino into a computer

Two Blinking LEDs Arduino:

1. Check tools for Non-Bluetooth Serial Port and the Arduino Uno Board.

2. Click file>examples>01.Basics>Blink.

3. Rename the first variable by adding a "1".

4. Create a new variable ending in "2".

5. Edit the code to adhear to variable "1".

6. Copy and paste the code for variable "1" and alter it to apply to variable "2".

7. Set the delays of the LEDs to 1 second (1000).

Final product

Brain Game! (Filler Project to introduce soldering)