I built a digital clock. You can look what is inside

Sdílet
Vložit
  • čas přidán 12. 02. 2023
  • This is proof that it is not as complicated as it may seem. Most of the things we use are composed from only basic and essentially simple components. This digital clock may be the most useless clock in the world, but I built it for fun. In the end, it was a good few hours. I definitely recommend trying Digital Logic Sim, you can find it at sebastian.itch.io/digital-log....
    Please visit Sebastians channel :::: / @sebastianlague
    Music ::::
    Cobie Sample and True Friends by JBlanked

Komentáře • 100

  • @davyzeradaspalmera
    @davyzeradaspalmera Před rokem +54

    Bro took digital clock to a whole new level

    • @cihlacezet231
      @cihlacezet231  Před rokem +1

      THNX, but no this is basic level i thought. It is not something "new" it is how simply digital clocks are made by logic.

    • @BasilLikesScripting
      @BasilLikesScripting Před rokem +6

      @@cihlacezet231 i think he meant it as a joke cus u made this is *digital* logic sim

    • @Curious_Seeker
      @Curious_Seeker Před 4 měsíci +1

      ​@@cihlacezet231I really loved your project, i wanna make a digital clock in a game but ive been struggling a lot so bro could you make another video showing everything or share the file with us?

    • @cihlacezet231
      @cihlacezet231  Před 4 měsíci +1

      @@Curious_Seeker thnx for the comment. I can make longer version with detailed explanation of everything. I will try my best to find time for that.

    • @Curious_Seeker
      @Curious_Seeker Před 4 měsíci

      @@cihlacezet231 welcome brother, I'm subscribed and will be waiting for it 😄

  • @m1chol
    @m1chol Před rokem +41

    Cool! I'm actually building one in real life

  • @bullworth1123
    @bullworth1123 Před rokem +1

    Thanks!

  • @ChaosContrl
    @ChaosContrl Před rokem +20

    Friendly reminder for everyone watching and wondering about what software this is: look at the description. You don't even need to press "show more" to see it on PC.

  • @England91
    @England91 Před rokem +13

    The guy that made this software also has a channel so it would also be good to link that as well
    Edit: just saw it in the description

  • @sqkriwvy
    @sqkriwvy Před rokem +1

    Another very cool sandbox game to play and do crazy stuff like that in

  • @elektron2kim666
    @elektron2kim666 Před rokem +4

    I'm quite happy about The CPU.

    • @Floor_fill_the_gaps
      @Floor_fill_the_gaps Před měsícem

      Overload!
      031010010010030030030030030010010010010010030160000053170171030010010010030173170043040160212000030010010143172160152270210212000000010010030162160342190210212000030010010143172160532240210212000000010010030362160212560210212000030010010010030160212480210362030010010030000000053303303303142141050030010000000010042301141010042141010010030010010030020030010010030010100010910010904060312121207070205010010010010010010010010010010010010010010010010010010010010010010010000010000000010010010010010010030010010043163040010000010010010010010010053173083292163290040010010010010010010010010212010212010160150010010010010030010010050301211302211041190010010010010080000000053052010212010000240010010010010410000010000010010162010010470010010010010510010010000010010162010010480010010010000500010043213163213303040000400000010010043290423293213040010042300211301051010010042041000042161041010010210000430212010010010010010010010010010000053213303052010010010010010010010010010010010010020010010100010910010904060312121207070205010010010010010010010010010010010010010010010010010010010010010010010000010000000010010010010010010030010010043163040010000010010010010010010053173083292163290040010010010010010010010010212010212010160150010010010010030010010050301211302211041190010010010010080000000053052010212010000240010010010010410000010000010010162010010470010010010010510010010000010010162010010480010010010000500010043213163213303040000400000010010043290423293213040010042300211301051010010042041000042161041010010210000430212010010010010010010010010010000053213303052010010010010010010010010010010010010020010010031010010010030030030030030010010010010010030170043040050051030010010010030173170212210210212000030010010143172450162270210212000000010010030172430162190210212000030010010143172360162240210212000000010010030172160162210210212000030010010010030160162480210162030010010030000000053303303303052001000030010000000010042301041010002001010010030010010030020030010010030010031010010010030030030030030010010010010010030170043040050051030010010010030173170212210210212000030010010143172450162270210212000000010010030172430162190210212000030010010143172360162240210212000000010010030172160162210210212000030010010010030160162480210162030010010030000000053303303303052001000030010000000010042301041010002001010010030010010030020030010010030010100010910010904060312121207070205010010010010010010010010010010010010010010010010010010010010010010010000010000000010010010010010010030010010043163040010000010010010010010010053173083292163290040010010010010010010010010212010212010160150010010010010030010010050301211302211041190010010010010080000000053052010212010000240010010010010410000010000010010162010010470010010010010510010010000010010162010010480010010010000500010043213163213303040000400000010010043290423293213040010042300211301051010010042041000042161041010010210000430212010010010010010010010010010000053213303052010010010010010010010010010010010010020010010100010910010904060312121207070205010010010010010010010010010010010010010010010010010010010010010010010000010000000010010010010010010030010010043163040010000010010010010010010053173083292163290040010010010010010010010010212010212010160150010010010010030010010050301211302211041190010010010010080000000053052010212010000240010010010010410000010000010010162010010470010010010010510010010000010010162010010480010010010000500010043213163213303040000400000010010043290423293213040010042300211301051010010042041000042161041010010210000430212010010010010010010010010010000053213303052010010010010010010010010010010010010020010010031010010010030030030030030010010010010010030160000053170171030010010010030173170043040160212000030010010143172160152270210212000000010010030162160342190210212000030010010143172160532240210212000000010010030362160212560210212000030010010010030160212480210362030010010030000000053303303303142141050030010000000010042301141010042141010010030010010030020030010010030010031010010010030030030030030010010010010010030170043040050051030010010010030173170212210210212000030010010143172450162270210212000000010010030172430162190210212000030010010143172360162240210212000000010010030172160162210210212000030010010010030160162480210162030010010030000000053303303303052001000030010000000010042301041010002001010010030010010030020030010010030010100010910010904060312121207070205010010010010010010010010010010010010010010010010010010010010010010010000010000000010010010010010010030010010043163040010000010010010010010010053173083292163290040010010010010010010010010212010212010160150010010010010030010010050301211302211041190010010010010080000000053052010212010000240010010010010410000010000010010162010010470010010010010510010010000010010162010010480010010010000500010043213163213303040000400000010010043290423293213040010042300211301051010010042041000042161041010010210000430212010010010010010010010010010000053213303052010010010010010010010010010010010010020010010

  • @auliasabril1899
    @auliasabril1899 Před rokem +1

    Awesome, you are amazing

    • @cihlacezet231
      @cihlacezet231  Před rokem

      Thank you. Everyone is and you are amazing too ;)

  • @DatBoi_TheGudBIAS
    @DatBoi_TheGudBIAS Před 10 dny

    I'll be honest, I've never put a clock in a chip made by me. If I need a clock, I'll just and the desired clocked input with a clock input, imitating the working of a clock without using extra inputs and wires in the inner chips

  • @mr.pigeon5165
    @mr.pigeon5165 Před rokem +2

    Hi. Great Project! I'm wondering how I can create a rising edge pulse chip. I've tried to look it up, but it comes up with using NOT gates to add delay, which doesn't work in the simulation. Thanks!

    • @cihlacezet231
      @cihlacezet231  Před rokem

      Yes, this is a bit tricky. It's not possible to obtain delay in logicSim using the standard method. I discovered a functional way to use two parallel SR latches and one XOR gate on the output of these SR latches. The inverted output of the XOR gate is connected to the input of an AND gate, whose output is then connected to the input of the first SR latch. The clock is connected to the second input of the AND gate, and this clock signal is inverted and connected to the second input of the first SR latch. A constant signal is then connected to the input of the second SR latch, and the output of the first SR latch is connected to its second input. The output of the second SR latch is then connected to the second input of the XOR gate. This produces a rising edge signal at the output of the AND gate. Hopefully, this helps."

    • @mr.pigeon5165
      @mr.pigeon5165 Před rokem +1

      @@cihlacezet231 Thanks a lot!

    • @cihlacezet231
      @cihlacezet231  Před rokem

      @@mr.pigeon5165 no problem... let me know if it is working ;)

    • @mr.pigeon5165
      @mr.pigeon5165 Před rokem +1

      @@cihlacezet231 It works absolutely great!

    • @cihlacezet231
      @cihlacezet231  Před rokem

      @@mr.pigeon5165 great ;)

  • @dot32
    @dot32 Před rokem +5

    how did you make the clock? (the thing pulsating on and off)

    • @cihlacezet231
      @cihlacezet231  Před rokem +6

      Couple of hours and this simulator and few basic logic gates. And yes there is a "pulsating" clock. Like in real life...

    • @seraphina985
      @seraphina985 Před rokem +1

      @@cihlacezet231 I've been watching the development of this tool and have had the thought it would be cool to add a simulated crystal oscillator as a base component. Obviously it won't ever likely be as accurate as a real one since it would ultimately rely on a timer interrupt on the CPU which is preemptable and thus may be processed late. But still it is a very useful base component, there is a reason why they are near ubiquitous on a whole range of devices after all. The other thing that came to mind I'd probably love to see as a simulated component would be something able to simulate a ROM or Flash memory chip, I know you could do this for a very small ROM/Flash of a few bytes or so by drawing it out by hand but a few kilobytes would take forever to draw out. So a simulation of one that takes an offset on it's input pins and outputs the byte/bytes at that offset in a file on the output pins.
      With that you could probably work up a simple 8-bit computer on this as you would have somewhere to store what would admittedly have to be fairly simple programs that could run on a basic processor. The program counter and such would be easy enough to implement as is, it is just the highly repetitive array of memory components holding the program that would be an absolute pain to draw out. So a simulation of that using a disk would make it more practical to start playing around with building a very basic 8-bit computer by adding a place to load in or write out data from it's registers when given the appropriate opcodes.

    • @cagecrafter
      @cagecrafter Před rokem +1

      There is a built-in chip called "Clock"

    • @dot32
      @dot32 Před rokem

      @@cagecrafter ahhh

    • @Rising_Pho3nix_23
      @Rising_Pho3nix_23 Před rokem +1

      or the ALU, or the display driver, or the d-flop, or the r-edge pulse, or the digit limiter concept
      almost nothing was shown in this video. 5min of my life wasted

  • @chekystar
    @chekystar Před rokem

    would you share save file pls :)

  • @viktorsak
    @viktorsak Před rokem

    Konečně jsi zpět!

  • @redzap13
    @redzap13 Před rokem

    Man, I thought of this a few days ago

  • @andrzejchamot3437
    @andrzejchamot3437 Před rokem

    How I can build a display drv and double dabble?

    • @cihlacezet231
      @cihlacezet231  Před rokem

      display driver is compoment which is converting 4bit number to corelating inputs of 7 seg display. So you need to make some logic which switches correct inputs (8x, one is for "-" sign) on 7 seg display. I uploaded basic disp drv here pasteboard.co/1ofWmtaI3cgz.png . Double dabble is a method of converting binary numbers to decimal numbers. I uploaded image for that to here pasteboard.co/z037UmNnEoaz.png. There are just 4 "dabble" compoments and you can find them here pasteboard.co/U6SyX9hoX0GD.png ... all yellows are just for debuging purposes. you dont need them.

  • @kmhooibg7577
    @kmhooibg7577 Před 5 měsíci +1

    Hi, is the "clock" in the 9 counter important? Also I'm not very sure about the connection between 5 and 9 counter, as well as the stuffs inside the 5 counter

    • @cihlacezet231
      @cihlacezet231  Před 5 měsíci

      the 9 counter is counting from 0 to 9... the 5 counter is counting from 0 to 5 for examle 59 sec you need count to 9 for the seconds and count to 5 tenth of seconds. The connection is for cary so when there is 0 in count 9 afrer last 9 you need to tell to counter5 to switch to next digit..

  • @redstonecraft6848
    @redstonecraft6848 Před rokem +1

    how can you show the 7-segment displays in chps

    • @cihlacezet231
      @cihlacezet231  Před rokem

      Sorry cant understand your question. But 7 segment disp is pre-builted in this simulator.

    • @RonicTheEgg
      @RonicTheEgg Před rokem

      I think he's asking about how to show and hide chips on the bar below

  • @XSweetBlueEyesX
    @XSweetBlueEyesX Před rokem

    How did you do the " D F-FLOP" in the 1-Bit Register? 🙂

    • @cihlacezet231
      @cihlacezet231  Před rokem

      you will need 2x D-Latches. You need connect the input of the first D-Latch to the dataPin and the clock/pulse through a NOT gate to the second input of the first D-Latch. Then connect the output of the first D-Latch to the input of the second D-Latch. Then connect the second input to the clock/pulse.
      And how to construct D-Latch? Its simple. You will need set 2x NOR gates and connect the outputs to their inputs. Connect second inputs of the NOR gates to the output from AND gates. The first input of the AND gates connect to clock/store and the second input connect to data for the first AND gate and invert the same data for the second AND gate with NOT gate.

  • @danielaboagye124
    @danielaboagye124 Před rokem +1

    Im watchin this out of curiosity.
    What is the software being used here?

  • @im_Snas
    @im_Snas Před 2 měsíci

    Hey what website is that

  • @andrzejchamot3437
    @andrzejchamot3437 Před rokem +1

    I have one more questions how do you make alu5 and alu4

    • @cihlacezet231
      @cihlacezet231  Před rokem +2

      There is no ALU5 there is only ALU4 (arithmetic logic unit - 4 means 4bit) Its more complex, so its complicated to explain by words. I will make video about that, but i have not much time now. You can look here to find how to build ALU >>>czcams.com/video/QZwneRb-zqA/video.html

    • @andrzejchamot3437
      @andrzejchamot3437 Před rokem

      @@cihlacezet231 ok

  • @mordsithrahl
    @mordsithrahl Před rokem

    You can build (as you did) an OR gate, combining NAND (AND & NOT) & 2 NOTs.
    The same way, you can build an AND gate combining NOR (OR & NOT) & 2 NOTs.
    All these due to boolean algebra's dualism.
    But what's the point of this?
    OR (along with AND & NOT) are all considered the three basic essential functions of boolean logic.

    • @MI08SK
      @MI08SK Před rokem

      you can make an OR gate just having 2 wires with one output

  • @RonicTheEgg
    @RonicTheEgg Před rokem

    Tutorial?

  • @hamzagamer1875
    @hamzagamer1875 Před rokem

    What software is this? Cool video btw

    • @cihlacezet231
      @cihlacezet231  Před rokem

      Hello you can find it in the video description ;)

    • @cihlacezet231
      @cihlacezet231  Před rokem

      @@hamzagamer1875 yes its very nice software to simulate basic circuit logic ;)

  • @approachingstorm1
    @approachingstorm1 Před rokem

    now I need to find c4

    • @cihlacezet231
      @cihlacezet231  Před rokem

      Always is better to use your energy to create something then to destroy something. Your life will be better... ;)

    • @approachingstorm1
      @approachingstorm1 Před rokem

      true

  • @COALROCK8642
    @COALROCK8642 Před rokem

    What is your clock?

  • @Ilikeberries2
    @Ilikeberries2 Před rokem

    Where do you get the software?

  • @Abhay_sng
    @Abhay_sng Před rokem

    which software do you use ?

    • @cihlacezet231
      @cihlacezet231  Před rokem

      its a Digital Logic Sim, you can find link in the decription ;)

  • @JM-ml3ch
    @JM-ml3ch Před rokem

    are you running on iOS? Windows version needs work...

    • @cihlacezet231
      @cihlacezet231  Před rokem +1

      i didnt try that with iOS. This was done in Windows. Try check Sebastians GitHub github.com/SebLague/Digital-Logic-Sim

  • @DeekDownYT
    @DeekDownYT Před 5 měsíci +1

    What is disp drv

    • @cihlacezet231
      @cihlacezet231  Před 5 měsíci

      It is display driver which is converting binary number to 7 segment display

    • @DeekDownYT
      @DeekDownYT Před 5 měsíci

      @@cihlacezet231 Im trying to make one of those in the app, but i dont have enough space, so can you show me your design for it? (its not featured in the video)

    • @cihlacezet231
      @cihlacezet231  Před 4 měsíci

      @@DeekDownYT ctrlv.cz/nBxQ

    • @DeekDownYT
      @DeekDownYT Před 4 měsíci

      Is there a difference between DispDrv and DispDrv2?

    • @DeekDownYT
      @DeekDownYT Před 4 měsíci

      @@cihlacezet231 oh yh also what does ALU4 mean?

  • @AjayPal
    @AjayPal Před rokem +1

    Which software(s) is being used?

    • @spyrosh.1216
      @spyrosh.1216 Před rokem

      Did you watch the video? 🤦🤦‍♂🤦‍♀

    • @cihlacezet231
      @cihlacezet231  Před rokem

      check the description of the video there is a link ;)

    • @pythontest5245
      @pythontest5245 Před rokem

      @@cihlacezet231 Thanks got it

  • @viktorsak
    @viktorsak Před rokem +2

    Měl bys zkusit udělat ramku s adresama

  • @incisever8297
    @incisever8297 Před rokem +1

    Basit bir clock'un bile ne kadar çok kapı içerdiğini görünce bilgisayarı tasarlayan mühendislere cidden saygı duydum...

  • @mo4tllc504
    @mo4tllc504 Před rokem

    He didn’t even show us what’s in the clock

    • @cihlacezet231
      @cihlacezet231  Před rokem

      if you mean "clock" by that one component, it is the simple pulsating component. There is nothing inside. Its just making pulses at same frequency.

  • @aspectreishauntingeurope

    🧱🇨🇿

  • @mohammad45h
    @mohammad45h Před rokem

    تشکر وسپاس وهزاران لایک لطفا ترجمه بزبان فلرسی نمایید وابزار ترجمه را در کامنت ها قرار دهیید ممنونم🙏🙏❤👌👌❤

  • @KangJangkrik
    @KangJangkrik Před rokem

    OR made out of NOT and NAND is completely unnecessary

    • @cihlacezet231
      @cihlacezet231  Před rokem +1

      thnx for comment you are right but on the end it is the completely same. In both variants you need in general 3 NOT gates and one AND gate to make an OR gate. I used this NAND on the output of OR gate because i used NAND gates lately in build. Have a nice day! ;)

  • @johndododoe1411
    @johndododoe1411 Před rokem

    So much naive wastefulness in this design. Your OR circuit had a doubled NOT gate. Your counter fooled around with registers and ALUs instead of traditional counter circuits, and that's just the parts shown.

    • @cihlacezet231
      @cihlacezet231  Před rokem +1

      OK thnx for your advice, can you provide your design of the clock? We can look for better design ;)

    • @johndododoe1411
      @johndododoe1411 Před rokem

      @@cihlacezet231 I'd recommend the 74xx based design published in Elector Electronics in the 1970s.

    • @cihlacezet231
      @cihlacezet231  Před rokem

      @@johndododoe1411 can you build that in logic sim?

  • @healer1000040
    @healer1000040 Před rokem +1

    I hate videos with annoying background music.

    • @ItzFlowerGMD
      @ItzFlowerGMD Před rokem +2

      bro thought the music was the only thing in this video 💀💀

    • @anrealnub2686
      @anrealnub2686 Před rokem

      Try turning down the volume hm?

  • @artstechnology7809
    @artstechnology7809 Před rokem

    Make a tetris game please or pong game.