You are on page 1of 2

MICROPROCESSORS / INTRO TO HDL – LAB

CPE – 3

NAME/S: EDP CODE: DATE:

LABORATORY ACTIVITY # 4
Party Light

Verification of Basic
Binary Operators and
Basic Theorems
using Gates
Verification of Basic
Binary Operators and
Basic Theorems
using Gates
Objective:

 To use the Arduino to control a RGB (red, blue, green) LED. The values of RGB can be
manipulated to mix color to create any color.

Source: Activity 1G, www.SaskCode.ca


Apparatus & Components

 Arduino UNO with USB cable


 Breadboard
 RGB LED
 Jumper Wires

Procedure:

1. Hook the components up according to the diagram below. (Please note the pin diagram for the
RGB LED on the figure provided.)

2. Create a light sequence using functions that will create a party vibe. Color sequences will be a
matter of personal preference. You can create colors by changing the values in your code.
(Note: Your color sequence must be UNIQUE. No two pairs should have similar colors and
sequences)

Observation and Explanation of Results:


Write in your own words the objectives and your learnings during the experiment.

Source: Activity 1G, www.SaskCode.ca

You might also like