Arduino Timer Control Relay Devices

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • PCBA from $0(Free Setup, Free Stencil):jlcpcb.com/IYB (Register to Get Coupons)
    Discount Coupon Code:- JLCPCBcom
    Hey friends in this video I will show you how to make Arduino Timer Control Relay Light without any RTC Real Time Clock Module.
    -----------------------------------------------------------------------------------------------------------------------
    Visit my Website for full guide and to Download Codes and Circuit Diagrams:- www.viralscien...
    -----------------------------------------------------------------------------------------------------------------------
    Materials:-
    Arduino Nano/UNO
    LiquidCrystal I2c Display
    Relay Module
    Buzzer
    Push Buttons
    BreadBoard
    Bulb Holder Socket
    Wires
    -----------------------------------------------------------------------------------------------------------------------
    Follow me on:-
    Website:- www.viralscien...
    Facebook:- / viralscience20
    Facebook:- / viral.dodhia.73
    Instagram:- / viral_dodhia_
    Twitter:- / viral_science_
    --------- VIRAL SCIENCE © ----------

КОМЕНТАРІ • 122

  • @aperson9495
    @aperson9495 Рік тому

    Just wanted to chime in and let you know that this is excellent. I had something set up with an amazon relay/timer that 'worked', but the shortcoming was that once tripped, it would just count down to zero and stop, even if the trigger was re-tripped, which was a problem. This worked perfectly, and when tripped, it turns on and counts down, but if re-tripped, it resets the timer, so if it keeps getting re-tripped, it keeps resetting and will only finish the countdown and stop when it's no longer being tripped, which is exactly what I needed.

  • @rafatalbaeate8675
    @rafatalbaeate8675 2 роки тому +3

    You deserve love and appreciation

  • @PeteConstantine
    @PeteConstantine 2 роки тому +1

    Great tutorial. Learned a lot. I’m curious though, does the power for the lightbulb also power the Arduino? If it does, how does it back feed through the relay?

  • @pietrobassoli
    @pietrobassoli Рік тому +2

    Hi really fantastic prj but could U help me to find a correct LCD I2C ......could U write DISPLAY code for nano and where i can buy it .........THX A LOT Piero ITALY

  • @franzcastellon3326
    @franzcastellon3326 Рік тому

    Hello, thank you very much for sharing your knowledge. I would like to know if it is necessary to include some resistors, to protect the circuit.

  • @minaagniabudiani144
    @minaagniabudiani144 2 роки тому +2

    Why my lcd screen show the timer 255:255:255, how to repair that

  • @diyrobotronics
    @diyrobotronics 2 роки тому

    Video quality much better this time👍👍

  • @Dogegf_Hodler
    @Dogegf_Hodler Рік тому +5

    hi Viral Science HOW can you set the timer for like 700 hours or longer please make a vid on how to set the timer for longer my brother

    • @miketimson1806
      @miketimson1806 Рік тому +3

      yes viral science how do you set the time for more then 99hours ?

    • @jessyltr581
      @jessyltr581 Рік тому

      Do some maths. Like one way to brute force it is to create a variable called totalReached. So like, when you count to the max a variable can in milliseconds, you record that, and do :
      unsigned long totalReached = 0;
      totalReached = totalReached + 1;
      And when you want to check for 90 years, lets say max timer is 24h,
      If (time == *max value in milliseconds* && totalReached == (90years*365days/years) {
      cookMeASandwich;
      }
      Idk something like that

  • @pompacerdas
    @pompacerdas 4 місяці тому

    Hello, make a video tutorial for Led Display countdown with Arduino and RTC P10

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 2 роки тому +2

    Kindly use RTC in this project as well

  • @bagaindocgem9534
    @bagaindocgem9534 2 роки тому +3

    it is possible to set 500 hours countdown? and how?

    • @Dogegf_Hodler
      @Dogegf_Hodler Рік тому +1

      ya i would like to know how to set the timer for longer

    • @benlayshar
      @benlayshar Рік тому +1

      ya same i would like to know if you can set for like 30days

    • @todbiner6803
      @todbiner6803 Рік тому

      ya man same here i know is possible i just dont know how to do it i hope he make a how to video

  • @MarkGoesOutside
    @MarkGoesOutside 2 місяці тому

    In this example the power to the light bulb was on when the timer was counting down and turned off after it finished. Can it also be done so that the power turns on when the timer finishes?
    I am looking to use a set up like this to actuate a pull solenoid for a few seconds at a delayed time of 1-60 days

  • @soovui
    @soovui 2 роки тому

    Thanks a lot for sharing,r u able to make a another video teaching us by adding in a features a delay trigger mode in second, min and hours too.

  • @raction9232
    @raction9232 2 роки тому +1

    Do you have a project with a iot solar monitor system

  • @toksgagik9111
    @toksgagik9111 2 роки тому +2

    where the code for the timer works, I do not have anything showing on the LCD. any thought where to look for my error? The LCD Pot seems to adjust contrast as well. since i am newer, i may be missing something obvious.

  • @sreenand.k2706
    @sreenand.k2706 2 роки тому +1

    Superb work sir

  • @niknur1965
    @niknur1965 3 місяці тому

    How to make on delay timer using this method? Do I need to decode or change something else?

  • @alexbarretogranada4633
    @alexbarretogranada4633 5 місяців тому

    One question , How are you powering the arduino nano?

  • @BrownToiletIsh
    @BrownToiletIsh 8 місяців тому +1

    Where does the electricty comes from?

  • @bubu28100
    @bubu28100 5 місяців тому

    after pressing the button I can't set anything... can you help me with this? and the question is whether 12V can also be connected to this relay?

  • @DanielMiller-fy5ip
    @DanielMiller-fy5ip 2 роки тому +1

    The first time I tried this worked perfectly, but the next day I tried with both my UNO and UNO R3 and the timer initializes to 254:254:254 instead of 00:00:00. I do not even know where to begin diagnosing this problem. Please help!

    • @abdallatgr9706
      @abdallatgr9706 Рік тому

      I had problem on lcd can't display can you help me

    • @himanshuprasad4113
      @himanshuprasad4113 Рік тому

      Do we have to set time again and again in this project

  • @ももい
    @ももい 2 роки тому

    Thx!! you saved my life //from korea

  • @0124akash
    @0124akash Рік тому

    All vdo related this topic are same, please change if you can
    I want timer on side and off side both
    Suppose
    10 second on (manual set)
    30 minutes off (manual set)
    Again 10sec on 30 minutes off
    This process continues run until manual switch off.

  • @electroman1556
    @electroman1556 2 роки тому

    its working. i made it clear. some modification

  • @SayanElectronics
    @SayanElectronics 2 роки тому

    Big Fan Dada❤❤🔥Want to Meet with you...

  • @raffaelepaterniti5417
    @raffaelepaterniti5417 2 роки тому

    Hi, could you add the auto reset at the end of the time.
    Thank you

  • @benlayshar
    @benlayshar Рік тому +1

    i would like to know how to set the timer for like 1000hours

  • @AntonioGutiérrezLópez-w4b
    @AntonioGutiérrezLópez-w4b 6 місяців тому

    Hello would you share your gerber file to order in jlcpcb and assemble your components for this project? Thank you and good job!

  • @LuisPerez-id5ce
    @LuisPerez-id5ce Рік тому

    Can I do this with 12v current? I need this to shut off and on my refrigerator compressor every 15minutes and the current passing through to the relay is 12v

  • @justin-kelsey
    @justin-kelsey 2 роки тому +2

    What software were you using to design the circuit? Does that allow you to run simulations?

  • @MrNanji
    @MrNanji Рік тому

    Thank You So Much 💓

  • @harveyismael8088
    @harveyismael8088 Рік тому +1

    Can you please give me the library Countimer.h

  • @tonyvarghese75
    @tonyvarghese75 2 роки тому

    Can you please make driver drowsiness detection system using raspberry pi and usb camera

  • @ashwinsidharth2453
    @ashwinsidharth2453 Рік тому +1

    How to add a cycle function to the code ?

    • @ashwinsidharth2453
      @ashwinsidharth2453 Рік тому

      @@Mahi.333 hey it's better if you use chat gpt. I waited for so long. No reply

  • @electronic7979
    @electronic7979 2 роки тому +1

    Nice project

  • @bilalmuhammed3987
    @bilalmuhammed3987 Рік тому

    Can I please get a code where the timing is changed using numeric keypad?

  • @BrownToiletIsh
    @BrownToiletIsh 7 місяців тому +2

    I have a problem, instead of turning off the electricity when I set a timer, it turns on.

  • @milespeterson5049
    @milespeterson5049 Рік тому

    Can I use this circuit without the relay module?

  • @summerfun6114
    @summerfun6114 Рік тому

    Hi, how to prevent the time goes to negative number? my test got 0-1 hour after seconds got 0 . Thanks.

  • @hammadazhar4927
    @hammadazhar4927 8 місяців тому

    Hello brother, can i use this same code on my uno?

  • @galaxytwix1980
    @galaxytwix1980 Рік тому

    its is possible to add Bluetooth on this project of your? and how to code it?

  • @BossianAyok
    @BossianAyok Рік тому

    What simulator did you use sir?

  • @PhG1961
    @PhG1961 2 роки тому

    Beautifull and usefull !

  • @DJGalia
    @DJGalia Рік тому

    What is the code if the buzzer start beep in 10 seconds down to 1 sec?

  • @BrownToiletIsh
    @BrownToiletIsh 9 місяців тому +1

    Can you please send me the links for the materials

  • @reymundoacerit6353
    @reymundoacerit6353 2 роки тому

    Hi can I add push botton switches to power te lights

  • @redou85
    @redou85 2 роки тому

    This is the only video on UA-cam about arduino without code. I guess you don't want to share it

    • @Rachitkivines
      @Rachitkivines 2 роки тому

      i got the code and schematics,
      i think you forgot to wear your glasses or u can't hear properly.😅😅
      As he already mentioned how to get the code, library and schematics of this project.

  • @dukenukem445
    @dukenukem445 10 місяців тому

    Hi, can we use the timer for multiple LED or Relay?

  • @Wolforce
    @Wolforce 3 місяці тому +4

    this explains nothing.

  • @Moyskieeee
    @Moyskieeee Рік тому

    how do I code if I use 0.91' oled i2c display instead of LiquidCrystal I2c?

  • @chanakyashukla5820
    @chanakyashukla5820 Рік тому

    can you please tell how EEPROM han help in this, I am trying to make an Inching project where relay switch turns off after an unchangeable coded timer and it may not reset as the power to micro controller cuts off accidentally.

  • @jayaprakash.d9836
    @jayaprakash.d9836 Рік тому +1

    Lcd .begin (); error , how to solve

  • @JordanNdombou-yo5px
    @JordanNdombou-yo5px 6 місяців тому

    Bonjour j’aimerais avoir le programme du projet

  • @Shyamkumar-di5fu
    @Shyamkumar-di5fu 2 роки тому

    How to set time on arduino ds3231 rtc with switches

  • @EmadBahrehmand
    @EmadBahrehmand 5 місяців тому

    Where's the complete code

  • @amarjeetKumar-uo9zr
    @amarjeetKumar-uo9zr 2 роки тому

    Bro pls make A arduino volume bass controller with effects...

  • @BrownToiletIsh
    @BrownToiletIsh 9 місяців тому +1

    Can someone please help me find the same lcd display like this in the video? I can't find the exact type of display, please help me

  • @qadeer1685
    @qadeer1685 2 дні тому

    Nice ❤

  • @jhonpatrickcajuguiran1292
    @jhonpatrickcajuguiran1292 2 роки тому

    I can't find a code. Can you help me?

  • @luisnava6907
    @luisnava6907 2 роки тому

    Great video! I was wondering, I have a spare OLED (128x32, SSD1306) screen, would it be possible to use it as well? I know the code will change but, can you do it? Thank you so much!

    • @Moyskieeee
      @Moyskieeee Рік тому

      same problem, have you done it already ?

  • @anokhautomation4453
    @anokhautomation4453 2 роки тому

    Nice project 👍👍

  • @Alex-pd6iu
    @Alex-pd6iu 2 місяці тому

    Where can I found the code

  • @hatlongtv1910
    @hatlongtv1910 2 роки тому

    how to instal port usbserial 110 sir ?

  • @soriatel
    @soriatel 2 роки тому

    how to make with OLED?

  • @itsknowledgebyspace6768
    @itsknowledgebyspace6768 8 місяців тому

    Bro with servo motor please...... 😢

  • @dhaniwalnut6133
    @dhaniwalnut6133 2 роки тому

    Buat video relaynya ada 4 pcs dengan timmer dan rtc pada 24 jam

  • @saifafarouq4021
    @saifafarouq4021 2 роки тому

    can i get the link for the fritzing library

  • @electroman1556
    @electroman1556 2 роки тому

    impressive

  • @ninoportales5736
    @ninoportales5736 5 місяців тому

    Cant download the code help me pls.

  • @cihansalcioglu4222
    @cihansalcioglu4222 11 місяців тому

    HelloViral Science can you help me with a software-related matter? I want to create a project. In my project, I will be using a Nextion TFT screen, Arduino Uno, Green LED, Blue LED, DC motor driver, and DC motor components. In addition, I will use one yellow button and one red button.
    The program's operation is as follows:
    I will input a value, such as 5000 milliseconds, into the "n0" object on the Nextion screen. I will also enter a value between 0 and 255 into the "n1" object, which will be related to the motor's speed. Based on these values, the motor will run between 0 and 255 revolutions for 5000 milliseconds and then stop. After entering these values, to start the program, the "b0" object on the Nextion screen and the Arduino, connected to the analog "pin1" yellow button, will serve the same function. Whenever the analog "pin1" button or "b0" object is pressed, the motor will start running again and stop when pressed again. In case of an emergency while the motor is running, there will be a red button connected to analog "pin2" to stop the motor. When the "pin2" button is pressed, the running program will stop immediately, and the green LED will turn off. To restart the program, we will need to press the "Dual State Button" button. All of this system will be controlled by the "dual state button" object on the Nextion screen. When the dual-state button is open, the system will be ready to run, and the position of the dual-state button will be indicated by the green LED connected to digital "pin 12". I want to create a project that operates in this way. What is the cost of such a project?

  • @x_x8491
    @x_x8491 2 роки тому +1

    جميل

  • @marvelfans0
    @marvelfans0 7 місяців тому

    Can i make this project using esp8266

  • @MrIn-qv3ko
    @MrIn-qv3ko Рік тому

    how this looping ?

  • @LoicSokoudjou
    @LoicSokoudjou 5 місяців тому

    Can i have the code please?

  • @herosoundsystem3652
    @herosoundsystem3652 2 роки тому

    Super brother

  • @Rachitkivines
    @Rachitkivines 2 роки тому

    My 16x2 display don't have sda scl converter circuit connected that is connected in your lcd, plz make this circuit with this same 16x2 lcd without sda scl wires,

    • @anokhautomation4453
      @anokhautomation4453 2 роки тому

      Buy an I2c module

    • @Rachitkivines
      @Rachitkivines 2 роки тому +1

      @@anokhautomation4453 i know that😅 but by modifying the code it will also work.

    • @ViralScience
      @ViralScience  2 роки тому

      Replace the I2c library with the regular liquidcrystal library and initialize the pin numbers, code will be the same

    • @Rachitkivines
      @Rachitkivines 2 роки тому

      @@ViralScience That's the answer i was watin for, Thanx👍

    • @f999b7
      @f999b7 Рік тому

      @@ViralScience عندي الشاشة 2*16 مع المحول ولكن لا لا ويظهر شيء اين المشكله . شكرا لتعاونك معنا مقدما
      @ViralScience I have the screen 2 * 16 with the adapter, but nothing appears, where is the problem? Thanks for your cooperation in advance

  • @hfizuddin8996
    @hfizuddin8996 11 місяців тому

    bro why i cannot download your code,

  • @Rahulborahsurroundings
    @Rahulborahsurroundings 2 роки тому

    what is the name of the simulator

  • @Allinchannel123
    @Allinchannel123 Місяць тому

    Sir can you please send link of code

    • @Moon___man
      @Moon___man Місяць тому

      he links the project in his description which has a download link to the code

  • @shanmugapriyan6325
    @shanmugapriyan6325 9 місяців тому

    sir small help is need

  • @EmadBahrehmand
    @EmadBahrehmand 5 місяців тому

    For god sake give me the code i really need that

  • @gep8639
    @gep8639 2 роки тому

    Good

  • @rhoula
    @rhoula Рік тому

    can someone please help me. I'm trying to make a feeder for my rabbits and need to feed them every 8 hours. I'm trying to come up with something that will go on for few seconds then stops then goes on again after 8 hours and so on. Please help me. Thank you so much!

  • @galaxytwix1980
    @galaxytwix1980 Рік тому

    hello good day

  • @dhruvinvastarpara3318
    @dhruvinvastarpara3318 2 роки тому

    Subpar bro

  • @johnnoemartinez8712
    @johnnoemartinez8712 2 роки тому

    THIS IS NOT WORKING, DONT BE FOOLED BY OTHER COMMENTS.

  • @CarlosFlores-wn1xt
    @CarlosFlores-wn1xt 6 місяців тому

    bad bad fake code error

  • @AyokoNa-h7c
    @AyokoNa-h7c 2 місяці тому

    Kunyare nagest q

  • @drakatislit
    @drakatislit 2 роки тому

    Noice.Dont pin this