TTL - Is there a logic gate or IC that does this?

Click For Summary

Discussion Overview

The discussion revolves around the exploration of logic gates and integrated circuits (ICs), specifically focusing on a hypothetical logic gate or IC that operates with two inputs and two outputs, ensuring that when one input is high, the other output is always low. Participants are considering its application in building a Tic Tac Toe game using TTL technology.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant describes a desired logic function that produces two outputs based on the states of two inputs, aiming for a specific behavior where one output is always low when the other is high.
  • Another participant requests a truth table to clarify the proposed logic function.
  • A participant suggests that the described logic function resembles a JK flip-flop, but questions its suitability for the intended application.
  • Some participants propose using low power CMOS instead of TTL for experimentation, citing power considerations.
  • There is discussion about the nature of inputs being "active" and the confusion surrounding terminology, with clarifications regarding the meaning of "active" in logic contexts.
  • One participant mentions that a simple RS Flip-Flop made from NAND gates could satisfy the logic requirements presented.
  • There is a discussion about the operation of NAND gates and the role of inverters in achieving the desired logic behavior.
  • Participants express varying levels of familiarity with circuit drawing and components, discussing the differences between DIP and SMD ICs.
  • Suggestions for resources and suppliers for obtaining logic gate ICs are provided, including recommendations for cookbooks and local electronics suppliers.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the existence of a specific logic gate or IC that meets the original criteria. There are multiple competing views regarding the best approach to achieve the desired logic function, and some participants express confusion about the terminology and functionality of the components discussed.

Contextual Notes

There are limitations in the clarity of the proposed logic function and its representation in truth tables. Some participants express uncertainty about the operation of NAND gates and inverters, indicating a need for further clarification on these concepts.

Who May Find This Useful

This discussion may be useful for hobbyists and students interested in learning about logic gates, circuit design, and the practical applications of TTL and CMOS technologies in electronics projects.

