Тёмный
No video :(

Binary Counter 

Global Science Network
Подписаться 3,9 тыс.
Просмотров 6 тыс.
50% 1

This 4-bit binary counter is part of a 4-bit binary computer that I am building on breadboards using individual transistors. An astable multivibrator is used as the clock of the computer and counter.
The first bit of the counter is the output of the astable multivibrator. For the second and third bits, an edge trigger data flip flop is used. Each trigger is made with an AND gate and 7 inverters.
The final bit is made with a master-slave JK flip-flop. This circuit does not require a trigger but does require two JK flip-flops.
Often times binary counters are built with 4 data flip flops or 4 JK flip flops. This is a unique circuit design that uses multiple circuit types to build the counter. Each flip-flop acts as a frequency divider or a divide by two circuits. This circuit is incredible which is why I call it the magic counter.

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@Prash1c
@Prash1c 6 месяцев назад
I fell asleep and woke up to his enthusiastic commentary on the Oscillscope wave form LOL
@GlobalScienceNetwork
@GlobalScienceNetwork 6 месяцев назад
Ha ha nice!
@wws2179
@wws2179 Год назад
Great video! This series has been so informative and helpful!
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Glad you found it helpful, thanks for watching!
@valovanonym
@valovanonym Год назад
I'm waiting for a gpt model made entirely out of breadboards, wires and breadboard components
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
You are talking about a generative pre-trained transformer? Right now those run on digital logic which actually makes them very limited, (as in not ever going to be alive). We are going to be building off a much better framework, the human mind. We will start on breadboards but billions of neurons on breadboards is probably not a great idea.
@valovanonym
@valovanonym Год назад
@@GlobalScienceNetwork I was actually kidding but yeah analogic artificial mind sounds cool. I'm looking forward to see what you will create
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
@@valovanonym I figured and yeah it will be cool to see what WE create. Eventually, I will need lots of help.
@Enigma758
@Enigma758 Год назад
Very nice design, the computer is coming along nicely and I look forward to your future videos. Would love to see a design for a transistor shift register/ring counter.
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Thank you! Yeah, it will be fun to see it all come together!
@veryboringname.
@veryboringname. Год назад
Hello from EEVblog2!
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Cool, that is a good channel as well!
@MattyEngland
@MattyEngland Год назад
Tie me kangaroo down sport... Rolf Harris sent me.
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Ha ha nice!
@moover123
@moover123 Год назад
Great content. If you continue to work on your videos, I am sure your channel will grow
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Thanks for the positive feedback! I will be adding more videos so we shall see what happens.
@hulk7861
@hulk7861 Год назад
how this ended up as an ad on reddit, i do not know but i am about to watch the shit out of it
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Ha ha nice! I wanted to post it on reddit but the admin did not let me. So I just posted it as an ad. Thanks for watching!
@nethoncho
@nethoncho Год назад
EEVblog sent me here
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Great, thanks for watching!
@aligunaydn9912
@aligunaydn9912 Год назад
You made a calculator in the previous video, it was adding, can you make a calculator with subtraction?
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
I might make a video showing this at some point. If you are interested in learning the method now you can look into a full subtractor. For the XOR and AND configuration, you can add two inverters to the full adder to make a full subtractor. The best way to make it so you can add and subtract is by inverting all the B inputs. So you have a 4-bit input A + inverted inputs B = A-B. This is the two's complement method.
@aligunaydn9912
@aligunaydn9912 Год назад
@@GlobalScienceNetwork thanks
@user-np3gm1ht5d
@user-np3gm1ht5d 10 месяцев назад
Area = width x height. It Area = 1 x 4 . If make it Area = 32 x 32 or even bigger value in width and height. Then it become PHD design tool. Lots of picture figure work.. Just run it with binary bit left shift or right shift counter. Area = 1080 x 1080.
@GlobalScienceNetwork
@GlobalScienceNetwork 10 месяцев назад
Interesting but I am not quite sure what you are saying.
@aligunaydn9912
@aligunaydn9912 Год назад
great
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Thanks for watching!
@deepstories32
@deepstories32 Месяц назад
using bunch of transistors without coding is crazy
@GlobalScienceNetwork
@GlobalScienceNetwork Месяц назад
Ha ha yeah I like building the hardware though! If you build hardware properly you actually should not need any coding.
@jo-h-n-ny-mc9498
@jo-h-n-ny-mc9498 Год назад
beautiful..👌😉🙂🙃
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Thank you!
@deltakid0
@deltakid0 Год назад
7:56 There are no J-K Flip Flops in FPGA because they don't provide anything more _robust_ than using D Flip Flops
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Yeah, that is a good point. I was mostly saying that a pulse-triggered master-slave style data or JK flip flop is more robust than an edge-triggered circuit on a breadboard. Because just a little bit of noise when bumping the circuit can make it trigger. I am going to post a video about flip-flops tomorrow. I am not sure but the data flip-flops in an FPGA might be master-slave style data flip-flops which are very similar to the master-slave JK flip fop.
@deltakid0
@deltakid0 Год назад
@@GlobalScienceNetwork it's impossible to have J-K Flip Flops in FPGA, a CLB is made out of a D type Flip Flop, even if you describe a J-K in Verilog or VHDL what it will end up being is a _physical_ D type behaving like a J-K.
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
@@deltakid0 Interesting, I do plan to look into FPGA design more to see how the logic gates get reconfigured. Maybe a similar method can be used to change how neurons are wired. Do you know if the data flip flips are pulse triggered or edge-triggered?
@deltakid0
@deltakid0 Год назад
@@GlobalScienceNetwork by Pulse-Triggered I think you mean _Level-Triggered_ device such as a Latch, otherwise is an _Edge-Triggered_ device such as a Flip Flop (the former being dreaded by FPGA developers because of its asynchronous nature). By the way, I liked your Binary Counter using only off the shelf transistors, that's an excellent idea to show kids and beginners the very basics of computing (and then show them a 74hc163 for comparison).
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
@@deltakid0 Thanks for the reply. Yeah, I read pulse triggered a few places and thought that was strange terminology as well. I understand what you are saying about an FPGA not wanting to be level-triggered. One book I am reading suggested using level trigger data latches for the registers and I am trying to decide how I want to build them for demonstration purposes.
@MrMadhavbroco7220
@MrMadhavbroco7220 6 месяцев назад
sir this video is informative can ou please upload the tutorial of it please sir.
@GlobalScienceNetwork
@GlobalScienceNetwork 6 месяцев назад
Well this is the tutorial. I included the circuit diagrams in the video as well. Just pause it if want to see the diagrams. If you are unsure how to build logic gates and flip flops, I have other detailed videos about these topics. If you did not watch those this may seem complicated. It is all built on basic circuits though.
@tallmatch5866
@tallmatch5866 3 месяца назад
Hello my smart and talented friend! I have build all the components of the binary counter but I'm having a problem with the multivibrator. In your video when the diodes flicker one diode is completely off and the other is on, they swap their state in a nice constant way and the on/off periods are even.. On the other hand, despite showing stable constant flickering, the Reset diode most of the time is on while the Set diode most of the time is off. The Reset diode turns off for a very short period which I think is the period of the capacitor discharge, and then, it turns on instantly. I haven't assembled the binary counter yet, and I don't know whether such behaviour will cause problems. Will it? Thanks in advance. PS: Is there a community to which I could appeal next time to not distract you every time?
@GlobalScienceNetwork
@GlobalScienceNetwork 3 месяца назад
Hi! Yeah, it is best if you can get a nice square wave with even on-off periods. My guess as to why your circuit is behaving this way is because the two capacitors have different values or you have resistors with different values. It is hard to say without seeing your circuit. You can always build the circuit the exact way it is in the video. You can look at the circuit and use the circuit diagram for the values. It is possible you have a bad transistor/transistor in backward or a short in your breadboard. When it doubt just try and build the circuit again with new components as this is a small circuit. Once you get it working make one capacitor half the other and you can see the on-times will be asymetric(This would just be for fun). If you send the output to an ossicope you will be able to see the exact on-off times. Let me know if you have other questions. Right now it is mostly me responding. We will get other socials/forms going soon.
@tallmatch5866
@tallmatch5866 3 месяца назад
Thank you for your quick response!
@tallmatch5866
@tallmatch5866 3 месяца назад
​​@@GlobalScienceNetworkHello once again! I've got a problem with my transistors. It seems like bc547 don't work well with this project. I also have some of 337s but can you suggest me the type of transistors you use? Another thing is that when I apply 5V through Arduino the circuit with 2 or more data latches causes the diodes' light to be very dim and almost unnoticeable.. But if I use 9V battery they light quite brightly. I'm wondering whether you use 5V or higher.
@GlobalScienceNetwork
@GlobalScienceNetwork 3 месяца назад
@@tallmatch5866 The bc547 should work but the base emitter-collector configuration is the opposite of the transistors I used which were the 2N2222 and 2N3904. So you have to place them in the reverse orientation I show. This just means flip the transistors if you did not already realize that. I just used a 5V power supply. If the light is dimming then something is wrong.
@tallmatch5866
@tallmatch5866 3 месяца назад
​@@GlobalScienceNetwork Many thanks!
@deepstories32
@deepstories32 Месяц назад
is it possible to build a calculator using this circuit ?
@GlobalScienceNetwork
@GlobalScienceNetwork Месяц назад
Well I build a calculator using full adders in a different video. We also used counters to build a full computer in a differnt video. The actual operation of this counter is division which could be added to the ALU of a computer.
@MonsterThiv
@MonsterThiv Год назад
🇰🇭👍
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
Thanks for watching!
@deang5622
@deang5622 Год назад
The guy has never heard of discrete logic using MSI components.
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
The idea was to build circuits without ICs to learn the fundamentals of circuit design. If you watch the latest video I built a 4-bit computer using discrete components/not ICs.
@user-np3gm1ht5d
@user-np3gm1ht5d 10 месяцев назад
Led monitor.
@GlobalScienceNetwork
@GlobalScienceNetwork 10 месяцев назад
You are saying that is how to turn the binary counter into an LED monitor?
@wxua5859
@wxua5859 5 месяцев назад
dave anna how much paise for this?
@GlobalScienceNetwork
@GlobalScienceNetwork 5 месяцев назад
Not sure what you mean?
@johnm2012
@johnm2012 Год назад
I appreciated the lesson but didn't like the change of style from your previous videos. Please drop the "this is incredible" nonsense and just present it straight and please don't even think about adding background music.
@GlobalScienceNetwork
@GlobalScienceNetwork Год назад
I was trying to present the info in a more engaging way so I could compare the video analytics. The percent view duration of this video is higher than most of my videos. Even so, I will focus on presenting the info in a clear simple way.
@tallmatch5866
@tallmatch5866 3 месяца назад
​@@GlobalScienceNetworkeverything is cool, do what you enjoy doing. The quality of your explanations is outstanding; so, you earned yourself a card blanch, a big one.
@GlobalScienceNetwork
@GlobalScienceNetwork 3 месяца назад
@@tallmatch5866 ha ha thank you!
Далее
SR Latch, Gated SR Latch, and Data Latch
11:56
Просмотров 4,1 тыс.
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 1,1 млн
Девочки, у вас тоже так? 💅🏻✨
00:17
skibidi toilet zombie universe 40 ( New Virus)
03:06
D Flip Flop and JK Flip Flop
13:31
Просмотров 3,6 тыс.
Digital Logic Sim. Programmable 8-bit computer.
11:17
I built my own 16-Bit CPU in Excel
16:28
Просмотров 1,4 млн
Fun with Transistors
24:33
Просмотров 201 тыс.
How to win a argument
9:28
Просмотров 468 тыс.
Minecraft's New "Dynamic Worlds" Are OUT NOW
30:53
Просмотров 300 тыс.
SR latch
12:58
Просмотров 1,9 млн