The Complete Beginners Guide to Arduino - 2021 - Making Sound with a Piezo

The Complete Beginners Guide to Arduino - 2021 - Making Sound with a Piezo

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial covers the use of Arduino tone commands to create sounds with piezo sounders. It explains the setup of a simple circuit and demonstrates how to use the tone command to produce different frequencies and durations. The tutorial also explores creating alarm sounds using loops and frequency changes, and generating random sounds with the random command and analog read. Key concepts include the difference between piezo sounders and buzzers, the importance of delays in sound generation, and the use of random seed for true randomness.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a piezo sounder and a piezo buzzer?

Piezo sounders can change frequency, buzzers cannot.

Piezo buzzers are louder than sounders.

Piezo sounders are used for lighting.

Piezo buzzers are more expensive.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using the tone command, what is automatically set by the command?

The pin as an input

The pin as an output

The frequency to 1000 Hz

The duration to 1 second

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to include a delay after the tone command?

To ensure the duration parameter works

To allow the sound to be heard

To save power

To prevent the Arduino from overheating

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the noTone command do?

Increases the volume

Stops the sound on a specific pin

Starts a new tone

Changes the frequency

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create an alarm sound using Arduino?

By using a single frequency continuously

By sweeping frequencies up and down

By using the noTone command

By connecting multiple buzzers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a pseudo-random number?

A number that is completely random

A number that follows a predictable sequence

A number that is always zero

A number that is generated by a sensor

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the randomSeed command?

To start the random number sequence at a different point

To reset the Arduino

To increase the speed of the Arduino

To generate a fixed number

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?