This project is sponsored by JLCPCB.
In this project I will show you how to make Home Automation System using ESP8266 WiFi module. This system is based on Esp8266 relay board that you can use to control your home appliances over WiFi using Blynk app.
Let's get started!
Step 1: Watch the Video!
This video gives you all the information you need to make your own home automation system. If you want to know how to use ESP8266 WiFi module with Arduino, watch the tutorial here.
Step 2: Order the PCBs and Components
Order the PCBs from JLCPCB. They offer high quality PCBs for extremely low prices (10 PCBs for $2). Just grab the PCB Gerber file from below and upload it on JLCPCB website. You will receive the PCBs within a week.
You can order components from LCSC website. Download the components file from below. Upload the file on LCSC website and select the required components quantity.
Components (minimum quantity):
28 pin IC Socket x1
47µF Electrolytic Capacitor x2
2.2µF Electrolytic Capacitor x1
Green LED 0603 x2
Blue LED 0603 x4
20pF Ceramic Capacitor 0603 x2
10k Resistor 0603 x1
1k Resistor 0603 x7
2.2k Resistor 0603 x1
510 Resistor 0603 x4
16MHz Crystal Oscillator x1
78M05 5V Voltage Regulator x1
HT7233 3.3V Voltage Regulator x1
1N4007 Diode THT x4
M7D Schottky Diode x1
Header male and female
12V DC Jack x1
PC817C Optocouplers x4
BC547 Transistor (NPN) x4
Terminal Blocks x4
5V Relays x4
ESP8266 01 Module (not included in lcsc file) x1
Step 3: Soldering the Components
Solder the components according to schematic. First solder the small components or SMD components on pcb then solder the through hole (THT) components.
Step 4: Upload the Code
If you are using new ATmega328p, you will need to Burn the Bootloader onto it, learn how to Burn Bootloader.
Upload the code on atmega328, for that you can use arduino without atmega or use USB to TTL converter.