Why my Arduino output active on reset using relay module?
The relays may be low-level triggered relays so to turn them on you need to set the pin connected to the relay to digital LOW and to turn them off you need to set the pin to digital HIGH; Please verify this first whenever you get a new relay and there is no mention on it if its a low-level triggered relay;