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

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

    Very nice project

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

    Is it possible to change the code so that the clock 7-segment display brightness will reduce from 10:00 pm to 7:00 AM? How will the clock set the brightness AUTOMATICALLY to a low level at night time? Thanks.

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

      No, in this scenario it is not possible. Because, the anodes of the seven segment leds are not nonnected to separate gpios. We are switching each seven segment display one by one for some milli seconds. It is switching so rapidly that that human eyes interpret it a constant display. If the leds are connected to separate pwm enabled gpios the we might have controlled their brightness through pwm.

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

      @@shivamkurzekar1732 I understand your explanation. Thanks.

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

    I am trying to make your clock on breadboard. Already transferred the code to an Atmega IC. Connected a DS3231 and applied 5V to the circuit. Attached an led to the pin 15 as dot connection. The dot led flushes well. However, the piezoelectric buzzer connected with pin 3 is always high (active) and making sound. This sound should come out only when the alarm is activated or switches pressed. Do you have any idea why is the buzzer continuously sounding? Thanks.

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

    display of common cathode or common anode?

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

      Common Cathode

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

      @@shivamkurzekar1732 thx u! Another thing, what is the time zone displayed?

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

      @@electronicacc9176 It is set to 24 hours format.

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

      @@electronicacc9176 Independent of any particular time zone. You can set your time with the buttons.

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

    Thanks for presenting a nice project. Is this a 24 0r 12 hour clock?

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

      It is set to 24hr format.

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

      @@shivamkurzekar1732 How can I set it to 12-hour clock? Do I need to change the code? Thanks.

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

      @@asadulhuq just add this code snippet.
      hour = (hour==0)? 12 : (hour>12)? hour-12 : hour);

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

      @@shivamkurzekar1732 Thanks for your quick reply. Your code length is not short.. I have to find a suitable position in your code to insert the above statement.. I need a 12-hour clock. Because the clock has alarm feature, probably I have to add the new code line in several places.

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

      @@asadulhuqadd the line just after retrieving current hour value.

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

    Circuit diagram