You are on page 1of 2

MICROPROCESSORS / INTRO TO HDL – LAB

CPE – 3

NAME/S: EDP CODE: DATE:

LABORATORY ACTIVITY # 5
Making Music

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 piezo buzzer to produce sound.

Apparatus & Components

Source: https://saskcode.ca/activities/arduino/
 Arduino UNO with USB cable
 Breadboard
 Potentiometer
 Piezo Buzzer or speaker
 Jumper Wires

Procedure:

1. Wire the project using the diagram below.

2. Program a code into your Arduino that plays a tune (e.g. Happy Birthday, Twinkle Twinkle). You
may set this by configuring the tone pin to different frequencies.

Observation and Explanation of Results:


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

Source: https://saskcode.ca/activities/arduino/

You might also like