D flip-flop
Вставка
- Опубліковано 12 лип 2024
- Building on the D latch from the previous video ( • D latch ), the D flip-flop has a "clock" input instead of an "enable" input and stores data just on the rising edge of the clock.
Support me on Patreon: / beneater
You can get all the components used in this video from any online electronic components distributor for a few dollars.
Complete parts list (everything in this video):
1x 74LS02 (Quad two-input NOR gate)
1x 74LS08 (Quad two-input AND gate)
2x 330Ω resistor
1x 1kΩ resistor
1x 0.1µF capacitor
2x Momentary "Microtivity 6mm tact switch"
4x LEDs
Solderless breadboard(s)
22 gauge wire
USB charger and cable or some other 5v power source
it amazes me that at some point people had to invent these things
It is even more amazing when you consider the complex series of steps we had to take to even be ready to invent these. Harnessing electricity, generating electricity, resistors, capacitors, inductors, vacuum tubes and even wire. All had to be invented so to put 3 scientist in a position to make the transistor.
You are using "people" very casually. Fact is, it is usually a select few every so often that are blessed with genetics to see things in a way others can't. 99 percent of population from current living to deceased can't invent complex things like this. They can only take what's already found and innovate. Any useful innovations are usually limited to a select few as well.
It's not necessarily the smarts, or the "ability to see things in a way others can't". Yes, that helps, but they weren't the only smart people around.
The most important factor is being born into the right socioeconomic environment where you're given the chance to study in good universities (and not have to herd the cattle or do labor to stay alive), and even be born with the right *gender* to be taken seriously - which eliminates 50% of all potential geniuses - if we're talking pre-20th century.
*Touching guys, really... this got me right in the feels xD
I am feeling enlightened just by listening to this guy explaining, I can't even imagine how it feels to invent it by yourself :D
14:45 I am still amazed at how coordinated you are doing three separate things at once: moving the pen at a constant speed and pressing two different buttons at different times in different combinations.
It's almost like playing music. The coordination ability required is crazy
Having watched 5 videos previous to this, from transistor logic gates to the D latch, the use of the inverter delay in the edge detection circuit blew my mind to pieces. Biggest crossover event in cinematic history
compuedtr
Dude me too holy shit, I'm like you can't do that, that's illegal.
@@JohnVance for sure, circuit diagrams as a mental model are so useful, it's easy to forget that they are mere approximations
After 3 months of nonsense lectures at uni it take me about 20 minutes of watching your videos on latches and flip flops to completely understand it! Thank you so much for making these :D
Same here!!
im watching this today, when im 40. and this kind of video makes me to think that sometimes the purpose of a uni is not to teach us, but just to take our money and time. :( but im not sure about this feeling... maybe I changed a lot since my uni times... maybe, back in that time, when I was younger, I was not ready to listen. but I will never know, because I never saw someone teaching eletronics like Ben does in my whole life. even in the uni times. maybe, back In my uni times, I could not listen because I didnt see teachers like Ben. His energy to teach us is magic.
Same here!
Ben explains Better than my Prof who has a Phd
@@gsilos Same here, I feel we need a good mentor in our life to show us path.
You are every nerd's dream teacher
i'm a nerd and you have a point
@@sunflower4031 Nerds don't play among us...
@@Amir_Plays_non_stop ??? huh
@@gatedrat6382 dont huh me its true nerds just study no time for among us
@lupo "flipping true"
I see what you did there.
Using propagation delay of gates to build an edge detection circuit always reminds me of the quote, "when life gives u lemon, make lemonade out of it"
Nicely put!
@@usersn300 really
@@ElectroProjects Indubitably.
I hope these gates are powered by lemon too then.
I know I've been doing too much redstone circuitry in Minecraft when I think "oh yeah, 1 tick inverter delay, that makes perfect sense"
man that breadboard time machine is crazy!
It feels like I learn more from these videos than from school, imagine that!
My thoughts exactly
Amazing how you explain all these things step by step! I wish you were my teacher years ago. If they explained electronics the way like you do then my country would probably be on Mars already.
the edge detector is so clever. Never would have thought to exploit the delay in an inverter to create a quick pulse.
what amazes me is that Redstone is so similar to all this. The first flip flop I learned in bedrock edition is a d flip-flop
You are wonderful teacher , keep posting videos and make us educate, can you make a video on pull up and pull down resistors.
yerriswamy k.m he discussed that pretty thurally in previous videos in the play list.
@@tberry7348
I couldn't find it
@@gokuvegeta9500 basically, in a logic circuit you need to have either a 1 or a 0, you can't just disconect a wire, cuz that'll make it go to a random state. the pulldown resistor is conected to ground, so by default, the value is 0,but when the 1 comes in it will take 1 as the value it'll work with because of the resistor
.
.
dude I kid you not I left computer engineering in favor of physics because my instructor couldn't explain this well enough! in 3 videos that took me about 30 minutes to watch I got it all!
Thank you Ben for making these amazing set of videos available for anybody on the internet who just wishes to learn. I can't describe how much this means to me. THANK YOU.
Very nice explanation of the flip-flop! I enjoyed learning about the delay which causes the true condition on the AND gate output. Very cool!
This guy is so so so so so underrated.... I challenge no one is explaining this kinda topics currently on the you tube.
Excellent! Everybody studying computer science must watch these video series. Thank you so much for your effort and time. Kindly think about to do more related to this topic. You are an extraordinary teacher.Thank you again Ben.
This is SUPER helpful. I'm taking a computer architecture class online and didn't understand the book. This cleared it up for me.
This is a wonderful explanation of D flip flop. As a computer science student, I salute to you for this amazing video!
Gee - and I always thought that D-Latch and D-FLipFlop were identical and were just German/English terms. Thanks a lot!!! very well done video. I immediately corrected my simulator....
Man that was helpful AF, your explanation helped me to build a d flip-flop that transitions from 1 to 0 instead of 0 to 1, just replace the "And" gate with an "XNOR" gate
You make things so much simple with those circuits. Thank you so much.
Beautifully explained! Makes me shiver how it was explained so simply.
I just got an electronic kit and ive been binging these videos. Ben Eater is definitely to 50 people ever. like everyone else who's commented on his videos has said, everything just makes sense. he doesn't tend to explain things that don't need to be explained, and the things that do need to be explained are explained at the right speed, at the right time. i wish i could be in his class
You are such an awesome teacher!!! I am so grateful for this video.
VERY WELL DONE! Needed a little refresher during troubleshooting, and this video was perfect.
Love your all tutorial sir,
Your way of teaching with practical approach is fabulous
We would love to see more videos of electronic and communication.
Thank you
Your videos are great because they're bringing me back "To - The - Days". In my COMPE270 Logic Design Class, we did all our designs on LogicWorks software. Then we did the real circuits next semester in the COMPE470L Lab. I remember my fried fried the logic chip network and a few capacitors by accidentally connecting the network up to the 15v supply instead of the 5v supply. The electrolytic caps all smelled like baked bread! Oh the GooD times......
thanks for your support towards my understanding Mr Ben
This is the best thing I have ever seen. You should get an award or something for these videos.
Yes. I agree I wish I had a non profit openinvent.club website and I would give ben eater a commendation.
Explain this is not easy, u do so clear. Thanks.
I love Relays.
Thank you for posting this! This is exactly what I need to further expound on a circuit I'm building. I will post a link to a video of the circuit if/when I get it functioning. Thank you.
Wow, its amazing how easy it was to learn this because to a clear and able to show it using your circuts. If only you were my electrical professor.
Ben Eater is the best thank you so much and keep teaching please!
Absolutely amazing. You make EE fun to learn. Thank you so much.
Excellent video. This guy knows exactly how to teach electronics. None better.
Very nice explanation. It leaves no room for any doubt. Great work Sir.
Thank you for the detail explanation. Keep up the great work !!
You have no idea how helpful your videos to me thanks
Thank you so much! I got covid and missed my lectures going over this, and your videos helped a lot. thank you
superb content - thank you for making this so consumable for the next generation(s)
Love you ben(no homo). Just the way you explain things i can understand instantly without having to rewind most of the time. Your way of teaching needs to be studied
You are the god of digital design much better tha my professor explains nothing on hour long classes lol
omg, thank you so much! It´s the night before my computer architecture exam and you saving me right now.
You're an excellent teacher, thank you very much for taking the time to make these videos.
the best explanation ever, congratulations!
Marvelous way of teaching....blessings friend!
Does anybody else feel the excitement building as the pieces come together?
surely
goddamn bro I learnt faster and better from your videos about latches and flip flops than the lectures of my drunk teacher xD thank you!
You'rte a great teacher, Ben. I love the way you evolve from the SR to the D flip-flop by incrementally adding complexity to the circuit showing the evolution of design techniques.
yet more proof that capacitors are magic and anyone who understands them is a wizard. I couldn't make any sense of that edge detector thing.
Another great video, 'events happening on the rising edge of the clock input/pulse' should make sense to usual programmers
What a coordination! I'm pretty sure it would take me tens of tries to follow those signals at the same time XD
your video was well prepared and has a best quality
Excellent information about interesting circuits! I learned something new. My humble thanks.
wow and wow... your teaching skill is amazing sir
these videos are a must-watch for anyone interested in electronics.
This makes so much more sense than whatever my professor was trying to do...if i pass it is all due to your videos!
very good explanation. Thank you very much. Keep Sharing your knowledge
Wonderful sir! really amazing explanation!
It's amazing to see it practically on breadboard
I love the fact that Ben's explaining how a major component in a 8-bit shift register works. ;)
i literally hated electrical coz of the way it was taught in our uni, you just made it so damn interesting, tysm
You made a great job please don't stop share videos
Really appreciate these videos, our professors lectures are a bit hit or miss and some areas are difficult to understand. But your videos are excellent in quality!
please make more and more videos that explain how a computer works internally. Your videos are really helping me in my MCA. Also make video on how different types of registers work.
At 3:08 I nearly fell off my chair! Way to go, man!
HAHAHAHAHAHA same bro. If u know it is a full microcontroller, and when I saw it I got scared don't ask me why XD
it's a powerful moment, for sure
amazing very good studying digital electronics watching these support videos helps a lot in learning
Thanks for explaining how the clock edges are detected, that was a mystery to me
I feel like a little light went on there (no pun intended). I wish this had been explained to me this way in the past. Thank you, I really appreciate that. Great explanation.
Wonderful tutorials!!
Brilliant as always.
you are great man
god bless you!!!
i am big fan of you from india
Rewatching these videos. Thanks Ben!
It's probably not necessary, but the output could be put through a comparitor for a square pulse, though a Shmitdt trigger would be better, yet, I will try to use a an Op-amp to make a comparitor.
nice tutorial, starting to make sense!
You made my Day Ben!
fantastic explanation thank you
The delay of NOT gate switching its state being used for edge detector reminds me of "It's not a bug, it's a feauture"
Wonderful lecture! Thanks!
Reminds me of Doc's 1885 refrigerator in BTTF3. 😊
Very cool, I have done my electrical, but I am very interested to learn electronics and your teaching is superb, so please do more basic Videos👍
damn yo! better than the prof and the teaching assistant that i have. Subscribed!!!!
a great explanation ... thumbs up!
Ben, thank you so much for this video. this video was exactly what I needed to begin building my "atomic clock" (WWVB Receiver/Decoder). I'm documenting my project here on UA-cam. I'd love for you to take a look and let me know what you think. Thanks again for sharing your knowledge thru all your great videos!
T-flipflops are very useful for counters!
very well explained ! thankyou
Can't thank you enough!!!!!!! Amazing amazing videos!!!!!
that edge detector blows my mind.
What is the point of the resistor there?
From the video, the pulse width is proportional to the resistance and the capacitance, roughly t = R x C.
The lower the resistance, the faster the pulse. The resistance of the wire alone possibly results in a pulse so quick that the logic gates don't see it. The other way to do it would be to put a bigger capacitor there, but resistance is easier.
Here we go again, Ben Eater inspiring hundreds of thousands of people and a new whole generation of self-taught engineers...
Logisim broke when trying to make a DFF in this configuration, so I emulated the function by running 7-off, 1-on with the clock component at 8hz, could be 16 if I wanted to get even closer to instantaneous ticking. Anyway, thanks for the work you do! It's really helping me understand all this crazy stuff that goes on in computers and the embedded solutions (usually SOC) found in many devices we don't think of as computers
(yes, I know there's a DFF module, but building it is an important part of learning its function)
@@TheLunaLockhart did you try the logic gates edge detector instead of the resistor capacitor version of edge detection. Also lower the clock speed in the sim. Electronics workbench ??
Wow this video is awesome.
Ur soo passionate about science
great job!
amazing video
Amazing videos
i love i love your explanation . :)
Your video does make sense!
10:00 I build it in a game with logic gates that have a speed of 40 "ticks" fancy word for hertz. When I press a button it takes 1 tick to activate the AND and to activate the NAND/NOR fed into AND then another 1 tick to deactivate AND because NAND changed to 0, which results in a 1 tick pulse and complete ignore afterwards unless you stop pressing the button and press it again.
It's the only way to do that because the game doesn't have voltages or wires or current etc. It's either on or off, and connections are wireless (very convenient).
Phenomenal video