Arduino + Relay Explanation

  1. SSR retains the current even after turned off.

No I said that there is current leakage through a SSR when t is off. There is nothing retained like there is when a capacitor charges.

  1. 1N4004 Diode --> 1N4006 (1A 800V)

  2. 2N2222 Transistor

  3. 1K Resistor. (BTW which resistor will be best, i have got a bunch of resistors )

What are you doing? You only need these with a mechanical relay.