Arduino for Beginners - 2022 Complete Course - How Digital Pins Work with Analog Values (PWM)

Arduino for Beginners - 2022 Complete Course - How Digital Pins Work with Analog Values (PWM)

Assessment

Interactive Video

Information Technology (IT), Architecture, Engineering, Physics, Science

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the concept of Pulse Width Modulation (PWM) on an Arduino Uno. It covers the identification of PWM-capable pins, the definition of PWM and duty cycle, and provides examples of different duty cycles. The tutorial also explains how to calculate the duty cycle using integer values and demonstrates setting PWM using the analog write function on Arduino.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following pins on Arduino Uno can be used for PWM output?

Pins 2, 4, 6, 8, 10, 12

Pins 7, 8, 9, 10, 11, 12

Pins 3, 5, 6, 9, 10, 11

Pins 1, 2, 3, 4, 5, 6

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a duty cycle of 0% mean in PWM?

The signal is high 25% of the time

The signal is always low

The signal is high 50% of the time

The signal is always high

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a PWM signal has a duty cycle of 100%, what is the state of the signal?

The signal is high 25% of the time

The signal is always high

The signal is high 50% of the time

The signal is always low

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is a 25% duty cycle represented in integer form for PWM?

128

192

64

255

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to set an analog value for PWM on Arduino?

digitalRead

digitalWrite

analogRead

analogWrite