Uno R3 Test Box

Then why do you have a driver transistor at all? Also you can not run a 12V relay on 5V, obviously.

Also, please don't covertly go back and edit previous posts. It makes the responses seem strange. If you have a new drawing or some other information, post it in a new message.

The relay drive circuit is still all wrong because you haven't looked at the relay module very much.