Arduino Timer Control Relay Devices

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 131

  • @aperson9495
    @aperson9495 Год назад +2

    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 года назад +5

    You deserve love and appreciation

  • @chanakyashukla5820
    @chanakyashukla5820 Год назад +2

    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.

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

  • @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 5 месяцев назад +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 2 месяца назад

      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.

  • @raction9232
    @raction9232 2 года назад +1

    Do you have a project with a iot solar monitor system

  • @Alissaee
    @Alissaee Месяц назад

    Can i use Arduino uno instead of nano ?

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

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

  • @diyrobotronics
    @diyrobotronics 3 года назад

    Video quality much better this time👍👍

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

  • @reymundoacerit6353
    @reymundoacerit6353 3 года назад

    Hi can I add push botton switches to power te lights

  • @LuisPerez-id5ce
    @LuisPerez-id5ce 2 года назад

    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

  • @BossianAyok
    @BossianAyok Год назад

    What simulator did you use sir?

  • @bubu28100
    @bubu28100 9 месяцев назад

    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?

  • @raffaelepaterniti5417
    @raffaelepaterniti5417 3 года назад

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

  • @Trapnast
    @Trapnast 3 месяца назад

    hi can you make light switch with RFID and timer?

  • @galaxytwix1980
    @galaxytwix1980 2 года назад

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

  • @fatinshakirahhisham
    @fatinshakirahhisham Месяц назад

    what website did you use for the circuit simulation? really want to know

  • @justin-kelsey
    @justin-kelsey 2 года назад +2

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

  • @SayanElectronics
    @SayanElectronics 3 года назад

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

  • @PeteConstantine
    @PeteConstantine 3 года назад +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?

    • @RMTube
      @RMTube 2 месяца назад

      arduino is powered by usb, micro usb, relay have 2 sides one where 5volts of arduino jumper wire is connected, and in the other side it can go upto 220 volts with 5 or 15 Amps depending on the relay

  • @ashwinsidharth2453
    @ashwinsidharth2453 2 года назад +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

  • @hammadazhar4927
    @hammadazhar4927 Год назад

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

  • @sreenand.k2706
    @sreenand.k2706 3 года назад +1

    Superb work sir

  • @dukenukem445
    @dukenukem445 Год назад

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

  • @milespeterson5049
    @milespeterson5049 2 года назад

    Can I use this circuit without the relay module?

  • @saifafarouq4021
    @saifafarouq4021 2 года назад

    can i get the link for the fritzing library

  • @minaagniabudiani144
    @minaagniabudiani144 2 года назад +2

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

  • @JordanNdombou-yo5px
    @JordanNdombou-yo5px 10 месяцев назад

    Bonjour j’aimerais avoir le programme du projet

  • @alexbarretogranada4633
    @alexbarretogranada4633 9 месяцев назад

    One question , How are you powering the arduino nano?

    • @RMTube
      @RMTube 2 месяца назад +1

      micro usb

  • @summerfun6114
    @summerfun6114 Год назад

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

  • @niknur1965
    @niknur1965 7 месяцев назад

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

  • @DJGalia
    @DJGalia 2 года назад

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

  • @Moyskieeee
    @Moyskieeee Год назад

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

  • @jayaprakash.d9836
    @jayaprakash.d9836 Год назад +1

    Lcd .begin (); error , how to solve

  • @Alex-pd6iu
    @Alex-pd6iu 6 месяцев назад

    Where can I found the code

  • @hatlongtv1910
    @hatlongtv1910 2 года назад

    how to instal port usbserial 110 sir ?

  • @ももい
    @ももい 2 года назад

    Thx!! you saved my life //from korea

  • @harveyismael8088
    @harveyismael8088 2 года назад +1

    Can you please give me the library Countimer.h

  • @soovui
    @soovui 3 года назад

    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.

  • @MrIn-qv3ko
    @MrIn-qv3ko Год назад

    how this looping ?

  • @Shyamkumar-di5fu
    @Shyamkumar-di5fu 3 года назад

    How to set time on arduino ds3231 rtc with switches

  • @AntonioGutiérrezLópez-w4b
    @AntonioGutiérrezLópez-w4b 10 месяцев назад

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

  • @bilalmuhammed3987
    @bilalmuhammed3987 Год назад

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

  • @soriatel
    @soriatel 2 года назад

    how to make with OLED?

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 3 года назад +2

    Kindly use RTC in this project as well

  • @benlayshar
    @benlayshar Год назад +1

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

  • @marvelfans0
    @marvelfans0 11 месяцев назад

    Can i make this project using esp8266

  • @electroman1556
    @electroman1556 2 года назад

    its working. i made it clear. some modification

  • @tonyvarghese75
    @tonyvarghese75 3 года назад

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

  • @Rachitkivines
    @Rachitkivines 3 года назад

    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 3 года назад

      @anokhautomation ramesh nandanam i know that😅 but by modifying the code it will also work.

    • @ViralScience
      @ViralScience  3 года назад

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

    • @Rachitkivines
      @Rachitkivines 3 года назад

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

  • @jhonpatrickcajuguiran1292
    @jhonpatrickcajuguiran1292 2 года назад

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

  • @pompacerdas
    @pompacerdas 8 месяцев назад

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

  • @ninoportales5736
    @ninoportales5736 9 месяцев назад

    Cant download the code help me pls.

  • @MrNanji
    @MrNanji Год назад

    Thank You So Much 💓

  • @Rahulborahsurroundings
    @Rahulborahsurroundings 2 года назад

    what is the name of the simulator

  • @electronic7979
    @electronic7979 3 года назад +1

    Nice project

  • @PhG1961
    @PhG1961 3 года назад

    Beautifull and usefull !

  • @LoicSokoudjou
    @LoicSokoudjou 9 месяцев назад

    Can i have the code please?

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

  • @hfizuddin8996
    @hfizuddin8996 Год назад

    bro why i cannot download your code,

  • @shanmugapriyan6325
    @shanmugapriyan6325 Год назад

    sir small help is need

  • @EmadBahrehmand
    @EmadBahrehmand 9 месяцев назад

    Where's the complete code

  • @qadeer1685
    @qadeer1685 3 месяца назад

    Nice ❤

  • @Wolforce
    @Wolforce 7 месяцев назад +6

    this explains nothing.

  • @itsknowledgebyspace6768
    @itsknowledgebyspace6768 Год назад

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

  • @herosoundsystem3652
    @herosoundsystem3652 3 года назад

    Super brother

  • @Allinchannel123
    @Allinchannel123 5 месяцев назад

    Sir can you please send link of code

    • @Moon___man
      @Moon___man 5 месяцев назад

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

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

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

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

  • @electroman1556
    @electroman1556 2 года назад

    impressive

  • @redou85
    @redou85 3 года назад

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

    • @Rachitkivines
      @Rachitkivines 3 года назад

      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.

  • @x_x8491
    @x_x8491 2 года назад +1

    جميل

  • @dhaniwalnut6133
    @dhaniwalnut6133 2 года назад

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

  • @amarjeetKumar-uo9zr
    @amarjeetKumar-uo9zr 3 года назад

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

  • @galaxytwix1980
    @galaxytwix1980 2 года назад

    hello good day

  • @dhruvinvastarpara3318
    @dhruvinvastarpara3318 3 года назад

    Subpar bro

  • @gep8639
    @gep8639 3 года назад

    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!

  • @johnnoemartinez8712
    @johnnoemartinez8712 2 года назад

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

  • @CarlosFlores-wn1xt
    @CarlosFlores-wn1xt 10 месяцев назад

    bad bad fake code error

  • @drakatislit
    @drakatislit 3 года назад

    Noice.Dont pin this

  • @AyokoNa-h7c
    @AyokoNa-h7c 6 месяцев назад

    Kunyare nagest q

  • @EmadBahrehmand
    @EmadBahrehmand 9 месяцев назад

    For god sake give me the code i really need that