⭐⭐⭐ 10. PWM variable speed control

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:50 AM on 9/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

6 Terms

1
New cards

What is PWM?


Pulse Width Modulation.


It rapidly switches the power signal ON and OFF to control the average power delivered to the motor.

2
New cards

What Arduino values are used for PWM?

0–255

3
New cards

What does PWM value 0 mean?


Approximately 0% duty cycle → stopped.

4
New cards

What does PWM value 255 mean?

Approximately 100% duty cycle → full speed.

5
New cards

What does PWM value 127 mean?

Approximately 50% speed/power, assuming the motor behaves approximately proportionally.


Since:

1272552127 \approx \frac{255}{2}

Speed table

Desired speed PWM value

Stop 0

25% 64

50% 127

75% 191

Full speed 255

6
New cards

What function would you use for PWM?

analogWrite(pin, value);

Example:

analogWrite(11, 127);

This sends approximately a 50% PWM signal to EN1&2.