EGR 270 Fundamentals of Computer Engineering File: Pinouts Lab Reference Sheets This document contains useful information for constructing and testing digital logic circuits, including: Pinouts Data sheets Capacitor markings and values available in lab Standard 5% and 10% Resistor and the resistor color code SK-10 breadboard and an example circuits wired on the breadboard Building a 5V power supply using a 9V battery and a 5V regulator This document is available from the instructor’s web page in both Adobe Acrobat format and in Microsoft Word format. If you download the Microsoft Word file, you can copy any of the pinout or other information that you wish into lab reports or other locations. The Drawing Tools in Microsoft Word were used to create the pinouts and circuits. The Drawing Tools menu usually appears at the bottom of the screen in Word. If it does not, pick View Toolbars - Drawing from the menu. Each pinout has been grouped so that it can be easily moved and resized. To edit a pinout, select the object and then pick Draw - Ungroup from the Drawing Tools menu. Data Sheets Data sheets for the devices listed below, along with a number of other devices, are available on the instructor’s web page. 7400 – Quad 2-input NAND 74HC00 – CMOS Quad 2-input NAND 7401 – Open-collector Quad 2-input NAND 7406/7416 – Open-collector inverter 7447A – BCD-to-7-segment-decoder/driver (for common anode displays) 7476– JK flip-flop with Preset and Clear 74151 – 8x1 multiplexer (data selector) 74155/74156 – Dual 2x4 decoder 74191 – Synchronous 4-Bit Up/Down Counter 555 – Timer GAL22V10 – Programmable Logic Device (PLD) Page 2 14 13 12 11 10 9 8 Vcc 14 13 12 11 10 9 3 4 5 6 7 7400 Quad 2-input NAND 14 13 12 11 10 9 8 Vcc 2 3 4 5 6 4 5 6 7 14 13 12 11 10 9 13 12 11 10 9 8 4 13 12 11 5 6 7 10 9 8 Vcc 2 3 14 13 12 4 5 6 7 11 10 9 8 4 14 13 1 2 5 12 3 14 13 12 7 7427 Triple 3-input NOR 11 10 9 8 2 3 4 5 6 7 7411 Triple 3-input AND 14 13 12 11 4 5 6 7 11 10 9 5 6 10 9 8 1 2 NC 3 Gnd 4 7 7420 Dual 4-input NAND 14 13 12 11 10 9 5 6 8 Vcc 7486 Gnd 1 8 NC 7432 6 7 7408 Quad 2-input AND Gnd 1 Gnd 3 6 7420 Vcc 2 4 7402 Quad 2-input NOR Vcc 7427 1 3 7411 7410 Triple 3-input NAND 14 2 Gnd 1 Gnd 3 5 8 7408 Vcc 2 9 Vcc 7410 1 8 7405, 7406, 7416 Hex Inverter (open-collector outputs) Vcc 10 Gnd 1 7405, 7406, 7416 7404 Hex Inverter 14 7 7401 Quad 2-input NAND (open-collector outputs) Gnd 3 11 7402 Vcc 2 12 Gnd 1 7404 1 13 7401 Gnd 2 14 Vcc 7400 1 8 Vcc 2 3 4 5 6 7432 Quad 2-input OR 7 Gnd 1 2 3 4 7 7486 Quad 2-input Exclusive-OR 16 16 15 Vcc 14 f g 13 12 a 10 11 b c d 9 e 4 5 3 7 1 2 C 1 2 LT BI/RBO RBI 3 4 RBI OUTA LT OUTB 13 12 11 OUTC 7447A B Page 3 Vcc BI/RBO 5 D A Gnd 6 7 8 6 10 INA OUTD INB OUTE INC OUTF IND OUTG GND 9 15 14 7447A 7447A BCD to 7-segment decoder/driver: Pinout and Logic Symbol 8 1K 1Q 1Q Gnd 2K 2Q 2Q 2J 16 15 14 13 12 11 10 9 2 7 U1A U1B PRE CLR PR K Q 4 J Q PRE J 15 Q 1 CK J Q K Q 7476 PR 6 CLK CK 16 9 K 14 Q 12 2 1CK 1PR 3 4 5 1CLR 1J Vcc 6 2CK 7 8 2PR 2CLR B4 4 C4 C0 Gnd B1 A1 1 16 15 14 13 12 11 10 9 4 C4 C0 B1 A1 1 B4 7483A A4 A2 1 A4 A3 2 3 3 A3 7476 3 2 B3 B2 4 5 6 7 8 B3 Vcc 2 B2 A2 1 A4 3 A3 8 A2 10 A1 16 B4 4 B3 7 B2 11 B1 13 C0 14 C4 SUM4 SUM3 SUM2 15 2 6 SUM1 9 7483A 7483A 4-Bit Adder: Pinout and Logic Symbol Vcc A3 B2 A2 A1 B1 A0 B0 16 15 14 13 12 11 10 9 A3 B2 A2 A1 B1 A0 7485 B3 A<B in A=B in A>B in 11 CLK K Q 10 CLR 7476 Dual JK Flip-Flop: Pinout and Logic Symbols 3 Q CLR CLR 1 J A>B out 1 2 3 4 5 B3 A<B in A=B in A>B in A>B out B0 A=B A<B out out 6 7 A=B A<B out out 8 Gnd 1 15 14 13 11 12 9 10 2 3 4 B3 A3 B2 A2 B1 A<B A1 A=B B0 A>B A0 A<B_IN A=B_IN A>B_IN 7 6 5 7485 7485 4-Bit Magnitude Comparator: Pinout and Logic Symbol 8 7476 CKA NC QA QD Gnd QB QC 14 13 12 11 10 9 8 Page 4 6 R91 7 R92 QA QD 7490A B R02 QC 14 R92 1 CKA QB QC CKB 1 2 9 8 R91 2 R01 3 R02 CKB R01 12 QB A R01 QA 3 4 5 6 7 R02 NC Vcc R91 R92 QD 11 7490A 7490A Decade Counter: Pinout and Logic Symbol CKA NC QA QD Gnd QB QC 14 13 12 11 10 9 8 QA QD 14 QB QC A 1 7493A R01 1 2 CKB R01 QA CKB 9 QB 8 QC 11 QD 2 R01 3 R02 B R02 12 CKA 7493A 3 4 5 6 7 R02 NC Vcc NC NC 7493A 4-Bit Binary Counter: Pinout and Logic Symbol Vcc QA QB QC QD CLK1 CLK2 14 13 12 11 10 9 8 6 QA QB Serial Input InA 1 Serial Input QC QD 7495A InB 2 3 Input A Input B InC InD 4 5 Input Input C D MODE 1 SER 9 CLK1 8 CLK2 2 A 3 B 4 C 5 D CLK1 CLK2 Mode 6 Mode 7 13 QA 12 QB 11 QC 10 QD 7495A Gnd 7495A 4-Bit Parallel-Load Shift Register: Pinout and Logic Symbol Vcc I4 I5 I6 I7 S0 S1 S2 16 15 14 13 12 11 10 9 I4 I5 I2 I3 I7 S0 E 4 3 2 1 15 14 13 12 11 10 9 S1 74151 I3 1 I6 2 I2 I1 I0 Z S2 Z 7 3 4 5 6 7 8 I1 I0 Z Z E Gnd E I0 I1 I2 I3 I4 I5 I6 I7 Z Z 5 6 S0 S1 S2 74151A 74151 8x1 Data Selector/Multiplexer: Pinout and Logic Symbol Vcc 2C 2G A 2Y3 2Y2 2Y1 2Y0 16 15 14 13 12 11 10 9 Page 5 2 1G 1 1C 2C 2G A 2Y3 2Y2 2Y1 13 74155/74156 1C B 1G 1Y3 1Y2 2Y0 1Y1 3 1Y0 14 15 1 1C 2 3 1G B 4 5 6 7 1Y3 1Y2 1Y1 1Y0 8 A 1Y0 1Y1 1Y2 1Y3 B 2Y0 2Y1 2G 2Y2 2Y3 2C 7 6 5 4 9 10 11 74155 – Totem Pole Outputs 74156 – Open-Collector Outputs 12 74155/74156 Gnd 74155/74156 Dual 2-Line To 4-Line Decoder/Demultiplexer: Pinout and Logic Symbol Vcc A CLK RCO MAX/ MIN LOAD C D 16 15 14 13 12 10 9 A CLK 11 RCO MAX/ MIN LOAD C D 74190/74191 B QA QB 1 2 B QB CTEN 3 4 QA CTEN 13 4 CTEN RCO 5 D/U 14 CLK 11 LOAD 12 MAX/MIN 15 A 3 QA 1 2 B QB 10 6 C QC 9 7 D QD D/U QC QD 5 6 7 8 D/U QC QD Gnd 74190 – BCD Counter 74191 – 4-Bit Binary Counter 74190/74191 74190/74191 Synchronous Up/Down Counter: Pinout and Logic Symbol Vcc A CLR BO CO 16 15 14 13 12 LOAD 11 C D 10 9 5 A CLR BO CO LOAD C D 74192/74193 B QA QB 1 2 B QB DOWN UP 3 4 QA DOWN UP 4 3 DOWN QA 14 2 CLR QB 11 6 LOAD QC 7 QD 15 A 1 13 B BO 10 12 C CO 9 D QC QD 5 6 7 8 UP QC QD Gnd 74192 – BCD Counter 74193 – 4-Bit Binary Counter 74192/74193 74192/74193 Synchronous Up/Down Counter: Pinout and Logic Symbol Input/ Input/ Input/ Input/ Input/ Input/ Input/ Input/ Input/ Input/ Vcc Output Output Output Output Output Output Output Output Output Output Input 22 21 20 18 17 16 14 13 23 19 15 24 GAL22V10 1 Input/ Clock 2 3 4 Input Input Input 5 6 7 8 9 10 11 12 Input Input Input Input Input Input Input Gnd GAL22V10 PLD (Programmable Logic Device) Vcc Page 6 8 R 4 8 A Vcc Reset Vcc 7 Discharge 6 5 555 Gnd Trigger Output 1 2 3 Output 3 R 7 Discharge Threshold Control Voltage Reset 4 B Control Voltage 5 6 Threshold C Ground 1 Trigger 2 0.01 uF Example: If C = 0.1 F, RA = 5 k, and RB = 4.4 k, then TH = 651.4 s, TL = 304.9 s, T = 956.3 s, f = 1046 Hz, and D = 68.1 % 555 Timer connected as an astable multivibrator (clock generator) TH = 0.693(R A + R B )C Output Voltage TL = 0.693(R B )C T T = TH + TL = 0.693(R A + 2R B )C f= Vcc 1 1.44 = T R A + 2R B C TH T RA + RB D = Duty Cycle = H = x 100% T R A + 2R B TL Time 0 Vcc R 8 Vcc 4 Reset 8 7 Discharge Vcc output Output 3 7 5 Threshold Control Voltage 555 C 6 Threshold input trigger pulse 6 Discharge Trigger 2 Control 5 Voltage Ground 1 Gnd Trigger Output 1 2 3 Reset 4 0.01 uF 555 Timer connected as a monostable multivibrator (one-shot) Trigger Voltage Vcc Falling edge of trigger voltage fires the one-shot Trigger should return to Vcc Time Output Voltage Vcc T = 1.1RC Time Example: If C = 0.1 F and R = 47 k, then T = 1.1(47 k)(0.1 F) = 5.17 ms. So, each time the one-shot is triggered, an output pulse with a duration of 5.17 ms is produced. Page 7 Out3 Out4 Gnd In4+ In4- In3+ In3- 14 13 12 11 10 9 8 6 In2- 7 In2+ + E + _ _ 7805 LM339 B + + _ _ B C C 1 Out2 E 2 Out1 3 Vcc 4 In1- 5 In1+ LM339 Quad Comparator (open-collector outputs) TIP30 PNP Transistor Symbol and Pin Assignment 7805 + + 5V out 6 – 35V in _ _ 7805 5V Regulator 1 Vin + 2 Vout 240 3 (ADJ) Vin + LM317T C2 1F C1 0.F Vout 5k _ LM317T Adjustable Regulator Notes: 1) C1 is optional – improves transient response 2) C2 is needed only if device is far from filter capacitors 3) Vout adjustable +1.2V to +37V 4) Vout is tied to the heat sink _ 3 2 1 ADJ Vout Vin Page 8 8 7 Gnd -VDC 6 Output 5 Offset2 3 + A741 NonInverting Inverting +VDC Offset1 Input Input 1 2 3 +VDC OS2 7 5 6 uA741 2 - 4 4 OS1 -VDC OUT 1 A741 Operational Amplifier: Pinout and Symbol (MSB) D C B A 7447 a b c d e f g a b c d e f g BCD to 7-segment decoder (with active-LOW outputs) (MSB) D C B A 7448 a b c d e f g 14 13 a 1 No Pin 2 3 g b e c cathode d f e g d b anode c 9 8 14 13 c NC d a b No Pin DP e f 6 7 1 g 2 cathode a Common-cathode 7-segment display 10 (common anode connection to Vcc) Typical segment a g Common Anode 7-segment Display anode +5V a Common-anode 7-segment display 11 Common No Anode Pin f f a b c d e f g BCD to 7-segment decoder (with active-HIGH and outputs) Common b Anode a Typical segment 12 Common No Cathode Pin No Pin No Common No Pin Cathode Pin 4 9 8 DP c e d 6 7 Common Cathode 7-segment Display (common cathode connection to ground) Page 9 Capacitor values available in the EGR 270 lab (all values are in F) .001 .0022 .0033 .0047 .0068 .01 .015 .022 .027 .033 .047 .1 .15 .22 .27 .33 .47 .56 .68 .82 .068 .082 1 2.2 3 3.3 4.7 5 6.8 10 12, 15 22 25 33 47 50 100 120 200, 220 1000 1500 470 500 "Hold it! I said 2 MICRO farads!" Polarized capacitors: Polarity is important on some capacitors. Most capacitors that look like metal cans are electrolytic capacitors and are polarized. If a capacitor is polarized it should have a terminal marked as being positive (+) or negative (-). Be sure to connect it with the proper polarity. Connecting a polarized capacitor with reverse polarity can sometimes yield errors and in extreme cases the capacitors can explode! Some common markings for polarized capacitors are shown below. + + + _ _ _ _ + + + + The longer lead is generally positive Capacitors values: Capacitors vary tremendously in size, color, shape, and material. The markings on capacitors also vary considerably and they can often be difficult to interpret since various styles are used to specify the value of capacitance. It is a good idea to check capacitor values in lab using an impedance bridge if one is available. Several examples of labels found on capacitors are shown below. 3 UF C = 3 F +47 +35V C = 47 F 35V rating + terminal marked 10 MFD C = 10 F 47/25 M C = 47 F 25V rating M = 20% tolerance 104 100 MMFD C = 100 pF (Note that MMFD = F = 10-610-6F = 10-12F = pF) .001K 1000 100J C = 0.001 F C = 100 pF 1000V rating J = 5% tolerance K = 10% tolerance C = 0.1 F (Note that 104 = 10 x 104 pF = 10510-12F = 10-7F = 0.1 x 10-6 F = 0.1 F) Page 10 Standard values of commercially available resistors Ohms Kilohms Megohms () (k) (M) 0.10 1.0 10 100 1000 10 100 1.0 10.0 0.11 1.1 11 110 1100 11 110 1.1 11.0 0.12 1.2 12 120 1200 12 120 1.2 12.0 0.13 1.3 13 130 1300 13 130 1.3 13.0 0.15 1.5 15 150 1500 15 150 1.5 15.0 0.16 1.6 16 160 1600 16 160 1.6 16.0 0.18 1.8 18 180 1800 18 180 1.8 18.0 0.20 2.0 20 200 2000 20 200 2.0 20.0 0.22 2.2 22 220 2200 22 220 2.2 22.0 0.24 2.4 24 240 2400 24 240 2.4 0.27 2.7 27 270 2700 27 270 2.7 0.30 3.0 30 300 3000 30 300 3.0 0.33 3.3 33 330 3300 33 330 3.3 0.36 3.6 36 360 3600 36 360 3.6 0.39 3.9 39 390 3900 39 390 3.9 0.43 4.3 43 430 4300 43 430 4.3 0.47 4.7 47 470 4700 47 470 4.7 0.51 5.1 51 510 5100 51 510 5.1 0.56 5.6 56 560 5600 56 560 5.6 0.62 6.2 62 620 6200 62 620 6.2 0.68 6.8 68 680 6800 68 680 6.8 0.75 7.5 75 750 7500 75 750 7.5 0.82 8.2 82 820 8200 82 820 8.2 0.91 9.1 91 910 9100 91 910 9.1 Notes: All values are available with 5% tolerance. Only the bold values are available with 10% tolerance. Resistor Color Code Carbon resistors are typically color-coded using four colored bands labeled A, B, C, and D as indicated below. Bands A, B, C Black 0 Brown 1 Red 2 Orange 3 Yellow 4 Green 5 Blue 6 Violet 7 Gray 8 White 9 Gold -1 Silver -2 Band D Gold Silver No band 5% 10% 20% A B C D A – First significant digit B – Second significant digit C – Exponent D – Tolerance Resistance value: R = AB x 10C Ex: Green, Blue, Red, Silver R = 56 x 102 = 5.6 k, 10% tolerance The size of a carbon resistor indicates its power rating. ¼W ½W 1W 2W Page 11 SK-10 Solderless Breadboard (or equivalent) A B Internal Connections on the SK-10 Solderless Breadboard Notes: 1) Lines indicate which holes are connected under the breadboard. 2) To connect two or more wires together, plug them in the same row of holes. 3) Holes A and B are connected on some breadboards (as well as the similar holes on the other horizontal rows). Page 12 Example: Connect the following circuit using the SK-10 solderless breadboard. 5.6 k 10 V + _ 1.0 k 3.3 k 2.2 k 1.5 k Connections to 10 V power supply Jumper + _ Jumper Page 13 Example: Connect the following circuit using the SK-10 solderless breadboard. Switch_A Switch_B 13 U1 11 12 12 U2 Switch_C 11 LED 13 Jumper OFF 7408 ON 7432 ABC Jumper + _ 7805 9V Battery + 6 – 35V in _ + 5V out _ Notes: 7805 5V Regulator 1) The DIP switch operates as follows: ON – Provides a logical 0 (LOW). Closed switch makes connection to ground. OFF – Provides a logical 1 (HIGH). Open switch provides 5V through the 2.2k resistor. (It is often useful to install the switch upside down so that ON (LOW) is on the bottom.) 2) The switch positions shown above (darkened) provide an input of 110 causing the red LED to light indicating that the output is logical 1 (HIGH). 3) Cutting wires to length and using a wire color scheme makes for a neat circuit that is easy to troubleshoot. In the circuit above the following color scheme was used: RED – 5V BLACK – Ground (0V) GREEN – Switch connections BLUE – Other connections