Motor Speed Control (PWM)
circuitsintermediateArduino Uno

Motor Speed Control (PWM)

Potentiometer controls motor speed via PWM on the L293D enable pin: the motor gets the supply for the duty cycle and nothing for the rest, so its average current follows the duty. The 56 Ω resistor stands for a small 5 V motor turning freely (about 90 mA).

What you'll simulate

  • ✓Real Arduino Uno emulation — cycle-accurate, no hardware needed
  • ✓4 interactive components on the canvas
  • ✓Serial Monitor included — see output in real time
← Back to examples