Arduino Real Time 6 Digit Digital Clock using 2.3" 7 segment display with RTC ds1307

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2017
  • In this tutorial, you can learn how to make a digital clock using a large 7 segments 2.3" display (Common cathode) with RTC ds1307.
    If you want to build your own customized Arduino Project or PCB Design. I can help you via Fiverr. You can visit my Fiverr account following the link below
    -----------------------------------------------
    Arduino Programming Fiverr link: www.fiverr.com/share/2AVdW8
    PCB Design Fiverr link: www.fiverr.com/s2/266cae110b
    ____________________________
    Circuit requirement:
    ____________________________
    * Arduino Uno: amzn.to/3kX5WYn
    * DS1307 RTC: amzn.to/2S8PeZZ
    * 7 segment 2.3'' (Common cathode): amzn.to/347G3yp
    * 74Hc595 shift resister: amzn.to/2HKTsoJ
    * CD4511 7 segment driver: amzn.to/2G97YpG
    * CR2032 3V Lithium Battery: amzn.to/30lSndo
    * CR2032 battery holder: amzn.to/348uuHg
    * 32.768 khz crystal oscillator: amzn.to/36jsyhU
    * 8 pin ic base: amzn.to/30infv3
    * 7-12v voltage source: amzn.to/36htF1t
    * 10k resistor: amzn.to/36htF1t
    -----------------------------------------------------------------------------
    Related video:
    -----------------------------------------------------------------------------
    DS3231 RTC with Arduino: • How to Interface DS323...
    DS1307 RTC with Arduino: • Real Time clock using ...
    -----------------------------------------------------------------------------
    Other Video Tutorial
    -----------------------------------------------------------------------------
    * Arduino based rader system : • Arduino Based Radar Sy...
    * Lcd control by 3 wire : • Arduino Lcd 16*2 Displ...
    * Room temperature measurement : • Video
    * Led matrix scrolling display: • Arduino Led Scrolling ...
    * RFID based security system: • RFID-RC522 Based Secur...
    * Arduino audio player : • Arduino Audio Player w...
    * Arduino clock : • Real Time clock using ...
    * Automatic room temperature control : • Automatic Room Tempera...
    -----------------------------------------------------------------------------
    Circuit schematic
    -----------------------------------------------------------------------------
    photos.app.goo.gl/hu9MClq49EV...
    -----------------------------------------------------------------------------
    RTC library
    -----------------------------------------------------------------------------
    drive.google.com/open?id=1OD9...
    -----------------------------------------------------------------------------
    Source Code
    -----------------------------------------------------------------------------
    drive.google.com/open?id=1TqQ...
    -----------------------------------------------------------------------------------------------------------
    Audio Source:
    Smells Like Summer (Original Mix) by Del / del-sound Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0 creativecommons.org/licenses/b... Music promoted by Audio Library • Smells Like Summer - D...
    We Are One by Vexento / vexento / vexento Music promoted by Audio Library • We Are One - Vexento (...
    #Arduino_Real_Time_6_Digit_Digital_Clock_using_2.3_7_segment_display_with_RTC_ds1307
    #digital_clock_with_7_segment
    #arduino_7_segment_clock_project
    #arduino_based_digital_clock_with_ds1307
    #arduino_digital_clock_code
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Onk sundr hoica bro..

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

    Thanks for this tutorial and links, I respect the effort. 👍

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

    Can we use common annode display in stead of common cathode displays , any change required in Circuit diagaram

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

    Great project done, only time adjustment switches are not available in this.

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

    Nice job bro!
    I would like to do the same project however I only have this OASIS TOS-50101AS-B 7-segments. Could I easily replace these to your 7 segment 2.3" display?
    Thanks in advance!

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

    I bought a kit from eBay a few weeks ago. It is a smaller (12 mm), stand alone unit. I paid US $ 2. I haven't yet assembled it. Yours is big. Can you give an idea about price? Most of the time, readymade stuff are cheaper. You can get a 25 mm size display clock with alarm and a nice radio at around US $ 8 (the cheapest brand). But the real satisfaction may be building your own. Thanks

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

    Hi. can I use 5-inch common cathode 7 segments on this circuit?

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

    hi! nice job! i have a question on our code, i don't understand the utility of the "int Digit[6]" part, can u explain please??

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

    I've read that 2.3 inches displays requires 20 or 30mA depending on color. To sustain the same level of luminosity when using multiplexing, I assume a higher peak current should be used. To be more precise, each segment gets switched on for 1/7 of the time and each digit gets switched on 1/6 of time.
    Since CD4511 has a maximum output of 15mA and there are 6 digits, a digit gets maximum 15/6 mA, i.e. 2.5mA when it is switched on. But it is powered only 1/7 of time. So the equivalent current that powers a segment is 2.5mA/7 = 0.36mA. At this current I assume the display will be visible only in dim light.
    What is your opinion?

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

      Did it work trying same circuit?

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

    Thank u sir !!!
    I have made with really big size segments 8inch by 4inch it also changes colours with rgb leds thanks

  • @ShivamSingh-xf8nb
    @ShivamSingh-xf8nb 5 ปีที่แล้ว

    Helpful😊

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

    Sir i am using common anode 7 segment display how can i use it. If any changes in circuit or code.

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

    Bro please provide purchase link for 7 segment display you have used in circuit.
    Thanks

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

    great work!!

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

    Hi Friend, I like this video very much, i am also having this project at university. So I use six digits seven segment common anode and arduino uno to make a stopwatch, I mean two digits for mil-second, two digits more for second and two others digits for minute. Could you help me please to suggest me the codes?
    Thank,

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

    Hi. Recently, I am looking for materials about replacing multiplex display with another, which saves Arduino pins. Yours is useful, especially the code explains a lot - thanks. BTW why not full 69? : D I know, I know - everything is in the code. Regards.

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

    Please upload another video with common anode display.

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

    Bro i have connected as you connect, but i cant get the actual output from 7 segmants, can you help me please?
    Thank you.

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

    I have an error in your code. The error is expansion of macro ' _I2C_ READ'
    mode = Wire._I2C_READ();
    return code is not 0
    I think need Wirelib.
    Are you give me?

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

    i dont understand the shorted pin on every segment and what is the pin of those shorted segment ?

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

    wow bro...

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

      thanks

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

      Badazz man! Very cool! Might you provide a schematic? For your build? I have the exact diplays and would like to make a:
      6 Character, 7 segment clock
      for my living room but I can't find any
      "6 character, 7 Segment displays run from Arduino which are not all linked together.
      Meaning, all the tutorials are for 7 segment , 6 character displays.
      Not 6, individual character dispalys, all linked together... the way you are doing here. This is the closest I have found so far, to what I want to create.
      Any schematics or code would be very appreciated! I'm a novice to electronics but i can follow directions and my soldering skills are above average.
      To sum up. I am in need of:
      Schematic of 6 "single character", 7 segment displays run from a Uno. If possible. With 2 blinking colon leds would be ideal. I can figure out most of the build if I just had a schematic explaining how to wire more than just 1 single character, 7 segment display, to an Arduino...
      I hope that makes sense.
      Appreciate any info...

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

    Ohh Congratulations from Belgium. Could you make a same project but only a 74HC595 without CD4011 and only 4 digits and no 6 digits and common anode (i haven't digits common kathode). Could you help me for this project? Because I do not have enough knowledge of the code. Thank you very mutch.

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

    Can i use this program for arduino mega,please help me,i need it

  • @Loki-lz5us
    @Loki-lz5us 6 ปีที่แล้ว +1

    If I want to add buttons to change the time, what code modifications I will have to do ?

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

    may i get the clear circuit diagram?plz

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

    Its not working on (same size) 4 digit seven segment cathod display. All 4 led is glowing continuously. 8888😢.
    What change need to do in circuit or code. Pls help

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

    bro i have made as it is u have made but the clock is not working all the segments are lighting up its not working

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

      Same problem am having here is not working aswell just got 888888

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

    which capacitor you had used in RTC ds 1307 in pin 1 & 2?

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

      No capacitor require for RTC ds 1307.

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

      RTC Ds 1307 's Pin 1 & 2 is open?

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

      No. 32.768 khz crystal oscillator connected with pin 1 and 2.

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

      Best option, use a pre-made DS1307 module... It has battery inbuilt, and reliable....
      You just have to connect the A4 and A5 pins of the UNO to SDA and SCL
      And power pins to 5V and GND

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

    hi bro, im having 7 segment common cathode 4 digit display and rtc 1307 clock module and arduino, Im able to set clock on ds1307 but finding difficulty in displaying it on display im having, Can u suggest arduino code for 7 segment display in my situation.. Thanks..

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

      Here we interface 4 digit 7 segment display : th-cam.com/video/MGhw9_ql6YQ/w-d-xo.html

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

    How show day month year

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

    Hi my friend. .I was looking at the schematic you loaded. Can you show me the pin outputs of the 7 segment display you are using.Other 7 segments are not similar to display pin outputs

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

      th-cam.com/video/PTyMos_w91U/w-d-xo.html
      For this video i am using common anode 7segment display. But in this video i am using common cathode 7 segment display. Both 7 segment output pins are same .

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

      why did you connect pins 2,3,4,5 of the 78HC595 to the display + pin.

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

      There is an error in your circuit. I could not run your circuit on the proteus

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

      The pins 2,3,4,5,6,7 of the 74Hc495 connect to the 7 segment display common (cathode - ) pin for multiplexing.
      Which display are you used ?

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

      you have also used pins 8,7,6,5 on cd4511. Look at the picture you took

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

    Sir plz explain which line going ic to 7 segment.. Plz sir i need your help.. I don't know what's (segment a b c d e f g)pin going to ic & what's digit pin which number ic.. Can you help me in whatsapp?

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

    brother help me can i use common anode display plz reply

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

    please see the Circuit Diagram for common cathode maybe there is Something somthing rong

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

    plz give me the program

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

    Source code link not opening plz another way

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

    voltage on 7segment?

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

      5V max and always treat them as individual led, so use 330 Ohm

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

    We had used 8x512 led scrolling. Same is displaying in first 3 matrices and the same is repeating in rest of 3..its not continues.how can I overcome with it.

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

    I don't know how your ckt is working cause you have connected "E" and "DOT" of display so they must glow together but in video they don't. I don' t know how you managed this.... please describe

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

      E and Dot pins are not short here, they are common pin of 2.3” display.

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

      @@RazibShahadat in ckt diagram pic it's clearly visible that E and dot are connected... Please share a clear ckt diagram

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

      @@saikatd9037 The pin configuration of 0.56" inch and 2.3" inch display is different.

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

      @@RazibShahadat ok...Can u please make a ckt using small 7seg display

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

      @@RazibShahadat I need the cct diagram for small 7 seg display

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

    Can I use common cathode display plz reply 😭

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

      Yes, here I was using common cathode display.

  • @Loki-lz5us
    @Loki-lz5us 6 ปีที่แล้ว

    I'm having problems with the code, Arduino IDE says that the file can be opened. Where can I find the code so I can copy it ?

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

      are you download the code?

    • @Loki-lz5us
      @Loki-lz5us 6 ปีที่แล้ว

      I've downloaded the code and when I try to open it with arduino IDE says that can be opened

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

      you can try this : drive.google.com/open?id=14ZBzQh8HL6LDm-8jebCrkkEhzCziQR_8

    • @Loki-lz5us
      @Loki-lz5us 6 ปีที่แล้ว

      Thanks

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

    RTC_ds3231 code not executed

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

    how can i get 24h Format ? thanks

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

      th-cam.com/video/ZS4964sOEr8/w-d-xo.html

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

    Pcb and code?

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

    Where time set switch? This Project is unsuccessful.

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

    I followed it back to back but it's not working. The 6 digits were just showing 888888. So sad I have work d so hard before I discovered it

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

    need a clear circuit diagram.

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

      my.pcloud.com/publink/show?code=XZ2XqV7Z7uJN8l8tMXYp2BMjyEmzCmqveeEX

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

    sa marche pas ya pas boutone hour et boutone minute pour reglage hour minute

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

    is it relly works then i will try plz reply

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

    Show the Ckt diagram please

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

      Please see the full video to find the diagram or you can find the diagram link from video description.

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

    Sir, please tell me how to reset time. Please reply.
    Thanks

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

      Remove your RTC battery.

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

      Sir, i mean after giving power to click, how can i reset hour and minute manually by pressing push button.
      Thanks for your reply

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

      Please reply

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

    Is there no button for setting the time?

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

    will this show boht time and date ????????

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

      It's designed only for the time.

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

      @@RazibShahadat thnq so much for reply.what is format ? 12 or 24 ??

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

      @@mdarafathossain7690 12 hours format.

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

      @@RazibShahadat thnq so much for reply.you very helpfull man .thnq
      i want to 74hc595 scrolling disply date and clock.plz this vedio link give me

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

    When you have a micro like the Uno with 14 D & 6 A I/O pins, why would you make a design using shift registers & 7 seg drivers? They are totally unnecessary.
    You assign 7 D pins to LED segs and 6 D pins (1 each) to the six individual displays. 2 A pins carry SDL & SCA lines to your RTC chip. You still have 4 A and 1 D pin left open.

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

    all 7 segment give same display . and not showing time show same numbers,

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

    just to show?

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

    It's not working bro plz help 😭

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

      Where is the problem?

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

      @@RazibShahadat it's not showing time

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

      @@RazibShahadat and it's working without connecting 5 v supply

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

      @@RazibShahadat can u plz give me the code without rtc

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

    No reply no subscribe