Table of Content
When that data is encrypted with SSL/TLS, it’s called HTTPS. The Echo Dot and the ESP8266 must be connected with the same Wi-Fi network. Check the “Self-resetting device” and “Erase before flashing“. Follow these steps to flash the ESP8266 with Tasmota firmware and update the WiFi credentials to get the IP for Tasmota Dashboard.
From now on, both the client and server have a secret key (that’s only known to them) that they can use to encrypt further communication . How the communication between the server and client works over HTTPS? The following diagram shows a high-level overview of how it works.
Get the IP to access Tasmota Dashboard
If you can’t make the examples work, don’t worry, we’ll publish some tutorials with examples and instructions soon. If you want to start working on your HTTPS requests right away, take a look at the examples provided in the ESP32 package for the Arduino core. The public key, as the name suggests, is visible to anyone. HTTP is a protocol to transfer data over the internet.
Then browse and select the Gerber file you have downloaded. Download both of the library “ArduinoJson” and “Firebase-Arduino-master” files and add them in Arduino library. Link to download these concerned files are attached below. As one of the most experienced PCB manufacturers in China.
Step 6: Uploading the Gerber File and Set the Parameters
You also use multiple smartphones to control the appliances with Blynk IoT App. For that, you have to log in same Blynk account from all the smartphones. In this way, all smartphones will be sink to the Blynk server.
Any normal pot can be converted into a smart pot. With smart pots, we can make our plants healthy and happy. This Self watering Pot is being made up of NodeMCU ESP8266. In Server Mode or i Call there is no extra router switch or Internet requirement to operate its works as a Standalone Devices.
ESP8266 Web Server
Then I made small holes on the hose using a soldering iron that's it. So this is the time to plant your favorite plant. Now I connected the hose end to the motor pump. Remember to connect enough length wire to pump. To power the circuit, I am using an external Battery.
So we get the analogue value of the first sensor. Next, we turn off D1 and turn on the D2 and read the analogue value so we will get the analogue value of the second sensor. Here diode is for isolation between the sensors. Check the coding part too for better understanding.
thought on “Smart Home Automation System using NodeMcu ESP8266”
I used Arduino IDE to admin/upload and edit the code. The following lines are about how the code works. I connected the DHT sensor to digital pin 3 and the motor driver/relay to D4. A 10k resistor is used to pull down the motor pin. This L293D motor driver module has three power pins ground, supply, and a 5v.
Firstly replace the SSID and password given in the code with the SSID and password of your Wi-Fi connection. Then paste the token number you got after creating the telegram bot. Complete edited code is given at the end of this tutorial. An additional security step is to check the server certificate . You can skip this step while testing and prototyping.
Make sure to attach the components on the destinated slots available on PCB board. After placing all the components at their destinated place, carefully solder them all. The real one uses the CP2102 USB to UART bridge.
Then, those values are sent by the Nodemcu board to the Blynk app and the LCD. Also, we can turn the relays and PIR security system ON / OFF with the buttons on the Blynk app interface. In this NodeMCU ESP8266 project, I have shown how to make a home automation system using NodeMCU and Blynk App.
This is the complete circuit diagram for this home automation project. I have explained the circuit in the tutorial video. “How to Electronics” is an electronics engineering community built and run by passionate electronics engineers. Download all important project files for making this smart home automation from the link given in the description below.
In an automatic plant watering system or the smart pot, we are using an ESP microcontroller to control and sense everything. To measure the moisture in the soil and water level, we are using a capacitive soil moisture sensor. With the help of the DHT11 sensor, we can measure the temperature and humidity. We can set the moisture level of the soil to turn on and off the attached water pump. We can also manually control this pump through the mobile application. In this section, I will explain all the details circuit diagram.
Step 14: Testing the PCB
The core component of this “Smart Home Automation system” is Node MCU which is considered as a brain or controlling device of the system. The data sent from the IoT Android App to the Firebase realtime database, which is hosted in the cloud. Today, we are going to put that web server in use and control home appliances with it. Now it’s time to choose a unique username for your bot.
No comments:
Post a Comment