That relay module has no need of the transistor.
PE - adding pic

and your drawing, if it is accurate, shows the you have the pins a bit mixed up.
That relay module has no need of the transistor.
PE - adding pic

and your drawing, if it is accurate, shows the you have the pins a bit mixed up.