You are on page 1of 2

MICROPROCESSORS / INTRO TO HDL – LAB

CPE – 3

NAME/S:FRED VINCENT C. FORTUITO EDP CODE:68515 DATE:03/15/2024


LABORATORY ACTIVITY # 8
Singing Light

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

 To wire and code the Arduino to make simulation door bell with visual feature.

Apparatus & Components

 Arduino UNO with USB cable


 Breadboard
 Potentiometer
 Piezo Buzzer or speaker
 Jumper Wires
 1K Ω Resistors
 RGB LED

Procedure:

1. Wire the project using your combined knowledge from previous laboratory activities.
2. Program a code into your Arduino that plays a tune and with each note a corresponding color
flashes onto the RGB LED.

Observation and Explanation of Results:


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

Observation: As the program runs on the Arduino, I notice that whenever a note is played by the buzzer,
the RGB LED flashes a different color. It cycles through different colors synchronized with the notes of the
melody.

Explanation: The Arduino is programmed to perform two tasks simultaneously: playing a melody and
controlling the RGB LED. Each time a note is played, the Arduino changes the color of the LED. It follows a
simple pattern, repeating for each note in the melody. This coordinated action creates a visual effect that
matches the sound.

You might also like