How to make Logic Gates with Transistors
Logic gates normally come packaged in integrated circuits, but to study the internal works of them you need to be able to build them using discrete components. This is a great exercise for those interested in digital electronic circuits, specially if you like to learn exactly how things work internally.
Basic gate Diagrams
AND gate - Here you need to connect two transistors in a way that the output is high only when both inputs are high.
OR gate - This is simpler, you connect them in a way that when either input is high the output will be high.
NOT gate - This is the simplest one to build, as mentioned in the introduction, you only need one transistor for this one.