Professional Documents
Culture Documents
CPE – 3
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.
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: 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.