Arduino Timer Control Relay Devices

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2021
  • 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.viralsciencecreativity.co...
    -----------------------------------------------------------------------------------------------------------------------
    Materials:-
    Arduino Nano/UNO
    LiquidCrystal I2c Display
    Relay Module
    Buzzer
    Push Buttons
    BreadBoard
    Bulb Holder Socket
    Wires
    -----------------------------------------------------------------------------------------------------------------------
    Follow me on:-
    Website:- www.viralsciencecreativity.com
    Facebook:- / viralscience20
    Facebook:- / viral.dodhia.73
    Instagram:- / viral_dodhia_
    Twitter:- / viral_science_
    --------- VIRAL SCIENCE © ----------
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @aperson9495
    @aperson9495 8 หลายเดือนก่อน

    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 ปีที่แล้ว

    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?

  • @franzcastellon3326
    @franzcastellon3326 9 หลายเดือนก่อน

    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.

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

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

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

    Video quality much better this time👍👍

  • @user-tw9kf6ww7f
    @user-tw9kf6ww7f 8 หลายเดือนก่อน

    What simulator did you use sir?

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

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

    One question , How are you powering the arduino nano?

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

    Hi can I add push botton switches to power te lights

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

    Do you have a project with a iot solar monitor system

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

  • @MrNanji
    @MrNanji 11 หลายเดือนก่อน

    Thank You So Much 💓

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

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

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

    Can I use this circuit without the relay module?

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

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

  • @bubu28100
    @bubu28100 29 วันที่ผ่านมา

    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?

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 2 ปีที่แล้ว +2

    Kindly use RTC in this project as well

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

    its working. i made it clear. some modification

  • @BrownToiletIsh
    @BrownToiletIsh 4 หลายเดือนก่อน +1

    Where does the electricty comes from?

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

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

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

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

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

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

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

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

  • @user-gm4iq7fe8q
    @user-gm4iq7fe8q หลายเดือนก่อน

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

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

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

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

    how to instal port usbserial 110 sir ?

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

    can i get the link for the fritzing library

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

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

  • @BrownToiletIsh
    @BrownToiletIsh 4 หลายเดือนก่อน +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

  • @hammadazhar4927
    @hammadazhar4927 3 หลายเดือนก่อน

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

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

    Thx!! you saved my life //from korea

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

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

  • @sreenand.k2706
    @sreenand.k2706 2 ปีที่แล้ว +1

    Superb work sir

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

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

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

    how to make with OLED?

  • @Shyamkumar-di5fu
    @Shyamkumar-di5fu 2 ปีที่แล้ว

    How to set time on arduino ds3231 rtc with switches

  • @BrownToiletIsh
    @BrownToiletIsh 4 หลายเดือนก่อน +1

    Can you please send me the links for the materials

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

    Nice project

  • @amarjeetKumar-uo9zr
    @amarjeetKumar-uo9zr 2 ปีที่แล้ว

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

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

    Beautifull and usefull !

  • @JordanNdombou-yo5px
    @JordanNdombou-yo5px หลายเดือนก่อน

    Bonjour j’aimerais avoir le programme du projet

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

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

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

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

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

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

  • @MrIn-qv3ko
    @MrIn-qv3ko 11 หลายเดือนก่อน

    how this looping ?

  • @Its_Shivansh17
    @Its_Shivansh17 4 หลายเดือนก่อน

    Hello bro
    Bro the screen is showing blocks

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

    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 ?

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

    impressive

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

    Can you please give me the library Countimer.h

  • @toksgagik9111
    @toksgagik9111 ปีที่แล้ว +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.

  • @marvelfans0
    @marvelfans0 2 หลายเดือนก่อน

    Can i make this project using esp8266

  • @hfizuddin8996
    @hfizuddin8996 7 หลายเดือนก่อน

    bro why i cannot download your code,

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

    what is the name of the simulator

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

    Nice project 👍👍

  • @ninoportales5736
    @ninoportales5736 29 วันที่ผ่านมา

    Cant download the code help me pls.

  • @itsknowledgebyspace6768
    @itsknowledgebyspace6768 3 หลายเดือนก่อน

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

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

    sir small help is need

  • @DanielMiller-fy5ip
    @DanielMiller-fy5ip ปีที่แล้ว +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 11 หลายเดือนก่อน

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

    • @himanshuprasad4113
      @himanshuprasad4113 7 หลายเดือนก่อน

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

  • @0124akash
    @0124akash 9 หลายเดือนก่อน

    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.

  • @BrownToiletIsh
    @BrownToiletIsh 3 หลายเดือนก่อน +2

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

  • @EmadBahrehmand
    @EmadBahrehmand 27 วันที่ผ่านมา

    Where's the complete code

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

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

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

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

    جميل

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

    Super brother

  • @bagaindocgem9534
    @bagaindocgem9534 ปีที่แล้ว +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

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

  • @LoicSokoudjou
    @LoicSokoudjou 25 วันที่ผ่านมา

    Can i have the code please?

  • @jayaprakash.d9836
    @jayaprakash.d9836 ปีที่แล้ว +1

    Lcd .begin (); error , how to solve

    • @30bkg
      @30bkg 10 หลายเดือนก่อน

      same problem here

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

    Subpar bro

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

    Good

  • @cihansalcioglu4222
    @cihansalcioglu4222 6 หลายเดือนก่อน

    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?

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

    hello good day

  • @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 11 หลายเดือนก่อน

      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

  • @EmadBahrehmand
    @EmadBahrehmand 27 วันที่ผ่านมา

    For god sake give me the code i really need that

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

    This is the only video on TH-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.

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

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

    I will sell it in my country. 😊

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

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

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

    Noice.Dont pin this

  • @CarlosFlores-wn1xt
    @CarlosFlores-wn1xt หลายเดือนก่อน

    bad bad fake code error