In this experiment, the intended result is for the buzzer and a row of LED pins to light up in sequence. This provided the team a better understanding of how to manipulate a larger array of LEDs with the Arduino.

Parts Required

Instructions

  1. Connect Ground pin on Arduino to negative rail on breadboard using a jumper wire.
  2. Insert resistors into breadboard, spacing them out with one leg connected to the negative rail.
  3. Insert LEDs, ensuring the longer lead (positive) is connected correctly.
  4. Connect negative lead of LEDs to the horizontal rail with the resistor, and positive lead to an adjacent rail.
  5. Repeat the process for all three LEDs.
  6. Complete the circuit by connecting positive leads of LEDs to Arduino pins 13, 12, and 11.
  7. Power on Arduino Uno by connecting it to the computer using the USB cable.
  8. LEDs on the board will turn on, indicating the board is powered up.
  9. Paste the following code to your Arduino IDE.

Code

Link to the Code

Demo

Previous Entry

Next Entry