https://www.techzorro.com/en/blog/how-to-drive-a-dc-motor-with-a-bjt-transistor/
How to Drive a DC Motor with a BJT Transistor