Arduino to imitate a momentary switch

Then have pin 13 control a relay.

image.jpg