On Off Timer With Arduino

Introduction: On Off Timer With Arduino

Hi, with this project you will be able to control the ON and OFF of your devices between the time you want. They may be the lights , turn on a machine, etc. We will use the Arduino, RTC 1307 and Solid State Realy ( SSR 25 DA ) control the time u set in prog. You can set the "ON" hour and the "OFF" min, increase or decrease the "SET POINT" by using ur program. This project useful to set AC, Heater , And any machine or light to " ON and OFF " for Specific time ,

Step 1: MATERIAL REQUIRED

1. ARDUINO NANO.

2. DS 3231 ( RTC CLOCK).

3. SSR 25 DA ( SOLID STATE REALY).

4. JUMPER WIRES.

Step 2: ASSEMBLY AND WIRING

RTC CLOCK ( DS3231 ) pins to Arduino pins

1 GND to GND

2 VCC to VCC

3 SDA to A5

4 SDA to A4

SOLID STATE REALY ( SSR 25 DA ) pins to Arduino pins

1. 3(+) to D2

2. 4(-) to GND

Step 3: PROGRAMING

In this programing you have to set ON and OFF time for yor machine and every thing u want to control

I have written this prog in this prog Dont want to set RTC time because we only use min given by RTC

and last we reset RTC to 0 min that give us recuring ( repeat our ON and OFF prog cycle )

set your on time in line of " OnMinSET " in minute

set your off time in line of " OffMinSET " in minute

and i use library is DS 3231 i share with u

1 Person Made This Project!

Recommendations

  • Robots Contest

    Robots Contest
  • Retro Tech Challenge

    Retro Tech Challenge
  • Organization Contest

    Organization Contest

Comments

0
DIY Hacks and How Tos

Hello there!

We're glad you want to share something with the Instructables community!

And we’re here to help you out.

In order to be published live on the site, Instructables must consist of the following things:

- Multiple steps showing how you made your project

- Written instructions in each step

- Your own original images

Beyond making your Instructable simply publishable, this guide (https://www.instructables.com/id/How-to-Create-a-Feature-Worthy-Instructable/) explains what is required to have your Instructables featured by our site editors. It’s very helpful, and definitely worth checking out.

We would love to review your project again after you have made the necessary edits, and we will publish your project if it is eligible.

If you have any questions, please feel free to ask right here or send us an email at service@instructables.com.

Best,

Instructables Community Manager