Arduino Timer Control Relay Devices

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 124

  • @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

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

    Video quality much better this time👍👍

  • @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.

  • @MarkGoesOutside
    @MarkGoesOutside 3 місяці тому +1

    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

    • @mayur_kumar
      @mayur_kumar 19 днів тому

      The relay nodes can be used in such a way that the bulb or any device and turned off or on depending on the terminal where you connect the wires when the timer counter is finished.

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

    Kindly use RTC in this project as well

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

    Do you have a project with a iot solar monitor system

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

    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.

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

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

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

    One question , How are you powering the arduino nano?

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

    Thx!! you saved my life //from korea

  • @Trapnast
    @Trapnast 23 дні тому

    hi can you make light switch with RFID and timer?

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

    Superb work sir

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

    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?

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

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

  • @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

  • @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.

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

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

  • @pompacerdas
    @pompacerdas 6 місяців тому

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

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

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

  • @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

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

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

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

    What simulator did you use sir?

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

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

  • @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

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

    Can I use this circuit without the relay module?

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

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

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

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

  • @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.

  • @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

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

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

  • @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 10 місяців тому

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

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

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

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

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

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

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

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

    Hi can I add push botton switches to power te lights

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

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

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

    its working. i made it clear. some modification

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

    Can you please give me the library Countimer.h

  • @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.

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

    Where can I found the code

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

    Bonjour j’aimerais avoir le programme du projet

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

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

  • @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

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

    can i get the link for the fritzing library

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

    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?

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

    Cant download the code help me pls.

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

    How to set time on arduino ds3231 rtc with switches

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

    Lcd .begin (); error , how to solve

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

    how to instal port usbserial 110 sir ?

  • @Wolforce
    @Wolforce 5 місяців тому +6

    this explains nothing.

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

    Thank You So Much 💓

  • @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,

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

      @anokhautomation ramesh nandanam 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

  • @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.

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

    Can i make this project using esp8266

  • @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 ?

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

    Can i have the code please?

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

    Where's the complete code

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

    how to make with OLED?

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

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

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

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

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

    Beautifull and usefull !

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

    Nice project

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

    bro why i cannot download your code,

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

    how this looping ?

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

    what is the name of the simulator

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

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

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

    Sir can you please send link of code

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

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

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

    جميل

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

    sir small help is need

  • @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!

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

    Super brother

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

    Nice ❤

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

    impressive

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

    hello good day

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

    Good

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

    Subpar bro

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

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

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

    Kunyare nagest q

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

    For god sake give me the code i really need that

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

    bad bad fake code error

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

    Noice.Dont pin this