grimofdoom
Messages
30
Reaction score
0
So this summer I plan on taking a long break from my arduino and learning some more 'ancient' and fun stuff. I plan on learning to use and make different circuits using TTL's. I have read a bit on it and learned on the basic logic gates like(using '/' as separator for the reverse) n/and,n/or. There is one kind of logic gate I'm curious about(this is something I've made on minecraft and if it works irl with logic gates). Question:

Is there a logic gate or IC that (uses 2 inputs and 2 outputs) when line A is high, line B will never be(and reverse). No matter what you put into line (off), if will produce no output.

This would be a really useful piece for my first project I am planning for the summer. I plan on making a battery powered Tic Tac Toe game. I haven't started yet and am going to start drawing up a sheet(don't remember what they are called, it's a drawing on how the entire thing is connected and where) for what I am going to build.
 
Last edited:
Engineering news on Phys.org
Please show us the truth table for the device you are trying to describe.
 
A= wire 1
B= wire 2
C= which was active first

A B C | OutPut-A output-B
1 0 A| 1 0
1 1 A| 1 0
0 0 0| 0 0
0 1 B| 0 1
1 1 B| 0 1

I have not made a truth table before, so This may be a little rough
 
TTL is very high power.
Direct CMOS equivalents to TTL gates are available in the 74HCxx series.

I would strongly suggest you experiment with low power 4000 series CMOS rather than TTL gates.
 
Baluncore said:
Your logic function looks like a JK flipflop.
http://en.wikipedia.org/wiki/Flip-flop_(electronics)#JK_flip-flop

I don't think a flip-flop really suits his purpose. Or at least not by itself. He wants two separate outputs(I assume to drive different color LEDs), not a Q and Q'.

Considering you want to make a Tic-Tac-Toe game, I think you are best off doing the whole thing in code. Handling resets will be much easier. If you really wanted to use discrete logic gates, you could combine flip-flops with tri-state buffers. But I don't know of a simple logic device that does what you are looking for.
 
I want to break away from my arduino and learn more off hand stuff so I don't spend as much time and memory on my arduino
 
This statement "C= which was active first" does not make a lot of sense in logic like this - do you mean " the input that went high (1) first" or " the one that changed state first" -- these inputs are not "active" they are always 0 or 1 -- both states are equivalently "active".
 
Sorry, it does sound unusual and not right, I did mean High/1.
 
  • #10
grimofdoom said:
So this summer I plan on taking a long break from my arduino and learning some more 'ancient' and fun stuff. I plan on learning to use and make different circuits using TTL's.
Hmm. I started my "ancient' logic learning with RTL. :approve:
 
  • #11
I still use RTL...

A simple RS Flip/Flop made from NAND gates with output inverters will satisfy the logic table presented.
See attached.
 

Attachments

  • RS_NAND_FF.jpg
    RS_NAND_FF.jpg
    15.6 KB · Views: 604
  • #12
I may be a bit confused,but a nand gate sends a 1 as long as there is a 1 on an input. The diagram(above), how I am reading it is that as long as one is 1, the other will also return a 1(which I am looking for a reverse where if one is 1, the other will always return a 0)

This is where I looked up nand logic gate btw. http://en.m.wikipedia.org/wiki/NAND_logic
 
  • #13
A NAND gate sends 1 except when both inputs are 1.

With 00 as inputs, the two NAND gates both send 1. When input goes to 1, the corresponding NAND gate goes to 0, which keeps the other NAND gate at 1 regardless of what the other input does.
 
  • #14
Sorry, I'm probably getting confused somewhere. I keep seeing this and see that nand let's there be a 0 when there is both inputs 1. Am messing myself up somewhere?
ImageUploadedByPhysics Forums1402013482.345354.jpg
 
  • #15
thats right. did you forget about the inverting gates at the end of Baluncore's circuit?
 
  • #16
Ok, I have not seen that symbol before (and I took a huge step when asking this question), but I'm guessing the diode triangle with open ball inverts a 1 making it a 0 instead?
 
  • #17
Niggle: A diode symbol is a triangle with a bar across the output point.

A triangle by itself, with only two leads, is a "buffer" or a "yes gate"
... the output is logically the same as the input. H>H, L>L.

An open circle on the output of any gate inverts the output - i.e. a nand gate symbol is an and gate with an open circle on the end.

Thus a buffer with an open circle takes the input and returns the opposite... as you have correctly surmised.
This is called an "inverter" or a "not gate".
 
  • #18
So when the inverter get a 0, does it pull electricity from a Separate line to invert that 0 to a 1?
 
  • #19
all the logic gates do. Those symbols are an abstraction.
 
  • #21
Yes. Logic gates need power supplies, 0V and +5V supply rails were once very common as that was specified for TTL.

For experimentation, 4000 series CMOS will operate on anything between 3V and 15V.
http://en.wikipedia.org/wiki/4000_series
 
  • #22
Alright, thank you. This will al be very useful
 
  • #23
SMD needs miniature solder pads to Surface Mount on a PCB. DIP have two rows of big pins that will go through PCB holes or into sockets.

Get an experimenters breadboard and begin with a few DIP logic gates.
Examples …
http://www.jaycar.com.au/productView.asp?ID=PB8814
http://www.jaycar.com.au/productView.asp?ID=PB8816
 
  • #24
Darnit. So I'll have to pass on that. Do you know of anywhere/thing I can purchase that contains DIP logic gate ic chips of different kinds?
 
  • #25
Find a copy of the “CMOS Cookbook” by Don Lancaster; or the “TTL Cookbook” by Don Lancaster.
There are many pdf copies around, or visit your local library.
If you like it there are new and used copies available. Find them through bookfinder.com

Choose your chips from the CMOS Cookbook or from this list.
http://en.wikipedia.org/wiki/List_of_4000_series_integrated_circuits
Download and study the data sheets; Part numbers are usually CD4xxx

Then google these electronics suppliers...
Digikey
Mouser
RS Components
Farnell / Element14 / Newark

There are many other suppliers. You will probably have a local retail outlet.
 
  • #26
I was planning on wanting to do a single purchase of like a grab bag or kit of some sort.
 
  • #27
There are often local suppliers who cater to the hobby market - but you have to look around for them.
Try the yellow pages under electronics supplies and look for "hobby".

In Australasia, an outfit known a "Dick Smith Electronics" can be good for this, they make kits too.
There used to be many more. I used to get my components from workshops who repair radios... but I was a kid back then and could get away with hanging around the back doors of these places asking questions until someone gives me something to do.

However, ICs are usually not sold in "grab bag" style where you get a range in one package.
You have to tell them what you want and how many you need.

In a pinch you can sometimes order from the manufacturer.

Nice to hear the CMOS cookbook is still around ... it is really good value.
 
  • #28
"Dick Smith Electronics" have moved out of electronic components and kits.
DSE has been largely replaced in .au by “Jaycar” who sell components and kits …
http://jaycar.com.au/
@ Simon Bridge. There are Jaycar dealers now on both sides of the Tasman.
 
Last edited:
  • #29
Logic circuits are pretty easy to work with, in addition to the TTL ICs, a breadboard, and a 5V power supply - you need to be able to control inputs and "see" outputs - so SPST switches, push buttons, LEDs and resistors.

You will find that the ICs and LEDs have smoke in them - that is normal, but once the smoke is let out, the device is dead.

Also there appear to be some pretty good Logic Circuit Simulators on the web- they are typically smoke free.
 
  • #30
Baluncore said:
"Dick Smith Electronics" have moved out of electronic components and kits.
DSE has been largely replaced in .au by “Jaycar” who sell components and kits …
http://jaycar.com.au/
@ Simon Bridge. There are Jaycar dealers now on both sides of the Tasman.
Oh cool.

There is a DSE in Auckland that still does the hobby-components market ... obviously they are just doing it on their own. But thanks - it's been a while since I did any serious hobby electronics.
 

Similar threads

Replies
8
Views
2K
Replies
3
Views
3K
Replies
9
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
5K
Replies
6
Views
5K