Arduino/DC Motors/PWM with transistor
Jump to navigation
Jump to search
Basics
First Sketch
We use a variable resistor to change the duty cycle.
The motor is powered by any DC source.
The middle pin on the transistor is the control pin.
The left(flat/labeled/non-Heatsink) side is the ground.
The right pin is the voltage return to ground.
You power the motor from the positive side of the battery.
The potentiometer simply