How to Control the Speed and Direction of a DC Motor
The output of the 555 timer switches transistor Q1 on and off. The capacitor C1 charges and discharges through the resistors R1 and R3. The time to charge or discharge the capacitor depends on the values of R1 and R3. As soon as the capacitor charges, it quickly discharges through diode D2 and the variable resistor RV1 into pin 7. During the discharging …