and the relay use the same psu rail?

Would be great to see your code & schematic....