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 # 7
Door Bell With 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
 Button
 LED

Procedure:

1. Wire the project using your combined knowledge from previous laboratory activities.
2. Program a code into your Arduino for that when a button is pressed, the buzzer will make a sound and LED will
flash a light simulating a doorbell.

Observation and Explanation of Results:


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

Observation: When the button is pressed, the piezo buzzer emits a sound, and the RGBLED connected to the Arduino
flashes on and off.

Explanation: The Arduino detects the button press by monitoring its state with digitalRead(), while simultaneously
turning on the RGBLED and producing a dingdong like sound and this process repeats as the Arduino continuously
monitors the button state in the loop function.

You might also like