Real time clock home Automation with ESP8266 - Black keyhole

welcome to our keyhole, we provide you various knowledge from various sources such as Electric&Electronic, Health, Arduino, IOT, Diy projects, A/l past paper and model paper, Even though you can keep in touch with current technology

Real time clock home Automation with ESP8266

Share This




In my previous tutorial, I had shown you how to make NTP RTC clock using Nodemcu. In this video, I will show you how to make esp8266 nodemcu based Alarm home automation using the NTP library.


Components

   1.Nodemcu

    2.LCD display

    3.5v Relay module

    4. Jumper wires

You can check the video version of the tutorial here and don't forget to subscribe my channel ๐Ÿ˜‰

 

Circuit for  LCD display





Circuit for relay




 Here, I have used two different circuit diagrams for easy understanding. You have to use it in one circuit

   Check my previous post that How to make IOT fall detection system

How NTP Works?

NTP can operate in a number of ways. The most common configuration is to operate in client-server mode. The basic working principle is as follows:

  • The client device such as ESP8266 connects to the server using the User Datagram Protocol (UDP) on port 123.
  • A client then transmits a request packet to an NTP server.
  • In response to this request, the NTP server sends a time stamp packet.
  • A timestamp packet contains multiple information like UNIX timestamp, accuracy, delay, or timezone.
  • A client can then parse out current date & time values.

Code

   Before,You going to upload the code You need to add the NTP library in your Arduino library documentary. If you didn't see my previous article that RTC clock without RTC module click here and download required library

    Click below image to Download the Code for alarm home Automation

 

 


 Hope you have liked this post don't forget to share with each other๐Ÿ˜‰

No comments:

Post a Comment

business queries

Pages