UPDATE:
Correct connection.
Is a PWM tutorial for controlling a DC motor using a NE555 IC.
The parameters of the transistor are approximate, in reality the motor runs well and I used an irfz44 mosfet that I recovered. A bjt s8050 still works but heats up a lot.
Paramters IRFZ44N
W: 100um
L: 100um
KP: 39.3
VTO: 3.56V
Lambda : 0