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 make Bussiness queries by using the business queries section. You can find that at the bottom of this page
- You can make queries related to place ads, product placement, and advertising
- make project queries related to DIY project section (college and school students for their projects)
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 systemHow 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