Arduino Tutorials

Arduino Turn on / off anything at a specific time

How to turn on / off anything at a specific time with Arduino

In this tutorial, we will learn how to turn on / off anything at a specific time. For this we will use DS1302 RTC module and Relay module.

Hardware Required :

Project circuit :

Project circuit diagram is shown below.

How to use Sensor (HC-SR501) with Arduino

For most of our Arduino projects that require to detect when an individual has left or entered the world , or has approached, HC-SR501 PIR sensors are an excellent choice. they’re low power and low cost, pretty rugged, have a good lens range, easy to interface with and are insanely popular among hobbyists.

HC-SR501 PIR sensor has three output pins VCC, Output and Ground. it’s a built-in transformer so it are often powered by any DC voltage from 4.5 to 12 volts, typically 5V is employed . aside from this, there are a few options you’ve got together with your PIR.

How to use Sensor (HC-SR501) with Arduino

Link to the Code :

https://github.com/MORYTECH/ARDUINO-CODE/blob/master/Arduino%20Turn%20on%20%20off%20anything%20at%20a%20specific%20time.txt

Download the DS1302 Library :

http://www.rinkydinkelectronics.com/library.php?id=5

Demonstration :

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Close
Close