DIGITAL LOGIC SIM - 555 CHIP GUIDE

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • The name of the program is "DIGITAL LOGIC SIMULATOR".
    At the beginning of the video I show how to make chips with different signal lengths. Using this concept you can achieve a signal with the length you want.
    Then I demonstrate a short signal pulse with different time intervals (if you need a pulse).
    Near the end of the video I show how to make the signal appear and fade at the same time interval.
    About me:
    I didn't study computer science in school, I didn't read any books, and I didn't watch any videos.
    When I came across this program I had no knowledge at all about computer logic.
    But one day I accidentally saw this program and I immediately wanted to do something with it, although I had no idea what I could do or how to do it.
    You can imagine me as an uneducated, perverted person who hits the keyboard with a cudgel while looking at this program. I don't think my guides are right or good. I just make something and put it on RUclips for my own memory.
    All I have is interest, motivation and a strong desire to do something and no knowledge.
    But I do everything myself, through experimentation, trial and error and time. I do it for a long time, but I don't look at any guides, I don't read anything, because I want and I have to do something myself, I have to come up with something myself, otherwise I won't have any fun and it won't make any sense to me.
    So if something seems complicated, redundant, strange, wrong to you, then remember that I am just an uneducated caveman who is just trying to do for himself what he is interested in. I didn't watch how something else was done or copy other people's schemes and methods, otherwise I wouldn't be doing it and I wouldn't get satisfaction from the end result. So I am sure that people, who studied programming or computer engineering, will say that my way is garbage, and that it could be done easier and better. But alas, I don't have any knowledge, I just do it for myself (because I'm interested) without any knowledge.
    Program - Digital Logic Sim by Sebastian Lague

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

  • @poorman-trending
    @poorman-trending Год назад +2

    Cool. Not a 555 simulation though. Just an oscillator. 555s have more inputs and can do a lot more.

  • @thepawday
    @thepawday Год назад +8

    So, "555" comes from voltage divider with 3 resistors 5 kOhm each. But what you have done is abstracted binary signal generator based on simulation timings. There is no resistors in this simulation at all and what you've done should not be caled "555"

    • @span4ev
      @span4ev  Год назад +2

      So, how do you imagine the resistors in this simulator? Explain.
      So, explain what the 555 chip is supposed to do? What is the principle of its operation?
      Read this comment thread (it's written under the other video). This is how it started.
      -------------------------------
      Patrick McMahon
      how do you make a 555 chip?
      span4
      which "555 chip" are we talking about?
      Patrick McMahon
      @span4 ne555 timer
      span4
      @Patrick McMahon I don't know what you mean... Are you talking about my video? If so, write the timecode, because I don't remember any 555
      Sk8terkyd
      @span4 he's talking about a real life clock chip
      Sk8terkyd
      @Patrick McMahon we can't make accurate clocks in this program
      span4
      @Sk8terkyd I just haven't heard of such a thing. In order to make something (like a 555), you need to know how it works. Explain what you need or drop a link to a demonstration of how this chip works.
      Sk8terkyd
      @span4 it doesn't work off digital logic is all I know
      span4
      @Sk8terkyd So there's no way to do it? Can you explain exactly what this chip does?
      Sk8terkyd
      @span4 it's a clock it just goes on and off but clocks don't work well in this program
      span4
      @Sk8terkyd You mean something that turns on and off at certain intervals? Like a garland? I get it, I did something like that in this program, but I didn't know how to use it and I didn't know it was called a 555 chip.
      Sk8terkyd
      @span4 555 is a specific chip in real life it's not just any clock thing
      span4
      @Sk8terkyd So the dude in the comments asked me how to make a chip from real life?
      Ultimately what we're talking about here is, is it possible to do in a digital simulator what we have in real life? If we're talking about a simple periodic signal turn-on, it's done very simply.
      I need time to record a video, edit it and put it on youtube. Lately my videos take a very long time to upload to RUclips (even though my internet speed is 200mb/s)
      span4
      Video guide on how to create a 555 chip (if that's what you needed. And if I understood it correctly after it was explained to me)
      -------------------------------
      What I have done is a simulation of how a 555 chip might work if it were made in such a program?
      If the result is different than what a 555 chip would do, explain what exactly is wrong.

    • @thepawday
      @thepawday Год назад

      @@span4ev In this pov - nothing wrong. Ive complained about naming, but not the functionality

    • @span4ev
      @span4ev  Год назад

      @@thepawday I hear you. Well, tell me, how should I rename this video so as not to mislead anyone?

  • @feivmoon
    @feivmoon Год назад +4

    great tutorial dude thank you so much

    • @span4ev
      @span4ev  Год назад +1

      Thank you. Apparently you're the only one who liked it.

  • @pepez1325
    @pepez1325 Год назад +1

    you can achieve a bit less haotic system using tick generators and latches

  • @artco6624
    @artco6624 Год назад

    What is the official page to download the software?

    • @span4ev
      @span4ev  Год назад

      sebastian.itch.io/digital-logic-sim
      github.com/SebLague/Digital-Logic-Sim

  • @ProSpase
    @ProSpase Год назад +7

    Didn't Sebastian Lague describe the blinking as a bug in the code due to conflicting states between 1 and 0. In real life, I think the behaviour of the circuits would be unpredictable due to minute differences in individual chip speeds.

    • @mariamsafdar6648
      @mariamsafdar6648 Год назад

      Yeah he did

    • @span4ev
      @span4ev  Год назад +2

      I have now opened the simulator and started to try something. And I remembered your message. Well, tell me, if blinking is an error, due to the inability of the signal (or circuit) to take a specific state between 0 and 1, what state should the circuit take with these conditions in this program:
      We have 2 inputs and 1 output.
      (Further, by 1 I mean signal present, or True. By 0 I mean no signal, or False.)
      When we put a 1 on the first input, we will have a 1 on the output.
      When we give 1 to the second input, the output will be 0 anyway.
      The second input is dominant because it blocks the influence of the first input on the output. As long as we have a 1 on the second input, it doesn't matter what state the first input has.
      Now we wire the signal from the output to the second input and thereby short-circuit the circuit. Then we feed 1 to the first input.
      As a result we will have blinking on the output because there is an infinite chain of transition of one state to another because of two events.
      As soon as we feed 1 to the first input we have a 1 on the output. This signal (1) from the output goes to the second input and switches the output state to 0. As soon as the output state changes to 0, the second input also gets 0 and since we still get 1 at the first input, we get 1 again at the output. It switches the circuit off again and this continues indefinitely. I don't consider this a mistake.
      You mention real life and consider the consequences unpredictable. I don't see any unpredictability here. I think that in the case described above, the chip will most likely fail because of the short circuit, because the transistors, or the resistors or capacitors (depending on the chip), will also fail and cease to perform their function. Maybe the tracks will burn out, but it all depends on the characteristics, elements, current, voltages, etc.
      But let's leave alone talking about real life, because this video is not about life, but about the program and we are talking about the behavior of the signal in a particular program.
      I used to build different things in myncrafters with redstone about 10 or 12 years ago. I liked redstone. If we short-circuit the signal on itself (i.e. the block that gives out the signal), the exact same blinking happens there, but for a short period of time. Then we hear a hiss and the signal disappears. After a while the signal comes back to life and the blinking happens again on itself. This can be called "shorting protection for a long period of time", so the signal goes out. But yet it also has such a state as "shorting".
      I think it's all about how the logic is set up for such an event in programs and games. The authors don't make it so that a device burns out (and permanently stops working) because of a short circuit. Why would that be necessary? It is not necessary. So we have features of the program or game that we can use to get the result we want.
      If, as you say, the author of the program considers blinking a bug, then what happens when a short circuit occurs in the case I described above?
      1. We will have endless blinking.
      2. We will have a temporary blinking, then the circuit will shut down and will not turn on again.
      3. We will have temporary blinking, then the circuit will turn off, but after some time it will turn on again. An endless cycle of repeating events will start.
      4. The output signal will be 1 and will not change
      5. 5. The output signal will be 0 and remain unchanged.
      There are 5 states. Which state do you think we should expect if the author eliminates this error?
      If the author makes a short-circuit protection, I think the 5th option is the most likely.

    • @QCHitch
      @QCHitch Год назад

      @@span4ev Connect 2 switches to one BUS. Turn one on and leave the other off. Then you will see the "blinking" which is described by the author.
      Quickly changing states - as we see in the video - is not what the author was referring to.

    • @DatBoi_TheGudBIAS
      @DatBoi_TheGudBIAS 3 месяца назад

      That isn't happening in this video tho. What ure describing is like when U connect 2 outputs to the same bus line
      Here, we use a xor gate with one of the inputs the same as it output. So when U input 1 in the first input of the xor, it outputs 1, thus making the 2ns input 1, and that outputs 0, making only 1 input 1, wich outputs 1, and goes on in a loop

  • @astric32dll
    @astric32dll Год назад

    how do u even add new chips

  • @jakob_b
    @jakob_b Год назад +37

    give credit to the person that made the logic simulator smh
    - stop commenting on this bro added it i got no beef smh

    • @attenonmj3708
      @attenonmj3708 Год назад +11

      Idk if you wanted the info or just wanted to comment that, but it was made by Sebastian Lague.

    • @pokidev027
      @pokidev027 Год назад +6

      Does Mumbo Jumbo credit Notch when making a tutorial in Minecraft? They clearly told the name of the application (in the description) and I'm sure Sebastian would be more than satisfied to have someone just use this and create such tutorials for the public.

    • @jakob_b
      @jakob_b Год назад +1

      ​@@pokidev027 hmmm, does big youtuber credit a global brand with one of the largest games of all time. Versus does a small youtuber steal the work of an individual without naming dropping them anywhere? Horrendous comparison man I'm literally just asking bro to name drop the creator(who hasn't made any money of the program and put it out for free bc he's nice)

    • @pokidev027
      @pokidev027 Год назад +5

      @@jakob_b that's not at all what I said. Also, that individual is far more known and their community is much bigger than this youtuber's.
      Also yea he makes money off the videos he makes, why would he charge for the program when it's still being developed too, plus Sebastian isn't sure if he will do a life time support on that product.
      The name of the application is in the description as I said already, you are painting this youtuber as thief while they did all they had to do. If you are really that interested in what's going on, take a few seconds to read the description damn.

    • @jakob_b
      @jakob_b Год назад

      @@pokidev027 Sebastian made the video and then released the program for free(not something he had to do). He put a ton of work into the program and as a programmer and individual he should be recognized as the creator. Literally all im asking is bro give credit where credit is due. If you cant understand that and see why its important than your a clown. Viewers shouldn't have to go out of their way to find the creator. If you spent countless hours creating a nice program, gave it out for free, and them promptly received no credit im sure you'd be upset.

  • @Abu_Khalid-
    @Abu_Khalid- Год назад

    Can u add the timer delay fungtion and set reset fungtion?

    • @span4ev
      @span4ev  Год назад

      Yes, I think I can do that. But first I need to figure out how to make a counter. That's what I'm doing right now.

  • @kreutz2709
    @kreutz2709 Год назад +1

    Ку мен, нужна помощь по big brother another story Я как помню в старой версии большого брата (точно не скажу какая версия) в компьютере ГГ(или в настройках) была кнопа чтоб чит панель врубить и к ней нужны были коды где их искать хз, но эту панель в новых версиях что ли убрали? На видео что то не увидел.
    И если все таки убрали можешь пожалуйста кинуть ссылку на чит мод?

    • @span4ev
      @span4ev  Год назад

      то, о чём ты пишешь - другая версия, это кажется от смринова. У меня другая версия
      смотри, я не знаю можно ли сюда на ютуб кидать ссылки на такие сайтыЮ сам понимаешь.... найди сайт f95zone. to
      там в поиске вбей Cheat mod for Big Brother: Ren'Py - Remake Story [v1.02]

    • @kreutz2709
      @kreutz2709 Год назад

      @@span4ev хз что за смирнов, я про оригинальный биг брозер (про который вы делали видео) и сейчас есть 1.0. какая то и в ней нет панели которая изначально в старых версиях была и прямо в компьютере ГГ была где ты еще должен коды искать, про это даже некоторые зарубежные челики спрашивали
      + Когда я играл месяцев 7-9 назад и как я говорил прям в компьютере можно было ввести код

    • @span4ev
      @span4ev  Год назад

      @@kreutz2709 короче, есть 3 или 4 версии ББ, я сам в них путаюсь. Одна на юнити, другие на ренпае. Я понял про какую вы пишите, но не помню название. Помню, что мне она показалась неудобной, я пытался это неудобное меню с ПК сделать под себя, плюнул и перешёл на эту версию. Вам нужно или спросить на форуме название этой версии, или этот чит - это мод, который ставится поверх версии. Точнее не скажу, я сейчас не дома

    • @span4ev
      @span4ev  Год назад

      @@kreutz2709 так вроде оригинальная версия как раз от чсирнова

    • @kreutz2709
      @kreutz2709 Год назад

      @@span4ev вы если говорите про сами частеито да их несколько, Another story, Big Bobby, и ещё какие то. Да и они можно сказать как либо продолжение или ремейк,
      Я же говорю именно про версии/ старую версию энозер Стори, не старую Часть какую нибудь далёкую про биг бобби, а именно версию самой игры, это вроде то ли 0.8, то ли 0.7 и как раз таки в этих старых версиях как я помню были чит панели, в это же новой 1.02 я что то не вижу, (кста за мод спс, помог Эрику пивас отдать, а то 75% словно 1% перезагружал раз 30 минимум)

  • @Minecraft_os
    @Minecraft_os Год назад +1

    Thnx ❤

  • @waik0182
    @waik0182 Год назад +1

    👍👍

  • @StupidNameGoesHere
    @StupidNameGoesHere Год назад +1

    lets make it 555 likes

  • @spawnnumber2126
    @spawnnumber2126 Год назад

    This is like the “clock” chip in the new version but with an input to turn it on/off instead of two inputs to change the speed of the clock

    • @span4ev
      @span4ev  Год назад

      Oh crap, man... you're right, the new version has that "clock" chip and I could have used it in my watch, but I didn't pay attention to it))))

  • @ZG4mer
    @ZG4mer 5 месяцев назад

    the hip that he made with 555 5552 5553 5554 is called the demon number

  • @scriptdevvs
    @scriptdevvs Год назад +1

    Isn't it just a ripple counter?

    • @span4ev
      @span4ev  Год назад

      I don't know. Explain to me

    • @scriptdevvs
      @scriptdevvs Год назад

      @@span4ev basically the last one that you made is a ripple counter and not a 555 timer.

    • @span4ev
      @span4ev  Год назад +1

      @@scriptdevvs What's the difference? If you're talking about the signals turning on and off with different delays in the last element, it's obvious that this is intentional. Why do you think it's done the way it's done?
      The last circuit is just an example of what people can get if they use this method.
      I showed how to get a short ripple (pulse), and showed how to get the signal to turn on and off at the same interval.
      Obviously, with the example of one element connected to one input, you can see an example of how several intervals work at once.
      It is also obvious that everyone can choose the interval he wants and use it only, and not as I did (several in one - which was done to demonstrate the operation)
      So what is wrong?

    • @scriptdevvs
      @scriptdevvs Год назад

      @@span4ev oh I see now

  • @colmenasio5542
    @colmenasio5542 Год назад

    Computer science Speedrun, any%, glitchless

    • @span4ev
      @span4ev  Год назад +2

      I didn't take computer science in school. You can compare me to a caveman who tries to do something by trial and error.
      I am not young enough, so I got a computer when I had already graduated from school, it was a 438 socket (if I am not mistaken) and a very slow Internet.

    • @colmenasio5542
      @colmenasio5542 Год назад +1

      @@span4ev bro thats even cooler

  • @tug5098
    @tug5098 Год назад

    you can also set it to clock

    • @boydhamilton6023
      @boydhamilton6023 Год назад

      thank you so much for helping me discover there's a built in clock lmao. i had no idea that was there!

  • @apextekken
    @apextekken 11 месяцев назад

    how to build a computer

  • @SpencerTwiddy
    @SpencerTwiddy Год назад

    Bro who is this guy and what is his problem?

  • @Redditard
    @Redditard Год назад

    Subbed, coz, why not?

  • @mldalex
    @mldalex Год назад +1

    that is a clock generator

    • @span4ev
      @span4ev  Год назад +1

      Why do you think so?

    • @mldalex
      @mldalex Год назад +1

      @@span4ev the 555 timer includes multiple functions, not just an oscillator

    • @span4ev
      @span4ev  Год назад +1

      @@mldalex do you speak russian?

    • @mldalex
      @mldalex Год назад +1

      @@span4ev bruh, i'm romanian

    • @span4ev
      @span4ev  Год назад

      @@mldalex I looked at your name and drew the wrong conclusion.
      What do you mean by "multiple functions"? Exactly what functions does it have?
      Some guy under another video asked me "how do you make a 555 chip?"
      I didn't know what that was, so I tried to find out from him. It was explained to me that this chip gives an interval signal. I tried it in this program.
      I made a video guide on the principle that was explained to me in the comments, and I sent that guy the link.