HOME_AUTOMATIO_OVER _WIFI(using Esp-01 Module)||Part 1
by AmeyDahikar in Circuits > Arduino
251 Views, 0 Favorites, 0 Comments
HOME_AUTOMATIO_OVER _WIFI(using Esp-01 Module)||Part 1
Hey everyone,
My name is Amey,
I am back with another project this time I am making series of this project so make sure you subscribe to my channel. I wanted a simple system that can control my room appliances by my mobile (like a home automation system). I wanted is so simple, like it should work only over my WIFI network but not through internet. First thing first I do some research and found out that esp32 is best option but I am not having it, then I switch over the world-famous microcontroller board “Arduino Uno” and for Wifi I am using esp-01 module which is cheap and easily configure with the Arduino uno. I gather all the component and start making it. This is frist part in which I am controlling the led connected to arduino and arduino is coonected to wifi via esp-01 module.
So, let’s make it!!!!
Component
Arduino Uno X 1
Esp8266 X 1
Led x 1
Resistor x 1
Some jumper wires and breadboard
Working
As I am using IP-address for communication it makes things simple and easy you have to put IP address of your ESP01 module which is connected to your home network in my case its 192.168.0.106.
The communication between the Arduino and mobile phone is based on http protocol means you can control the led from the web browse just by this typing in your address bar ”http://you_device_ip_addres/H “ (make sure your ESP-module and mobile phone is connected on same network) In above case “H” cane replace by the other word for controlling different led in my case I took H and L for first led, A and B for second led (just for testing) But it is bit tricky to every to open web browser and type your ip and command so in next part I am making an app using Mit app inventor which is helpful for small project like this. make sure you subscribe to my youtube channel Below is imageof the web page that load in web browser after adding ip address of esp moadule
Circuit Diagram
Code:-
Go to this link for code:- https://abuildsdiy.blogspot.com/2021/03/homeautomatioover-wifiusing-esp-01.html
Libraries required for this project :-
1)wifiesp
2)esp8266 Both Libraries are availabel in arduino ide.