PWM & LED Brightness Control with Arduino – Post-Test | Lesson 3
1. What is PWM?
Pulse Width Modulation
Power Wave Mode
Pin Wiring Method
2. What does PWM allow you to do?
Control the speed of Wi-Fi
Control brightness or motor speed
Change Arduino board model
3. Which function is used to send PWM signals in Arduino?
digitalWrite()
analogWrite()
pinMode()
4. What is the range of values you can use with analogWrite() on a 8 bit microcontroller?
0 to 1023
0 to 5
0 to 255
5. Which Arduino pins usually support PWM?
Pins with a ~ symbol
All analog pins
Only A0
6. How do we determine if a resistor is 220 ohm?
It doesn't matter all resistors are the same
Use a multimeter
Use your tongue to test resistance
7. What does a for loop do in C++?
Reads sensor values
Repeats a block of code a set number of times
Saves a program
8. What is the purpose of controlling LED brightness with PWM?
To make the LED flicker faster
To save power or change brightness
To change its color
9. What does analogWrite(LED, 255) do?
Turns the LED fully on the LED pin
Turns off LED
Sets LED as input
10. What is the effect of using analogWrite with a lower value like 50?
LED is very bright
LED is dim
Nothing happens
11. In your own words, explain what PWM (Pulse Width Modulation) does and how you might use it to control the brightness of an LED or the speed of a motor in a simple Arduino project.
12. "We’d love your feedback on this lesson. What went well, and what could be improved?"
Submit Answers