Week 6 Quiz: PWM & Analog Outputs

Test your understanding of Pulse Width Modulation and analog output control

📝 10 questions covering PWM, analogWrite(), and output control

Student Information

Question 1: PWM Range

What is the range of values that can be used with analogWrite() on Arduino?

Question 2: PWM Pins

Which pins on Arduino Uno support PWM output?

Question 3: Duty Cycle

What does a 75% duty cycle mean in PWM?

Question 4: Average Voltage

If analogWrite(pin, 128) is used on a 5V system, what is the average voltage output?

Question 5: RGB Color

What RGB values (Red, Green, Blue) would create a yellow color?

Question 6: Motor Control Safety

Why should you never connect a motor directly to an Arduino pin?

Question 7: PWM Frequency

What is the typical PWM frequency on Arduino Uno?

Question 8: LED Fading

In a fading LED program, what happens when the brightness variable reaches 255?

Question 9: PWM Applications

Describe three practical applications of PWM in electronics projects and explain why PWM is useful for each application.

Question 10: RGB Color Mixing

Explain how RGB color mixing works with PWM. How would you create a purple color, and what PWM values would you use for each color channel?

← Back to Week 6 Lesson
Next: Week 7 Lesson →