please dont rip this site

Digital Logic Tutorial


RS Flip Flop

What can be done with NAND gates? We can learn and we can teach computers to learn. To learn we need memory. The smallest bit of memory is called a "BIT" and it can only learn a single thing: It can learn on or off and not forget when we stop teaching it. This next circuit is one type of a bit, called an "RS Flip Flop". The name comes from Reset and Set (which are the two input wires) and Flip Flop which sort of says what it does. Like a card on a table, it can flip or flop one way or the other, but which ever way it lands, it will stay that way.

The buttons in the LogiSim circuit will pop back up as soon as you let up on the mouse button, but the light on the output will stay "set" or "reset" even when no button is down. If you press "set", it will stay on. If you press "reset" it will stay off. It remembers what you pressed.

Note the the first NAND gate in the upper left: It has both it's input hooked to the button. This is a trick that makes the NAND gate into a NOT gate. We could have just put a NOT gate here, but we wanted to show you how any gate can be made from NAND gates. This NAND / NOT gate is here to make the button into a "normally on" type of button. The output of the NAND / NOT gate (at the wire with "/S" over it) is on until the button is pushed, then it goes off for a moment.

The /S just means "NOT Set". A lot of circuits are labled with a "/" before a line to show that they are on most of the time.

Look at the output of the top right NAND gate (the gate is labled "A" and the wire is labled "Q" ). If the Set button is pressed, /S is low, and Q MUST be high. Why? Because if any input to a NAND gate is low, the output will be high. If Q is on, the top input to the lower right NAND gate (labled "B") is on. Now, if the Reset button is not pressed, the "/R" wire must also be high. So both inputs to B are on and the output of B will go OFF. That makes the lower input to "A" off and it "locks" the circuit in the Set position. Now if the Set button is up (off), even though /S is on, the lower input to A keeps that gate on.

You can run through the Reset switch the same way. If Reset is pressed, /R is low so B must be high so A will be low (/S is high) so the top input to B locks it on even when Reset is released and /R comes back on.

If that doesn't make sense yet, keep pressing the buttons while you read the above text again and again until it clicks.

Remy says to remind you that all computer memory is made from bits. 8 Bits are a BYTE and 1 Mega Byte (1MB) is about 1 million Bytes while 1GB (Giga Byte) is about a Billion bytes. FLASH memory is a short name for the real name: NAND FLASH. Guess what it's made out of?

Next

The D type flip-flop; A bit more like a bit. Or Binary and decimal numbers computers count!

See also:

Advanced

What would happen if both the Set and Reset buttons were pressed at the same time?


file: /Techref/logic/RSFlipFlop.htm, 3KB, , updated: 2011/6/23 10:08, local time: 2012/5/23 14:24,
TOP NEW HELP FIND: 
38.107.179.232:LOG IN

 ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.ecomorder.com/techref/logic/RSFlipFlop.htm"> Digital Logic, Logic Tutorial, RS Flip Flop, 7474, 7476,7479</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 
Stepper motors CAN be smooth!
And stepper controllers can be strong and cheap. Roman Black's Linistep stepper controller kits:
o 18th microstep
o Linear smoothing
  o Open source
o Full kit $25!
  'What can I do?' - SiCKO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .