back to archive

ESP12 Based Home Automation

Turn your home into a smart home with this ESP-12 based automation project. Learn how to control electrical appliances over Wi-Fi using the ESP8266, along with circuit design, programming, and practical implementation details.

ESP12 Based Home Automation
on this page6 sections

This is an ESP12 based home automation project. The project uses a web interface to control the loads. With help of WiFi, we can control the relays to turn on or off.

Components Required

  • R1- 10K
  • R2- 1K
  • R3- 4.7K
  • K1, K2, K3 & K4 – 5V Relay
  • C1-100nF (0.1uF)
  • C2- 47uF
  • C3- 100nF (0.1uF)
  • D1- 1N4148
  • U1- ULN2003
  • U2- AC-DC 5V 700mA 3.5W Power Supply
  • U3- AMS1117-3.3 SOT89
  • SW- 6x6x6mm Push Button
  • J1, J2, J3 & J4- 3 pin Screw Terminal Block
  • J5- 5 pin Screw Terminal Block
  • H1- 1×5 Male header pin
  • MK1- ESP12E

Schematic

Schematic

Layout

Schematic.pdfapplication/pdf95.3 KB

Images

Source Code

e-labInnovations/ESP12-Home-Automationpublic

ESP12 based home automation project.

arduinodiyesp12esp8266home-automation
C++ 1 0

Instructions

  1. Download the necessary files (Schematic, Layout and Source Code).
  2. Create PCB using the given PCB layout.
  3. Solder the components. Check there is no short on the ESP12 SMD board.
  4. Connect the USB to TTL converted to the board. You can find a 5pin connector to connect VCC, GND, RX, TX and GPIO0 on the schematic.
  5. Connect the GPIO0 to GND
  6. Upload the code using Arduino IDE. Use can choose NodeMCU 1.0 as your board type.
  7. After uploading, you can see a WiFi access point named ‘Home Automation’ available on your mobile.
  8. Connect to the access point using the password ‘PASSWORD’.
  9. After connecting open a web browser like chrome and type the board’s IP address192.168.4.1′.
  10. After loading the wesite, you can turn on and off the relays available on the board.
Mohammed Ashad
Admin

Browse the archive for more, or subscribe to get new posts in your inbox.

Discussion 0 comments

Be kind. I read everything but might take a day or two to reply.

no comments yet — be the first
// related

More from this category