Introduction: DIY Home Automation Using ESP8266
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.
This project is sponsored by JLCPCB.
JLCPCB is a largest PCB manufacturing Company in China with over 10 years of PCB manufacturing experience. Try it yourself and order high quality 10 PCBs for only $2 (Any Color).
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. Next steps will provide you some useful information. If you want to know how to use ESP8266 WiFi module with Arduino, watch the video 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 any color). 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 USB to TTL converter.
Step 5: And You're Done!
Your Home Automation System is complete. You can control your board with Blynk App. Now you can control home appliances like lights, fan, TV, AC etc using blynk app over wifi.
Automatic Lights System: If you want to make lights automatically turn ON or OFF in the dark, connect a light sensor (LDR) to analog pin and control automatic light system using Blynk app.
Thanks to JLCPCB for sponsoring this project.
For more interesting projects:
Subscribe to my YouTube Channel
And Follow me on Facebook