This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
university:courses:alm1k:alm-lab-4s [22 May 2016 20:25] – [Switches in Series:] Doug Mercer | university:courses:alm1k:alm-lab-4s [03 Nov 2021 20:32] (current) – [Activity: BJT device as a switch] Doug Mercer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Activity | + | ======Activity: |
=====Objective: | =====Objective: | ||
Line 76: | Line 76: | ||
Calculate the ß when Q< | Calculate the ß when Q< | ||
- | =====Switches in Parallel:===== | + | ====Switches in Parallel: |
- | Two NPN transistors can be connected with their collectors and emitters in parallel, figure3, which provides a way to switch on the load from two different signals. Either input can turn on the load but both need to be off for the load to be off. This is referred to as an “OR” function. | + | Two NPN transistors can be connected with their collectors and emitters in parallel, figure3, which provides a way to switch on the load from two different signals. Either input can turn on the load but both need to be off for the load to be off. This is referred to as an “OR” |
{{ : | {{ : | ||
Line 86: | Line 86: | ||
Modify the circuit on your breadboard to look like figure 3. Add a second NPN transistor, Q< | Modify the circuit on your breadboard to look like figure 3. Add a second NPN transistor, Q< | ||
- | =====Switches in Series:===== | + | ====Switches in Series:==== |
- | Two NPN transistors can be connected in series with the collector of the lower transistor connected to the emitter of the upper transistor, figure 4, which provides a way to switch off the load from two different signals. Either input can turn off the load but both need to be on for the load to be on. This is referred to as an “AND” function. | + | Two NPN transistors can be connected in series with the collector of the lower transistor connected to the emitter of the upper transistor, figure 4, which provides a way to switch off the load from two different signals. Either input can turn off the load but both need to be on for the load to be on. This is referred to as an “AND” |
{{ : | {{ : | ||
Line 95: | Line 95: | ||
Modify the circuit on your breadboard to look like figure 4. Now the second NPN transistor is in series with the emitter of Q< | Modify the circuit on your breadboard to look like figure 4. Now the second NPN transistor is in series with the emitter of Q< | ||
+ | |||
+ | ====BJT Transistor Realization of an XNOR gate==== | ||
+ | |||
+ | The single transistor inverter stage along with multiple input resistors can be combined to create more complex logic functions. The configuration shown in figure 5 realizes a two input exclusive NOR (XNOR) logic function. You will need a total of 5 NPN transistors, | ||
+ | |||
+ | The resistors used as inputs at the bases of the 5 NPN transistors are not all the same value and they in theory should all be the same value. But a range of values will still work given the relatively high beta of the 2N3904 transistors and the values shown were chosen so as to not need more than the 5 of any one value supplied in the Analog Parts Kit. You can experiment with other resistor values to find what the range of minimum and maximum values is. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | <WRAP centeralign> | ||
+ | |||
+ | Again, set PIO 0 and PIO 1 to all four combinations of logic 0 and 1. Note which combinations turn on the LED. The voltage at the LED and Q< | ||
+ | |||
+ | **Resources: | ||
+ | |||
+ | * LTSpice files: [[downgit> | ||
+ | * Fritzing files: [[downgit> | ||
**For Further Reading:** | **For Further Reading:** | ||
- | http:// | + | [[wp>Transistor|Transistor]]\\ |
- | https:// | + | [[wp>Light-emitting_diode|Light- emitting diode]]\\ |
- | https:// | + | [[wp>LED_circuit|LED circuit]] |
- | **Return to ALM Lab Activity [[university: | + | **Return to [[university: |
+ | **Return to [[university: | ||
+ | **Return to Electronics | ||