Arduino PWM: Pulse Width Modulation

Arduino PWM: Pulse Width Modulation

Assessment

Interactive Video

Professional Development

Vocational training

Hard

Created by

Currriculum Departmen

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does PWM stand for? (0:25)

   a) Pulse Width Modulation

   

b) Power Wave Management

  

 c) Programmable Waveform Mechanism

   d) Periodic Wave Manipulation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PWM, what does the duty cycle represent?

   a) The total time period of the pulse

   

b) The percentage of the period when the pulse is at 5 volts

   

c) The frequency of the pulse train

 

  d) The time between two consecutive pulses

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of values for the analog write function parameter in Arduino?


   a) 0 to 100

   

b) 0 to 1023

 

  c) 0 to 255

   

d) -255 to 255

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the argument of the analog write function is 127, what will be the duty cycle?

   


a) 25%

   

b) 50%

   

c) 75%

   

d) 100%

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example circuit shown in the video, which component is connected between the LED's cathode and the ground pin?

 


  a) Capacitor

 

  b) Inductor

 

  c) Resistor

  

 d) Diode

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to set the PWM pin as an output in the setup() function?


   a) pinMode()

  

 b) digitalWrite()

   

c) analogWrite()

 

  d) setPWM()