Project Frying Nanos! Assistance Greatly Appreciated.

IF there is a relay in the diagram you posted it is wrongly wired no transistor and do fly back diode!

Mark