Using transistors to turn your motor on and off is fine. The arrangement of transistors (bipolar, MOSFET, or integrated circuit) that lets you turn your motor on and off in both directions is called an H-bridge.
Using transistors to turn your motor on and off is fine. The arrangement of transistors (bipolar, MOSFET, or integrated circuit) that lets you turn your motor on and off in both directions is called an H-bridge.