Saturday, January 30, 2021

Home Automation with Blynk & NodeMCU ESP8266 IoT Projects

Repeat this connection for the second and third relay modules. Attach the other wire of the AC supply to the other pin of all three relay modules. For the last relay connect a DC fan with a 9-volts battery connected to it as shown in the diagram.

The circuit is very simple, I have used D1, D2, D5 & D6 GPIO pins to control the 4-channel relay module. In the loop section first, I turned on the digital that is connected to the sensor. We need only the output analog values so I used the analogRead()function and read the connected sensor values. Then, I printed those values on the serial monitor. Now, in the outer pot place the moisture level sensor on any side. There is a line marking on the moisture sensor.

Step 14: Testing the PCB

Don’t forget to pull up CH_PD HIGH, you won’t get a response from the module if it is not done. I have found out that http does not recognize blank spaces. So you have to replace the blank spaces in every command with %20. Is ther any solution for the voice control please update if there’s any way to make the voice control working i need it so badly for my final year project . Download Android AppYou can also modify the Android App by exporting the .aia file. Here is a block diagram for this project “Wifi & Voice Controlled Home Automation Using ESP8266”.

home automation using nodemcu esp8266

If the certificate is valid, the client creates a new key that will be used later to encrypt communication between the client and server. The browser sends a message to the server encrypted with the public key. Above restriction nullifies practical application of this project in case of power outage. You also have to select the number to map each switch with the respective relay. Since we are using the Blynk Server, the token is necessary to communicate with the server. You can copy the token from the registered email id.

Wifi & Voice Controlled Home Automation Using NodeMCU & Android

This post is all about Wifi & Voice Controlled Home Automation Using NodeMCU & Android. Here we will do the same, but instead of using Alexa, we will develop our own App on an Android smartphone to control our locally , our home devices. Next, the sensors, relays, and buzzer PINs are defined. Next, click the PIR sensor control button and name it as you like. Then, change the PIN as V0 and mode to switch.

Now connect the IN-1, IN-2, IN-3, and IN-4 pins of the relay module with the digital-0, digital-1, digital-2, and digital-3 pins of the NodeMCU. In this project we learn how to make IoT Based Home Automation Project using Blynk & NodeMCU ESP8266. One of the most common & popular hobby projects you will come across the internet is Smart Home Automation Project. By Home Automation we mean controlling lighting, climate, entertainment systems, and appliances without a manual switch. It may also include home security such as access control and alarm systems.

Step 2: Control Relays Using Blynk IoT App

Get instant access to our FREE eBooks, Resources, and Exclusive Electronics Projects by entering your email address below. Home Automation using ESP8266 eBook and video course » Build IoT and home automation projects. Unfortunately, at the moment there isn’t TLS support on the AsyncWebServer library, you would need to use a different library and rewrite the code. Home Automation using ESP8266 eBook and video course »Build IoT and home automation projects.

home automation using nodemcu esp8266

The battery is connected to the Vin and ground pins of NodeMCU and we can also connect the motor driver supply to this battery. Sometimes when we go out of our home for a few days. In this case, we cant give water to our favorite plants or we are busy with other works, so we forget to give water to our plants. Most of the time, we nearly forget about our plants in the mentioned cases. Because most of the indoor plants require regular watering. This is just awesome for lazy and busy people like me.

Circuits DIY

Client.println(""); Next, the webpage header is sent followed by the buttons and the buttons are set to display the current state of the appliances. They will show OFF if the current state is ON and vice versa. Next, we declare the pins of the Nodemcu to which the relay pins are connected and create variables to hold the state of each relay.

home automation using nodemcu esp8266

Simply connect mobile or laptop to device WiFi name &Enter IP address that’s its. But to Control this device you have stay within a Range of WiFi. In this Home Automation System, we will control 4 home appliances connected to Relay using Local Web Server. The Wifi Module NodeMCU ESP8266 will Receive commands from the Web Page.

Step 11: Add Widgets in Blynk IoT App

Lastly, run the Blynk app interface and enjoy this project. If the NodeMCU is connected with WiFi, then you can control the home appliances from Blynk IoT App. I have used a 5V mobile charger to supply the smart relay module.

String token stores the unique token number you got after creating your bot. D0 is the digital output pin for changing the state of the relay. Build Web Servers with ESP32 and ESP8266 »boards to control outputs and monitor sensors remotely. There are several examples that show how to make HTTPS requests with the ESP8266. Self-signed certificates are fine to use on your DIY and IoT projects, intranets, like your local network, or inside a company’s network.

Step 16: Finally!! the Blynk Home Automation System Is Ready

In the tutorial video, I have explained all the steps to update the WiFi credentials to NodeMCU through OTA. After programming the NodeMCU, you have to update the WiFi credentials from the Blynk IoT app. Now select the NodeMCU 1.0 board and proper PORT. For this project, you have to install the Blynk 1.0.1 library. For this smart house project, I have used the Blynk IoT Cloud Free plan. After selecting all the Parameters for PCB click on SAVE TO CART button.

home automation using nodemcu esp8266

No comments:

Post a Comment

Products KARE USA

Table Of Content The Magical Sunshine State and Nonconformist KARE: The Perfect Match KARE Design Looking for Office Inspiration? INSPIRED W...