Wireless 220v power switch

WLAN Wireless network power switch using relay. Relay is controlled by ESP8266-01 model which is programmed via Arduino IDE using downloaded ESP8266 modules.

Parts

1 x ESP8266

1 x Step down module 5v to 3.3v

1 x 5v 500mA Power supply module (could be made out of phone charger)

1 x 5v optocoupler relay module

1 x N2222 transistor

1 x 10K resistor

1 x 1K resistor