JK flip-flop

  Рет қаралды 548,001

Ben Eater

Ben Eater

7 жыл бұрын

Check out my SR latch video first: • SR latch
The JK flip-flop builds on the SR flip-flop by adding a "toggle" function when both inputs are 1. The S (set) and R (reset) inputs are now referred to as J (set) and K (reset) to indicate the different operation.
In other words:
J=1, K=0 sets the flip-flop
J=0, K=1 resets the flip-flop
J=1, K=1 toggles the flip-flop
The toggling function is useful for building counter circuits which we'll do in future videos.
Support me on Patreon: / beneater

Пікірлер: 373
@Wuozlinga
@Wuozlinga Жыл бұрын
For anyone wondering about the drawing: The mistake lies in the connections of the Q outputs to the AND gates. Q must connect to the upper AND gate with the J input, while !Q must connect to the lower one with the K input. Now it works as it should: J performs the Reset function, K performs the Set function, and J+K at the same time performs either the Set or the Reset function, depending on which state the Q outputs have been before, a.k.a. it performs the "Toggle" function.
@miguelandrade7630
@miguelandrade7630 Жыл бұрын
Thanks for sharing
@tielessin
@tielessin Жыл бұрын
Jesus Christ and I was going crazy to find what I did wrong. Thanks for sharing.
@JulieanGalak
@JulieanGalak 4 ай бұрын
@@tielessin- ditto
@PolaNimuS
@PolaNimuS 4 ай бұрын
This is ridiculous, thank you so much. I was losing my mind trying to figure out how the hell the logic worked with his drawing. Glad to know it's just wrong and he didn't do anything to fix it...
@valeroso_rs
@valeroso_rs Ай бұрын
The drawing is correct Q goes to K, !Q goes to J in terms J is "Set", K is "Reset", which is default I suppose. If both J and K are 0, Q doesn't change. If J is 0 (K = 1) => Q goes 0 (or !Q goes 1), J = 1 (K = 0) => Q goes 1 (!Q goes 0). J = K = 1 => toggle Q. Therefore J sets Q to 1, K (re)sets Q to 0.
@lesstor99
@lesstor99 5 жыл бұрын
The JK flip flop was named after Jack Kilby, the Texas Instruments engineer who invented the integrated circuit in 1958
@nasswtor
@nasswtor 5 жыл бұрын
I was told that it stands for *j*ump and *k*ill
@jawadanwar6684
@jawadanwar6684 5 жыл бұрын
Hes Just Kidding
@maxhouseman3129
@maxhouseman3129 5 жыл бұрын
Both right. Even my prof in the digital systems lecture (very wise guy) said jump and kill flip flop. But it is named after its inventor.
@konozbinrashid7774
@konozbinrashid7774 5 жыл бұрын
Thanks for the info.
@katemoon7476
@katemoon7476 4 жыл бұрын
None of you are right. It's named after how it's described on the patent. The two pins are labelled j and k on the patent.
@Shyssiryxius
@Shyssiryxius 7 жыл бұрын
FINALLY!!!! A well spoken English video with a great explanation. Dont stop
@BrianSchmitz
@BrianSchmitz 3 жыл бұрын
I’m from the future. I’m here to tell you oh boy did he not stop
@modupeolarinde6869
@modupeolarinde6869 3 жыл бұрын
@Gus Erland If you put your mind, and listen carefully, you'll easily understand the message he's passing across...
@modupeolarinde6869
@modupeolarinde6869 3 жыл бұрын
@Gus Erland Sure...You are right
@wowsuchhandle
@wowsuchhandle 2 жыл бұрын
Fr tho I'm tired of seeing indians with unintelligible english. No offense.
@musaadigun4072
@musaadigun4072 2 жыл бұрын
Not like the other videos weren't speaking english but this guy is different
@dennisanderson8663
@dennisanderson8663 5 жыл бұрын
This guy probably makes some wicked devices in Minecraft with redstone.
@Mechanist
@Mechanist 3 жыл бұрын
:)
@54alexq
@54alexq 3 жыл бұрын
Is there transistor in minecraft ?
@Mechanist
@Mechanist 3 жыл бұрын
@@54alexq Kind of? You can make stuff that does all the basic things of a transistor in minecraft but its not in it by itself
@54alexq
@54alexq 3 жыл бұрын
@@Mechanist a comparator maybe ? I don't rember exactly, played a long time ago ^^'
@chaklee435
@chaklee435 3 жыл бұрын
@@54alexq yes, just use a piston
@rodcleaves9904
@rodcleaves9904 3 жыл бұрын
I love these videos. They take me back to the sixties at the start of my career. As already stated and I agree - The inputs are labeled J and K in honor of the inventor of the device, Jack Kilby
@leahsummers22
@leahsummers22 4 жыл бұрын
This guy is the only reason I am passing my Digital Logic class
@TheZooman22
@TheZooman22 7 жыл бұрын
I greatly appreciate you efforts in term,s of time and resources to create these wonderful videos. I will be taking a Logic class in the fall , and I wanted to experiment with the fundamentals of digital circuit design. I am using CMOS, but I believe I need to get some TTL chips. These tutorials are top notch on several levels.
@tylerreeves895
@tylerreeves895 7 жыл бұрын
Yayy Ben!! All the nerds of KZfaq smile today with glee! Thanks for the video!! can't say how excited I am to see more of your awesome content!
@luisplata7071
@luisplata7071 4 жыл бұрын
Your Latch series is the best explanation I´ve heard so far. Glad to find you out.
@Thrax005
@Thrax005 2 жыл бұрын
Sir you're the best teacher humanity could ever have, illustrating this subject, on which ever level, be it high school, university or even post grade. These series of tutorials should be carved into a stone be passed on to learners for millennia
@jewbacha1137
@jewbacha1137 7 жыл бұрын
Ben Eater , you are my teacher, and I am a very serious student of yours! I don't have a single competent engineering teacher in my school, even though I go to one of the top highschools in America (I'm not saying which because I don't want this comment on my teachers to be tracked to me personally). I used to take an engineering course, but realized this piece of information for myself and from older students, and dropped the course later. I then discovered you, and now I learn by myself. So that's why I say you are my teacher, because I'm not using you to supplement another teacher or anything; everything I know about circuits is the very basics from Khan academy, and all the very advanced logic and circuits you do. I watched every single video you created and took notes, and create my own circuits, following along to your videos; I'm not joking when I say that I'm a student of yours. I plan to make a big project for school in the school expo making a breadboard computer like yours (with some of my own modification and additions). Without you, I would be nowhere, and know nothing about circuits, and you allowed me to make a big step in my dream of understanding how desktop computers work on a deep level. Your explanations are amazing, and you are a very talented teacher and explainer, very easily sympathizing with the a student's situation of not knowing anything, unlike many others. Your explanations are thorough, and very ordered in the final goal of understanding, taking nothing for granted through your deep understanding, which is probably one of the top things I love about your teaching; you understand and explain things on such a deep level. Not to mention, your a native speaker and aren't annoying or hard to listen to like many other youtubers with Indian accents. I think I speak on behalf of quite a few people in begging you to please continue making videos, and that we appreciate your videos so much, and at least know that you have truly inspired and dramatically changed the understanding of circuits for many people like me, and I'm not trying to be sentimental or anything, I seriously mean it. I really want to be an engineer in this direction. Ben Eater, from the bottom of my heart, thank you for these videos!
@andrewferg8737
@andrewferg8737 4 жыл бұрын
Your service is greatly appreciated. A university-level engineering course, tuition free. Thanks for sharing.
@joechevy2035
@joechevy2035 5 жыл бұрын
I was fascinated by this circuit back in the day! I thought of this circuit as a means to 'transcend' logic (in logic circuits.) I used it as a random number generator and did many projects needing 'random' logic.
@targz__
@targz__ 7 жыл бұрын
good to see you back, man, I love your videos, keep up the good work
@CosnotraLF
@CosnotraLF 7 жыл бұрын
+1like
@Cookieglue
@Cookieglue 6 жыл бұрын
God dammit I was so close to the 69th like
@tedsa4
@tedsa4 7 жыл бұрын
Wonderful to see you posting again, great video Ben!
@K9Megahertz
@K9Megahertz 7 жыл бұрын
I believe there is an error in the layout of this circuit. It seems that when using nor gates you don't want to go from the opposite side nor gate back to the and gates. If you were using nand gates rather than nor gates your diagram would be correct. Since you are in fact using nor gates, you would go back from the same side nor gate to the and gates. Can someone else please confirm this?
@kojonek2
@kojonek2 6 жыл бұрын
I was thinking about it for 30 minutes and searching information and then noticed the error.
@andrasnemeth3399
@andrasnemeth3399 5 жыл бұрын
Same here man :D
@barathkumar7940
@barathkumar7940 5 жыл бұрын
He must have confused it with NAND gate logic for JK flip-flop.
@juanma513
@juanma513 4 жыл бұрын
Thanks man! I was wondering for 15 minutes why the state {J = 1, K = 1, CLK = rise} toggle instead of staying in the last state. I knew that it must toggle, but I couldn't understand why. Finally I decided to check in the comments if could be some mistake in the drawing
@barathkumar7940
@barathkumar7940 4 жыл бұрын
​@@juanma513 check next video, he has corrected the circuit diagram
@MindCraft4You
@MindCraft4You 7 жыл бұрын
Yay you're back! Thank you for the awesome video :)
@lukasrussell5905
@lukasrussell5905 7 жыл бұрын
So happy to see you back Ben!
@thereddevils091
@thereddevils091 3 жыл бұрын
THIS IS EXACTLY WHAT I NEEDED AND WHAT MY LECTURER TODAY WAS UNABLE TO EXPLAIN - Thank god for this little series you have done it has helped me so much
@JerryEricsson
@JerryEricsson 6 жыл бұрын
I have discovered that watching to many of these videos in a row makes my head numb and I can no longer figure out what is happening in the circuit. So it, that I have decided that I can only watch onnne ia eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ah, this is what happens when you fall asleep for a few seconds while typing. Thanks Fentynal!
@abdelrahmangamalmahdy
@abdelrahmangamalmahdy 7 жыл бұрын
welcome back :) good to see you again.. can't wait to build the control unit with you!
@route42studios
@route42studios 3 жыл бұрын
Who downvoted this video? Great videos. The joy of building this stuff has added quality and satisfaction to my life. Thank you Ben!
@lukasilobad9183
@lukasilobad9183 2 жыл бұрын
They downvoted the video because the circuit diagram is wrong. Not that the rest of his videos aren't amazing (they are) it's just that this one is a little flawed.
@billbowlio6554
@billbowlio6554 7 жыл бұрын
Glad you're back! I love these videos! I bought a bunch of discreet electronics parts to build this computer.
@saidamir4181
@saidamir4181 7 жыл бұрын
Sweet you are back, make more please.
@K9Megahertz
@K9Megahertz 7 жыл бұрын
Awesome! Thank you Ben! Hope you're having an awesome holiday season!
@SE-js4ms
@SE-js4ms 4 жыл бұрын
seriously, your video saved my whole semester.. thanks a lot
@tzisorey
@tzisorey 5 жыл бұрын
That reminds me of the "Electronic Coin-Toss" we made as our first electronics project in 8th grade.... I think it was just both R and S effectively being high, and a push button for the Enable -- then it'd light up either Heads or Tails as the Q and Q-bar. I don't _actually_ remember the circuit, but it looked very similar.
@longyili8163
@longyili8163 4 жыл бұрын
You explain this better than any instructor in my current institution that costs 70k a year. Thank you.
@laius6047
@laius6047 7 жыл бұрын
thank you for a new video, i've been waiting for quite some time. Building 8bit computer. Because of your enthusiasm and great teaching.
@abrilfool
@abrilfool 7 жыл бұрын
You're back! Nice :D. Great stuff as always
@MissAnnaaaF
@MissAnnaaaF 3 жыл бұрын
I believe this one is faulty. You have to either switch places on both Q & Q' and J&K for this to work OR You have to keep them like that but have the and gates switch their outputs (or gates). And gate on top goes to the or gate on the bottom etc.
@scottlott7735
@scottlott7735 7 жыл бұрын
Been waiting a long time for this one. :) Good to see you back!
@therealmeisl5609
@therealmeisl5609 7 жыл бұрын
Ben, without having even watched the new video - soo good to have back man!
@therealmeisl5609
@therealmeisl5609 7 жыл бұрын
Ben, after having watched it - thanks for another great explanation. Awesome as always. Hope this is preparatory for the 8-bit computer; I'm guessing for a ring counter?
@minhajshovon9789
@minhajshovon9789 4 жыл бұрын
Thanks for the tutorial, Ben! Helped a lot.
@hayd7371
@hayd7371 7 жыл бұрын
excellent tutorial! a great refresher from my college days thanks for sharing!
@zackisbell
@zackisbell 5 жыл бұрын
Hey Ben! The JK in JK Flip-Flop is actually NOT an arbitrary set of letters, it's after the creator Jack Kilby! :) Thanks so much for the vid!
@fifaham
@fifaham 2 жыл бұрын
A famous experiment for JK FF is to set both the J and K high and then connect the CLK to an active high MOM switch, this will toggle the output between HI and LO... The mechanical switch may produce noisy output so the filtering RC circuit is a must.
@heltoneschenazi3787
@heltoneschenazi3787 7 жыл бұрын
Best explanation I have ever watched! Very good work!
@piyushsoni9620
@piyushsoni9620 5 жыл бұрын
I don't usually comment on videos, but your videos are awesome.Thanks !!!
@multechpro7151
@multechpro7151 7 жыл бұрын
Ben please more tutorials on networking security and analysis, im even willing to pay for, you are a genius.
@amirdahan5660
@amirdahan5660 4 жыл бұрын
The “Just Kidding” flip flop
@hugomartel8552
@hugomartel8552 7 жыл бұрын
Ben is ALIVE AGAIN!!
@Kevin-wx7wu
@Kevin-wx7wu 6 жыл бұрын
Ben, you're amazing
@maxscribner1743
@maxscribner1743 7 жыл бұрын
Just subscribed a few weeks ago. These are so great!!
@shamus030
@shamus030 7 жыл бұрын
Ben, great video! Eagerly awaiting the continuation of your breadboard computer series. Also, there's an urban legend floating around that the JK Flipflop was named after Jack Kilby! However, this isn't confirmed. The first time those letters started being used was in one of the early patents for the design, where the patent author chose those letters for some unimportant reason.
@scitwi9164
@scitwi9164 7 жыл бұрын
I always thought they meant "Just Kidding" :D
@moonbuster4667
@moonbuster4667 4 жыл бұрын
Thanks, i'm going to study these in school soon so i wanted to know them before they teach us them Thanks for the simple explanation! 😄😄😄
@nadinekupferschmidt2810
@nadinekupferschmidt2810 7 жыл бұрын
Thank you very much for the video Ben, it's excellent! Really helped me! The J-K is in honour of Jack Kilby ;)
@musaadigun4072
@musaadigun4072 2 жыл бұрын
Thank you very much I've seen lots and lots of videos explaining this, I guess your diagrams really help
@kahhuanyap6313
@kahhuanyap6313 3 жыл бұрын
thanks for explaining so clearly
@someshwartripathi8446
@someshwartripathi8446 3 жыл бұрын
love your videos
@thecodingdice3107
@thecodingdice3107 3 жыл бұрын
very very thanks sir you made my sequential circuit easy
@coreyhulse8226
@coreyhulse8226 7 жыл бұрын
Ben, I beleive there is an error! When explaining the final schematic, you say that K resets it when it outputs a one, but it seems as if the K output is going into the set input of the S and R latch, you can see that when you go back to the diagram of the S and R latch and see that the bottom input is the Set input. I feel like the K input should go to the top nor gate and that the J should go to the bottom nor gate
@coreyhulse8226
@coreyhulse8226 7 жыл бұрын
Ah i see that you correct it in your next video! Good catch! Thanks again for the videos!
@nsbajakian2
@nsbajakian2 7 жыл бұрын
Next video? Where are those? lol
@jacobforster566
@jacobforster566 6 жыл бұрын
eater.net/bbcpu8-program-counter/
@jhauty
@jhauty 6 жыл бұрын
Corey Hulse Yes and a JK Flip Flop is make with Gated SR Nand, not a Nor Latch and the Gated is a "No Gated". So you replace all his JK flip flop's gates by 4 Nand Gate. And you have your JK flip flop.
@arnoc.2107
@arnoc.2107 5 жыл бұрын
I was agonizing about this for the last 15minutes, glad to hear it's a mistake from Ben's side =D
@aagaag7869
@aagaag7869 7 жыл бұрын
Thank you for great work, you are a very smart man.
@faizannabi9240
@faizannabi9240 Жыл бұрын
awesome explanation
@GilangMentariHamidy
@GilangMentariHamidy 4 жыл бұрын
I learned about logic gates, flip-flops, latches, when I was in 1st-year university, 12 years ago, but the professor did not provide the electronic behind it and how it actually works in the circuit board. I was ultimately confused when I was taught the inner schematic of flip-flop consisting of logic gates and a feedback line. I thought it didn't make any sense at all. I was studying computer science, by the way. So logic gates, flip-flop, and stuffs were only a part of introductory courses in my major, without actual physical implementation. We only used a computer-based simulator software (Multisim) to create a schematic of a logic circuit. On the other hand, I studied some basic electronics during my high school and was introduced with electronic components including resistor, transistor, capacitor, and so on. But it was really difficult for me to connect between electronics, digital logic circuits, and eventually a computer, and I realized for a very long time that there is a missing link that wasn't really taught by my professor at the university. But you explained it in a very clear and concise manner, with an actual demonstration, and finally, I understand how the feedback line in a flip-flop works, and its relationship with how a transistor works in an electronic circuit, and even I can finally connect all the dots from the electronic circuit primitives into a real computer. Thank you very much for all your videos. You said you didn't have a degree but you explained this topic way better than my professor did. You proved that there is something that is really wrong with the education system as you mentioned that your ultimate goal is to improve it. I hope you will achieve your goal, and perhaps you will actually introduce students properly about how basic digital system works. :)
@jyke321
@jyke321 2 жыл бұрын
Well I'm taking a class like that right now as a computer scientist, and we still are shown any of it. I guess we are shown diagrams, but not how the signal actually goes through all the parts, most likely since we go through many diagrams in one hour long lecture, so not enough time is given to go more in depth. Crazy how not much changes after a decade and a half in a fast changing field of study though.
@tylerljohnson
@tylerljohnson 7 жыл бұрын
sweet, thx for your videos!
@meshalkhalid7160
@meshalkhalid7160 6 жыл бұрын
Perfect ! thank you for teaching this .. it was confusing me
@yassinet.benchekroun5087
@yassinet.benchekroun5087 5 жыл бұрын
Thank you for this!
@Simonbluepatato
@Simonbluepatato 7 жыл бұрын
It would be awesome if you made more videos like these where you explain different ICS
@Xenthera
@Xenthera 7 жыл бұрын
Oh boy... I can't wait for rest of the computer tutorials!
@scitwi9164
@scitwi9164 7 жыл бұрын
Me too. But I guess he wants to explain the sequencer unit now, so he needs to explain binary counters first, and this in turn requires explaining the T flip-flops first (also known as "frequency dividers" or "count to two"), which are the building blocks of any binary counter. They can be made from the "universal flip-flops", the JK ones. (Well, interestingly, they can be made from D flip-flops as well, but let's allow Mr. BeNeater to explain the JK flip-flop as well, for completeness's sake ;) ). I, for one, can't wait for the instruction decoder and the control unit, because those are usually the least-explained elements of the CPU in every course I've seen.
@Xenthera
@Xenthera 7 жыл бұрын
Sci Twi Ditto, microinstructions are explained but are never explained how they are implemented...
@scitwi9164
@scitwi9164 7 жыл бұрын
Xenthera I would also like to see the older way of doing it, with just plain old logic. It can be done easily if the instruction set is specially crafted for that (e.g. some bits in an instruction can select operations in the ALU, other bits can select registers, still other can select the direction of data flow etc.).
@burninhell4448
@burninhell4448 7 жыл бұрын
I actually built mine with just 2 input nand gates(74HC00) although I have only 4 instructions: LDA, ADD, SUB, HLT.
@beopstek
@beopstek 7 жыл бұрын
Since I've started watching your videos I have bought more than 16 breadboards, hundreds of 74LS parts and an oscilloscope...
@jorickcaberio1865
@jorickcaberio1865 7 жыл бұрын
finally! please post more tutorials
@christoskettenis880
@christoskettenis880 4 жыл бұрын
You need to make the SR latch with NAND gates to work as you describe. Great videos explaining while doing the experiment at the same time
@SlayerMonkey555
@SlayerMonkey555 7 жыл бұрын
We need to share these videos and really get them out there to motivate Ben. They're fantastically well made and I think we can all agree that they are invaluable rescources for anyone interested in electronics and logic. Keep them coming!
@yoramstein
@yoramstein 5 жыл бұрын
Great set of videos (content). Good shooting. Understandable English.
@ObserverZero
@ObserverZero 7 жыл бұрын
Thank you for following up! Some of us were paranoid about the break in vids, given the value of what you do. This stuff is turning me into a programmer. I know a wealth of languages, without knowing what I'm actually doing, which makes me so much worse. "What is a variable really?", "How does a function do?". This is absolutely invaluable. Thank you so much for what you're doing. :)
@Bianchi77
@Bianchi77 3 жыл бұрын
Nice info,thanks :)
@domulko44
@domulko44 3 жыл бұрын
best explanation :)
@nitajaanel2796
@nitajaanel2796 7 жыл бұрын
good lesson
@ChrisKnowles1170
@ChrisKnowles1170 7 жыл бұрын
Don't forget to hit the bell icon to get notifications! Ben's super great, and part of that is not shilling for views, likes, and subs. So let's shill on his behalf!
@falcz
@falcz 5 жыл бұрын
Aren't the feedbacks from the output of the J-K Flip-Flop connected the other way around?
@zoltankurti
@zoltankurti 4 жыл бұрын
Yes I belive they are. And you have to be really careful about your edge detector or the circuit will change state many times and become unpredictable.
@daverdz7348
@daverdz7348 4 жыл бұрын
Finally I understand what a flip flop does
@Luda_chris
@Luda_chris 7 жыл бұрын
Yay! He's back!
@xXTheMysteryXx
@xXTheMysteryXx 7 жыл бұрын
I think j stands for "jump" and k for "kill". Nice video though :D
@nasswtor
@nasswtor 5 жыл бұрын
That's what I've been told too
@saduniwathsala
@saduniwathsala 3 жыл бұрын
You have wrong at this time🤭 but you are the guy who responsible i completely understand the deference between SR, D, Flip flop, and JK flip flop. 👍. Well done ♥️
@WeimFam
@WeimFam 7 жыл бұрын
A Christmas miracle
@mheermance
@mheermance 7 жыл бұрын
A JK flip flop sounds like all the flip flop you'll ever need.
@olli_k
@olli_k 5 жыл бұрын
A guy I worked with used to teach electronics and when he got to the jk flip flop he called it by a very fitting name, the John Kerry flip flop.
@bvkchaitanya
@bvkchaitanya 2 жыл бұрын
Thanks!
@DavidCourtney
@DavidCourtney 7 жыл бұрын
Any idea why this video only uploaded at 480 resolution?
@scitwi9164
@scitwi9164 7 жыл бұрын
Yeah.. I made a backup for myself of all Ben's videos in 720p, and this one is an odd ball :p Only 360p for me.
@Cookieglue
@Cookieglue 6 жыл бұрын
I just realized that. Maybe it's because I don't use 4K paper
@rabiussanyapu
@rabiussanyapu 7 жыл бұрын
welcome back dude
@igorkostin5280
@igorkostin5280 4 жыл бұрын
There is a mistake in the JK schematic diagram - the K works as reset and must be on top and J (set) in bottom. Just compare it with SR flip-flop diagram wich is the same except for the feedback lines from the Q/Q-not outputs.
@PerMortensen
@PerMortensen 7 жыл бұрын
It's great to see a new video from you! Isn't there an issue with this flip flop? Surely if J and K are both high then you get the toggle, that's fine. But wouldn't that toggling just keep looping back and forth until your clock 'enable' goes low, eventually settling into some unknown state? Are you just relying on that spike being short enough that you don't get this sort of feedback?
@rustyoil7785
@rustyoil7785 7 жыл бұрын
ure back have happy holidays
@gsittly
@gsittly 10 ай бұрын
Some say the JK-Flip-Flops where invented by Jack Kilby, but I think it's more like an homage to Jack Kilby that those inputs are called J and K, since Kilby was the inventor of integrated circuits (germanium based, which was invented in his freetime in September 1958) and also the inventor of the electronic calculator. The JK FlipFlop got patented in 1966 (May 18th) by Motorola Inc. (Norman J. Miller) and I think Kilby was only working for Texas Instruments and also as a private inventor/engineer. Also often used terms are Jump and Kill. Miller did not mention the meaning of J and K, I just looked the patent sheet, he just wrote J and K there.
@TjipzPK
@TjipzPK 6 жыл бұрын
Much love
@sonodrome
@sonodrome 7 жыл бұрын
Great video Ben! The fact that the state is unknown when S and R = 1 is very interesting. Maybe it could be used for producing a chance operation. Like a random flip of the coin
@paulkupper194
@paulkupper194 7 жыл бұрын
sonodrome Unfortunately that wouldn't work. The state the flip flop ends up in depends on the length of the wire and the tolerances of the parts used. So it usually stays the same for every individual flip flop. There is no way you can make a 50/50 chance out of that.
@scitwi9164
@scitwi9164 7 жыл бұрын
Actually there is, and I once did exactly that. I used a very fast square wave generator (a 555 timer would suffice) to constantly set/reset an RS flip-flop and when the user pressed a button, it latched the flip-flop at the particular state it was currently in, displaying the result. Well, not exactly using the "forbidden" state, but it worked ;)
@sonodrome
@sonodrome 7 жыл бұрын
I think the result would depend on when the user presses the button relative to the current clock state. So it's not truly random, but for all intents and purposes it's unpredictable. You could call it a Pseudo Random State Generator :)
@scitwi9164
@scitwi9164 7 жыл бұрын
sonodrome With that definition, nothing is truly random. The result of a coin toss depends on the initial conditions (orientation of the coin in the tosser's hand, initial velocity, air flow etc.) and the laws of physics. If you could know all those little parameters and the configurations of all atoms on the coin's way, you could theoretically predict the outcome of a coin toss. But in practice it is impossible, so the result is random enough for all purposes.
@sonodrome
@sonodrome 7 жыл бұрын
"Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin." [1] [1] Von Neumann, John (1951). "Various techniques used in connection with random digits”, National Bureau of Standards Applied Mathematics Series. 12: 36-38.
@joeykapi
@joeykapi 7 жыл бұрын
He's back :D
@mmbmmb8890
@mmbmmb8890 7 жыл бұрын
very nice thank you
@vxcvbzn
@vxcvbzn 7 жыл бұрын
I prefer wearing shoes... JK! Flip-flops! xD
@icycounter-strikeandleague8431
@icycounter-strikeandleague8431 5 жыл бұрын
vxcvbzn nice
@ilonachan
@ilonachan 5 жыл бұрын
I was looking for this
@amirdahan5660
@amirdahan5660 4 жыл бұрын
I was looking for this too
@kevinjohnson2464
@kevinjohnson2464 7 жыл бұрын
BEN IS ALIVE!!!! YAY!!!
@electronscape
@electronscape 7 жыл бұрын
oh man you need to finish these videos!!! LOL
@imho2278
@imho2278 3 жыл бұрын
Lost me on the last bit, glad to see it got fixed.
@museypoo
@museypoo 7 жыл бұрын
YEAH, YOUR BACK
@threefour1598
@threefour1598 3 жыл бұрын
Error Correction Notice: This video has an error regarding the JK Flip Flop which Ben has stated and fixed in his next video kzfaq.info/get/bejne/qdpjoLh22sidaXk.html The names J and K should be reversed in this video. Also I believe as other comments have suggested, the feedback loops shouldn't be crossed. Meaning that feedback from Q should go back to the top AND gate and the feedback from Inverse Q should go back to the bottom AND gate.
@Calvinatorzcraft
@Calvinatorzcraft 6 жыл бұрын
Him: yo how ya storing ur memory Me: DDRAM dims Me: JK flip-flop
@juanmartinezrossi
@juanmartinezrossi 6 жыл бұрын
The inputs are called J-K after Jack Kilby, who invented the integrated circuit in 1958. 😁
@Harsh1K20
@Harsh1K20 6 жыл бұрын
JK means Jack Kilby ! Btw really good video !
@MrDoboz
@MrDoboz 3 жыл бұрын
two ICs are talking. -Hi, I'm an opamp. What are you? -I'm an D flip-flop. -Wow, seriously? -Nah, JK.
@WistrelChianti
@WistrelChianti 3 жыл бұрын
So... in summary (having been through the set now) SR latch has two inputs, one to turn it on, one to turn it off. A D latch has one input to turn on or off but its state is ignored until the enable is on. A D flip flop is similar but the enable (clock) rising edge is converted to an "enable" pulse to make it only check the input state momentarily. A SR flop flop is similar to a SR latch, but the state of the inputs is ignored unless an "enable" is on (which is actually a pulse created from the rising edge of the clock). A JK flip flop is the same but with some extra connections to ensure the "both inputs on" state doesn't cause unknown behaviour and instead toggles the output in a predictable way. [Note, mainly just wrote this to summarise to myself]
JK flip-flop racing
12:28
Ben Eater
Рет қаралды 171 М.
D flip-flop
16:01
Ben Eater
Рет қаралды 647 М.
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 17 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 45 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Latches and Flip-Flops 6 - The JK Flip Flop
13:49
Computer Science
Рет қаралды 31 М.
SR Latch Circuit - Basic Introduction
20:29
The Organic Chemistry Tutor
Рет қаралды 158 М.
How Flip Flops Work - The Learning Circuit
9:03
element14 presents
Рет қаралды 502 М.
7 awesome applications of transistors in circuits
27:12
Electronic Wizard
Рет қаралды 125 М.
Ep 058: Timing Diagrams of Flip-Flops and Latches
15:06
Intermation
Рет қаралды 50 М.
How Wozniak’s code for the Apple 1 works
37:18
Ben Eater
Рет қаралды 327 М.
SR latch
12:58
Ben Eater
Рет қаралды 1,9 МЛН
D-Flip-Flop
15:26
Zahi Haddad
Рет қаралды 210 М.
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 17 МЛН