4-Digit Countdown Timer (in minutes and seconds)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

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

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

    Thank You so much ! Best gift for Christmas

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

    Nice Video!
    Can i buy a timer like this, which is working with a battery and a button? I just need a countdown going down from 15 minutes each time the button is pressed.

    • @TheFakeyCakeMaker
      @TheFakeyCakeMaker 10 หลายเดือนก่อน +1

      Forget asking anything here. I've been looking for something similar, I wanted to build it and contacted this guy asking him to show a simplified version of this but to be honest he was bit of a wanker so don't expect him to be helpful. You're probably best of getting a digital timer that you can set and goes back to 15:00 when done. Amazon like most things.

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

      @@TheFakeyCakeMaker Thanks for the help

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

    How can I start stop and reset it from a node red dashboard

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

    (SEMICOLON DISPLAY ISSUE )
    try '0b01000000' instead of '0x80>>3'

    • @MinePark.
      @MinePark. ปีที่แล้ว

      Thank you very much!

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

    The unsigned long variable timeRemaining has to be long. An unsigned long never becomes negative and timeRemaining always remains positive, meaning you can't break out of the countdown loop. This is the answer to the questions below as to how to stop the time.

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

    Is the wiring and code somewhere?

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

    Is it possible to add a tick to this program? The only ones that I have seen use a delay.

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

    At 8:22 You say if you want something to happen at the end of the countdown you can place it in the loop function but the loop function in your video is outside the frame so where should it be placed? xD I have tried a few options but it never plays at the end, it just resets.

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

    the code is not hter in the link also

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

    thank you good sir. you remind me that unsigned long exist :D so i've been trying to make a timer with 8 hours but fail since i declare it as int >< but watching you inspire me hahaha thank you really :)

  • @nilavazhagan3659
    @nilavazhagan3659 6 ปีที่แล้ว

    how to blink the colon in 1sec on/off ,consider digital clock

  • @UnveiledRacer48
    @UnveiledRacer48 6 ปีที่แล้ว

    Great video mate, I was looking for something like this. Also if use that code in a "bomb type puzzle case" how would you change the code to subtract 5 mins from the clock for a "wrong" input (not completing understanding Arduino code yet). Any help would be great. Thanks.

    • @PlayfulTechnology
      @PlayfulTechnology  6 ปีที่แล้ว

      So, currently there's a line of code that looks like "timeRemaining = timeLimit - millis()". If you wanted to adapt that to include subtractions, you'd change it to something like "timeRemaining = timeLimit - millis() - penalties" instead.
      "penalites" would be an unsigned long variable, initialised at 0. Every time the player made a wrong input, you could add, say, a minute penalty by saying "if(playerMadeWrongInput) { penalties += 60000; }"

  • @carlosc.2173
    @carlosc.2173 5 ปีที่แล้ว

    Just Brilliant...... How do I make a beeper sound when the time is over? some help

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

      buy a 5V buzzer and give it 5V when the timer ends for a second or something.

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

    COULD YOU YOUR CODE PLISSSSSS, I CANT FIND YOUR CODE

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

    Nope, the original countdown works, but the adjustments in code for the minute/sec countdown produces no display, although the code did compile - same hardware setup for the 5000 second countrdown

  • @NoName-sw5ye
    @NoName-sw5ye 3 ปีที่แล้ว

    anyone can tell me what "_time_" is?

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

    Hi Sr. nice video and well explained, can you add to the timer a 4x4 Keypad to choose the time that I want? and how to do it? I study electronic 20 year ago, so I just started with Arduino, but has been so hard to understand things, I'm not. programming person, so can you help me with that?

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

    Hi there!
    Thank you for the video and the explanation!
    Some why, my separator is ":" not showing

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

    Hello Sir.. I am new to Arduino, I am planning to do project which will glow the light when the timer reaches 0 and I want this to be done for one your clock which is 31536000 seconds to 0 seconds.. need your input.

  • @hannaanjelicaong9719
    @hannaanjelicaong9719 6 ปีที่แล้ว

    Is the code possible to be used on a 4 digit led strip made clock/timer?

  • @sebaspower9142
    @sebaspower9142 6 ปีที่แล้ว

    Hi! How can i stop the counter when it is in zero? I try and i cant do it. Thank you.

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

      I have the same problem. When the counter gets to zero it starts at 2:47 and counting down. Then at zero it starts at one hour again. Does anyone know how to stop at zero? And also how to stop the counting if something happens. (Read switch or something)

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

      The unsigned long variable timeRemaining has to be long. An unsigned long never becomes negative and timeRemaining always remains positive, meaning you can't break out of the countdown loop.

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

    How do you stop the time?