Schedule turn ON/OFF of AC device using RTC 1307 and Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ค. 2018
  • #arduinoproject #arduino #projectideas #schoolproject #college #finalyearprojects #homeautomation
    In this tutorial, we will learn how you can make a simple Arduino project. This tutorial shows how you can add a timer feature to your appliances.
    This project is all about turning ON and OFF of your electrical appliances on time.
    Want to interface the RTC module please refer to the below tutorial.
    Interfacing RTC #1: • Interfacing Tiny DS130...
    Arduino projects
    Arduino projects for beginners
    Arduino project cool
    the idea for the Arduino project
    🚮💲 if you want to contribute:
    Paypal account: allabtprojects@gmail.com
    🪔 Please help to grow my channel by subscribing to my channel:
    🎬 / @myengineeringstuffs
    👉 You can visit my website and find interesting projects.
    🌍 myengineeringstuffs.com
    ⚡🌟⚡🌟 More Projects below🌟⚡🌟⚡
    🧸 Game using Arduino
    🎬 • Two Player Ping Pong G...
    🌍 myengineeringstuffs.com/2023/...
    📡 Notice board projects
    🎬 • IOT (internet of thing...
    🌍 myengineeringstuffs.com/2023/...
    🎬 • Wireless notice board ...
    🌍 myengineeringstuffs.com/2023/...
    🏡 Home Automation Projects
    🔥 Firebase Based Home Automation
    🎬 • Google firebase based ...
    🌍 myengineeringstuffs.com/2023/...
    ☁ Google Assistance Home Automation
    🎬 • Google firebase based ...
    🌍 myengineeringstuffs.com/2023/...
    ⏱ RTC Projects
    🕜 Schedule ON/OFF devices using RTC
    🎬 • Schedule turn ON/OFF o...
    🌍 myengineeringstuffs.com/2023/...
    🕜 Timer, Stopwatch, and Alarm
    🎬 • Schedule turn ON/OFF o...
    🌍 myengineeringstuffs.com/2023/...
    🔌💡 AC voltage controlling Projects
    🎬 • ARDUINO AC VOLTAGE CON...
    🌍 myengineeringstuffs.com/2023/...
    👉 ⛅🌈Weather Monitoring Project
    🎬 • Weather data monitorin...
    🌍 myengineeringstuffs.com/2023/...
    👉🖨️ Thermal Printing Machine DIY
    🌍 myengineeringstuffs.com/2023/...
    🎬 • Mini serial TTL Therma...
    🌍 myengineeringstuffs.com/2023/...
    ⚠️Disclaimer: It contains Amazon affiliate links. which means I can get a small commission on the sale.
    This might be your indirect help to me.
    🌟 Material Requirements:
    👉 Arduino UNO ⚡ amzn.to/3ryB1ED
    👉 ESP8266-01 ⚡ amzn.to/39qiioC
    👉 Small Bread Board ⚡ amzn.to/3wdPKZ9
    👉 Connectors ⚡ amzn.to/39rwoGy / amzn.to/3mgxB8R
    👉 DHT-11 Sensor ⚡ amzn.to/3ryC2MX / amzn.to/3dzq81W
    👉 DHT-12 Sensor ⚡ amzn.to/39sGbvK
    👉 Variety connectors⚡ amzn.to/3mgxB8R
    👉 Arduino Starter KIT ⚡ amzn.to/3eOYfTU
    👉 HC-05 Bluetooth module ⚡ amzn.to/2Pa9P28
    👉 Micro servo ⚡ amzn.to/3n1q0uW
    👉 LDR sensor ⚡ amzn.to/2Q9rLul / amzn.to/40lnJxS
    👉 LDR sensor module ⚡ amzn.to/3tMdodC / amzn.to/3kXZqGi
    👉 Microswitch ⚡ amzn.to/3tMduC0
    👉 5mm LED ⚡ amzn.to/32vtLzC / amzn.to/3wPEB2c
    👉 Variable Resister POT 10K ⚡ amzn.to/2QD1iVF
    👉 I2C LCD Module ⚡ amzn.to/32smgt2
    👉 16x2 LCD Module ⚡ amzn.to/3ecu07Y
    👉 0.96" I2C OLED ⚡ amzn.to/3JmV1H1
    👉 Raspberry Pi Pico ⚡ amzn.to/3HgWY5e
    👉 RC522 RFID ⚡ amzn.to/3j6cJUE
    👉 Micro USB Cable ⚡amzn.to/3HEhNJ0
    👉 TCS3200 Color Sensor ⚡amzn.to/3XRQtg9
    👉 PCF8574 IC ⚡amzn.to/3kUzgnP
    👉 NodeMCU⚡amzn.to/3HHGKUa
    👉 MAX7219 32x8 Dot matrix display⚡amzn.to/3RjJU3s
    👉 Variable Voltage Supply⚡amzn.to/3YtdPsD
    👉 USB to TTL⚡amzn.to/3wIcL8d
    👉 RTC Module⚡amzn.to/3wLahG4
    👉 4 Channel Relay⚡amzn.to/3RoX67f
    👉 Thermal Printer⚡amzn.to/3jjL96b
    👉 P10 Display⚡amzn.to/3HouW7Y
    👉 4x4 Keypad⚡amzn.to/3DvDHM5
    👉 Raspberry Pi Pico⚡amzn.to/3XIBMMq
    👉 Micro USB Cable⚡amzn.to/3Hzdmzo
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 93

  • @jishnurajp2977
    @jishnurajp2977 3 ปีที่แล้ว +2

    Very use ful thanks brother

  • @bengalmirror
    @bengalmirror 2 ปีที่แล้ว +3

    Circuit diagram & code please

  • @LuatTong
    @LuatTong 4 ปีที่แล้ว

    Thank you. Can you help me about this: I just want turn on light at Monday/Tuesday/... But I can not use "Day of week". Can you help me? Thank you!

  • @OviTziK
    @OviTziK 4 ปีที่แล้ว +3

    Wonderful project.
    On this structure,i want to make irrigation 7 zone timer.Diferent time each zone.8-th relay will cut power supply to common wire of relays if rain sensor is ON.
    I will try you code with multiplying time.
    Thanks.

  • @ledc131
    @ledc131 3 ปีที่แล้ว

    Thanks . is it looping around everyday?

  • @Ziamrd
    @Ziamrd 4 ปีที่แล้ว

    awsome work , how to set device real time i have made the device but i can not set the time and date with the buttons, the timer on / off setting is working fine .

  • @Usedcloned
    @Usedcloned 4 ปีที่แล้ว

    nice.
    How to install more relays?

  • @saidelhadchi1631
    @saidelhadchi1631 5 ปีที่แล้ว

    Très bien expliqué merci beaucoup

  • @amardarwatkar8338
    @amardarwatkar8338 4 ปีที่แล้ว

    Can Arduino be used to produce business goods? What is your opinion on this?

  • @Tirdad1981
    @Tirdad1981 5 ปีที่แล้ว +2

    Good job. It can be still better if you turn it to a weekly timer. So that you can set the timer for a specific day or all days of the week.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      *Khashayar Dashtdar* Thank you for your words friend. That's a good idea.

  • @andydarmawan1222
    @andydarmawan1222 4 ปีที่แล้ว

    Great project, wanted to do this for a long time. But instead of button might use Bluetooth or IoT

  • @slambergamer91
    @slambergamer91 3 ปีที่แล้ว +1

    awesome channel.. my new fav! keep it up brothers !

  • @gianysabelsulla7794
    @gianysabelsulla7794 2 ปีที่แล้ว

    hi, can you help me set it for constant 25 minutes timer and it will off automatically when there is no time left? thankkyyyouu

  • @steelkarthi
    @steelkarthi 4 ปีที่แล้ว +2

    super ,
    I tried this project . working good

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว +1

      Thank you friend. For your kind words

    • @azadalam7606
      @azadalam7606 4 ปีที่แล้ว

      Which library u are using describe plz

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว

    Bhai yaar big thanx koi aur mcx ytbr ne tumhara code churaya hai aur use bin format mein share krra hai taake koi changes na kr sake ,channel ka naam technical market hai ,us bkl ne pehle d 9 as relay diya jo wrk krta tga with eeprom par noobde ne jab d6 diya tab eeprom kaam hi ni krta tha ,lagbhag 1.5 saal se aise hi adjust kr raha tha finally source code mil gya thnx 😭😭😭

  • @princessninajanecometa9412
    @princessninajanecometa9412 ปีที่แล้ว

    Hi! This is an excellent video for beginners like me. I'm working on a program that will work on our product for our research defense, we didn't hire a programmer since its very expensive for us students to pay them. And currently, I'm having troubles with my program, is it possible that instead of turning it off and on, I will use "Fade" basic built-in example. In simple words, scheduling the LED to fade in and out at a specific time using RTC Module. I'm not very much of an expert when it comes to coding, can you recommend me examples that I can study with? I hope you can help me with this. And thank you for this video!

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  ปีที่แล้ว +1

      Yes it can be done. Please mail me your exact requirement. You can use "Fade" basic built-in program.

    • @princessninajanecometa9412
      @princessninajanecometa9412 ปีที่แล้ว

      @@MyEngineeringStuffs I sent you an email.

  • @faisalmaulanasafii9422
    @faisalmaulanasafii9422 3 ปีที่แล้ว

    cool project for arduino beginner , good work

  • @DIYables
    @DIYables ปีที่แล้ว

    Cool project!

  • @patrickmackay741
    @patrickmackay741 5 ปีที่แล้ว +1

    Great job !!!

  • @pramode-theinventorfromsri4675
    @pramode-theinventorfromsri4675 3 ปีที่แล้ว

    Do I have to set the start time and end time after disconnect and connect back again the power.?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว +1

      hey friend write the ON and OFF time to your EEPROM and then no need to set it again and again for power cut.

    • @pramode-theinventorfromsri4675
      @pramode-theinventorfromsri4675 3 ปีที่แล้ว

      @@MyEngineeringStuffs you saved my day...

  • @santoshbabu517
    @santoshbabu517 3 ปีที่แล้ว

    very nice tutorial have a question can we use more than 2 relay.. for operating more device..?

  • @nitzsantillan1653
    @nitzsantillan1653 3 ปีที่แล้ว

    Hey friend, it is very close to my developing project. Can you help me, I'm doing dual axis solar panel. But the thing is I use RTC as time trigger and every 1hr the dynamo will move starting to 8am and then move if it is 9am. Can you help me with this?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว

      Hey friend just create an array of desired time and in loop function get the time from RTC module and compare the current time with your desired time, If it matches with the time in your time array than just change the angle of the dual axis setup as per your requirement. Hope this help you

  • @riowzi
    @riowzi 5 ปีที่แล้ว

    Great project. How can I set time for morning and evening please help me...

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend as you can see it the time is in 24 hours and with AM/PM difference. You can use either any format to detect it's evening or is it in morning and you can set the time as well.

    • @riowzi
      @riowzi 5 ปีที่แล้ว +1

      @@MyEngineeringStuffs thanks for your reply

  • @anupchakraborty8700
    @anupchakraborty8700 2 ปีที่แล้ว

    Nice project ,
    But something is not good.
    Between ON/OFF Time space.
    When Aurduino powers Off then On Timer switch not working.
    Time and date showing perfect.
    Timer set value goes to - 00:00:00

  • @shoumikahmed6373
    @shoumikahmed6373 4 ปีที่แล้ว

    How to set on /off time up to seconds???

  • @anupchakraborty8700
    @anupchakraborty8700 2 ปีที่แล้ว

    I think After power on /off timer not working.

  • @howtomake5591
    @howtomake5591 3 ปีที่แล้ว

    Please Help Me. This code is fully ok. But Aretor on time (1.10 AM to 3.20 AM) if Arduino power off some time in this time by electricity fail then when again electricity again come in time (1.10 to 3.20 am) and again give power the Arduino then do not on Aretor again in this time.Which i have selected. Help me for code editing.
    #include
    int Aretor = 13;
    DS3231 rtc(SDA, SCL);
    Time t;
    void setup() {
    Serial.begin(115200);
    rtc.begin();
    pinMode(Aretor, OUTPUT);
    digitalWrite(Aretor, LOW);
    }
    void loop() {
    t = rtc.getTime();
    Serial.print(t.hour);
    Serial.print(" hour(s), ");
    Serial.print(t.min);
    Serial.print(" minute(s)");
    Serial.println(" ");
    delay (1000);
    if(t.hour == 1 && t.min == 10 && t.sec == 00){
    digitalWrite(Aretor,HIGH);
    Serial.println("ARETOR ON");
    }
    else if (t.hour == 3 && t.min == 20& t.sec == 00){
    digitalWrite(Aretor,LOW);
    Serial.println("ARETOR OFF");
    }
    }

  • @hanksyflamework
    @hanksyflamework 4 ปีที่แล้ว

    cool video however something i would suggest, make a full screen message about the danger of ac voltage "IT CAN AND WILL KILL YOU" a (12vdc device could perhaps should have been used as your example) young people watch and learn from youtubers and your lack of info about the danger of ac voltage is worrying.

  • @dinardanaChannel
    @dinardanaChannel 5 ปีที่แล้ว

    i got problem, rtc set up in lcd always change . how ? please help me
    i use arduino mega 256

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend, code will be same for arduino uno and MEGA 256. Just you need to change the SDA & SCL pin. for MEGA pin 20 is SDA and pin 21 is SCL.

    • @dinardanaChannel
      @dinardanaChannel 5 ปีที่แล้ว

      @@MyEngineeringStuffs Done thats problem, and now i have problem again . cannot change the time on/off ,cannot change the date . how ? please help me

    • @dinardanaChannel
      @dinardanaChannel 5 ปีที่แล้ว

      @@MyEngineeringStuffs how to work this push button ?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว +1

      Hey friend don't rush into the code. Let's check one after another.
      Please follow my circuit diagram.
      #1. Interface your RTC with MEGA256, output should be actual date and time.
      #2. Display data on LCD with proper date, time as you like.
      #3. Test the switches if it is working or not and as per the circuit diagram it should work.
      #4. Now integrate all the code into one and test one after another.
      Hope this helps, Best of Luck.

  • @arnabmaity2189
    @arnabmaity2189 3 ปีที่แล้ว

    Hi friend is it will work all day in a week.

  • @omkarraut5045
    @omkarraut5045 3 ปีที่แล้ว

    Sir I have made all the connections right.
    But the bulb does not start at on time.
    What to do?
    Plz sir help krdo

  • @aureliantagarici
    @aureliantagarici 5 หลายเดือนก่อน

    hi , nice .
    Circuit diagram & code please

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 หลายเดือนก่อน

      you can find every thing on my web site myengineeringstuffsdotcom please visit to my website.

  • @muchtarutay6068
    @muchtarutay6068 5 ปีที่แล้ว

    Khashayar Dashtdar
    6 bulan yang lalu
    Good job...... Coding?

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Hey friend code and circuit diagram is in the description.

  • @yudistra5455
    @yudistra5455 4 ปีที่แล้ว +1

    How make timer
    If switch on 5 seconds lamp will on
    And if switch off lamp will off also
    And if switch just on 3 second lamp will not on (still off)

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey friend thank you for asking. Can you explain me more. What exactly you are doing.
      Your end result ??

  • @AmritpalSingh-fw5sf
    @AmritpalSingh-fw5sf 4 ปีที่แล้ว

    Link is not working (24 May 2020)
    Will you please mail me this code...
    Thanks...

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      myengineeringstuffs.com/blog/projects/schedule-turns-on-off-of-devices-using-rtc-and-arduino
      the site is under construction friend. again sorry

  • @chanelndeso114
    @chanelndeso114 3 ปีที่แล้ว

    Skema please

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  3 ปีที่แล้ว +1

      Hey friend please follow the blog
      myengineeringstuffs.com/schedule-turns-on-off-of-devices-using-rtc-and-arduino-48

    • @chanelndeso114
      @chanelndeso114 3 ปีที่แล้ว

      @@MyEngineeringStuffs tanks a need 2 chanel relay... Why wirring diagram... Upload videos two chanel

  • @prakashmudili
    @prakashmudili 5 ปีที่แล้ว +1

    very good project.sir can you help me for my project I am very new in electronic Field ,i dont know about arduino programing.I want to make programmable relay ,using 16*2 LCD keypad shield+RTC 1307 +arduino Uno and 8 channel relay module.

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      Thank you for the comment friend. please explain me bit more so that I can able to help you.

    • @prakashmudili
      @prakashmudili 5 ปีที่แล้ว +1

      @@MyEngineeringStuffs Thank you for your kind reply. Sir I want to make programmable relay which can on./off my aquarium lights, air pump, heater, fish feeder, etc... the timer of on/off can be adjustable by lcd keypad shield. I have arduino uno rev3, lcd keypad shield, 8channel relay module. And tiny rtc (ds 1307). Please guide me how can I connect them. I don't know any kind of programming. Plz help me

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  5 ปีที่แล้ว

      @@prakashmudili hey friend start with the Interfacing tutorial. Link : th-cam.com/video/TVWNkF-nOmY/w-d-xo.html

  • @chetankumar6158
    @chetankumar6158 5 ปีที่แล้ว

    When you start TH-cam channel?

  • @ddtech5065
    @ddtech5065 4 ปีที่แล้ว +1

    code??

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey, friend the link for the code and all other details are on the description box.

  • @SDsahasdulnada
    @SDsahasdulnada 4 ปีที่แล้ว

    please code

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว +1

      myengineeringstuffs.com/blog/projects/schedule-turns-on-off-of-devices-using-rtc-and-arduino
      Sorry friend for the delay. The site is under construction.

  • @javierinho3480
    @javierinho3480 2 ปีที่แล้ว

    Code pls ?? :'C

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  2 ปีที่แล้ว

      You can find the code download link in the description box if not please contact at allabtprojects@gmail.com

  • @Happiness50057
    @Happiness50057 4 ปีที่แล้ว

    Code link not working,

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      Hey, friend sorry for that. My website is under construction please get my mail id from about section and mail me your requirements I will send it ASAP.

    • @kamalsaini9763
      @kamalsaini9763 4 ปีที่แล้ว

      Plz sir code link not open

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว

      @@kamalsaini9763 Sorry for the inconvenience friend, Please mail me about your requirement. I will send ASAP.

    • @kamalsaini9763
      @kamalsaini9763 4 ปีที่แล้ว

      Kamal.saini756@gmail.com

  • @atikdesign9386
    @atikdesign9386 4 ปีที่แล้ว

    @t​ this is not working..

    • @atikdesign9386
      @atikdesign9386 4 ปีที่แล้ว

      link of code

    • @MyEngineeringStuffs
      @MyEngineeringStuffs  4 ปีที่แล้ว +1

      @@atikdesign9386 Sorry for the delay.
      myengineeringstuffs.com/blog/projects/schedule-turns-on-off-of-devices-using-rtc-and-arduino
      The site is under construction.