Rtc ds1307 and relay modul for arduino uno

How to make an automatic relay based on a real time clock using RTC DS1307?
can you helpme

Here is a good library for RTC: RTClib - Arduino Reference

It even has a DS1307 example. I would highly recommend getting a DS3232 or DS3231 though, they are improved versions.

As for the relay, that is just an output pin.

I moved your topic to an appropriate forum category @abah22.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Interesting project but we are not a free code writing service. We will help out with your code but first you have to make an attempt to write it, post it and explain what is not working
properly. If there is hardware it is always best to post links to technical information as there are many versions of the same or different items. Since we cannot see your project, my eyes are to weak, you need to post an annotated schematic (no frizzes) or a clear picture of a drawing. Pictures never hurt.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.