Arduino 5V output - Switch a device on/off with relay

Runaway Pancake,

Thanks for the explanation about the diode. How do you chose the proper size of diode?

Thanks,

-ren