relays use more current than the arduino can directly handle
the arduino switches the transistor, which can handle a different, maybe higher voltage and current, the transistor then switches the relay
relays use more current than the arduino can directly handle
the arduino switches the transistor, which can handle a different, maybe higher voltage and current, the transistor then switches the relay