Are you connected like this?
Graphic by @dlloyd.

BTW, don't use pin 1, it's the serial TX pin, and the relays are energized when the output pin is driven LOW.
Are you connected like this?
Graphic by @dlloyd.

BTW, don't use pin 1, it's the serial TX pin, and the relays are energized when the output pin is driven LOW.