DC Motor Speed Control
Control the speed and direction of a DC motor using the H-bridge (L293D) motor driver IC.
What students learn
Students learn about H-bridge motor drivers, PWM speed control, direction reversal, and flyback diode protection.
The science behind this experiment
- An H-bridge uses 4 switches to control motor direction
- PWM duty cycle controls the effective voltage and thus speed
- Flyback diodes protect against back-EMF from the motor
- The L293D IC contains two H-bridges for driving up to 2 motors
Key relation: Speed ∝ Duty cycle; H-bridge: IN1=H,IN2=L → Forward; IN1=L,IN2=H → Reverse
Equipment used
- Arduino Uno R3
- Breadboard
- 1x DC motor
- 1x L293D H-bridge IC
- 1x Potentiometer
- 1x 1N4007 diode
- 9V battery snap
- Jumper wires
Questions for students
- How would you control two motors independently for a robot?
- What safety precautions are important when working with motors?
What to expect
The DC motor speed is controlled by the potentiometer, and direction can be reversed by changing pin states. H-bridges enable bidirectional DC motor control. PWM varies speed, direction pins control rotation direction, and flyback diodes protect the circuit.
Run this experiment in your classroom
This experiment is part of ATP Volta — a self-contained mobile science lab that turns an ordinary classroom into a working STEM laboratory, with over 200 experiments in physics, chemistry, biology, robotics and engineering. Gali, the AI tutor built into ATP Connect, guides students through each step and answers their questions at the bench.
See the ATP Volta mobile science labTalk to our team