← Commit history
sm74hc138d: factory component page (tier=lcsc)
4 files changed
+66−65
README.md+16−18@@ -8,22 +8,22 @@ SM74HC138D from Shenzhen Sunmoon Micro, in a SOP-16. Pinout and pin descriptions | Pin | Name | Type | Function | |---|---|---|---|-| 1 | A0 | input | Address input bit 0 (LSB). CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A1 and A2. |-| 2 | A1 | input | Address input bit 1. CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A0 and A2. |-| 3 | A2 | input | Address input bit 2 (MSB). CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A0 and A1. |-| 4 | E1 | input | Active-LOW enable input 1. Must be LOW (together with E2 LOW and E3 HIGH) to enable decoding; when the enable condition is not met, all Y outputs are forced HIGH. |-| 5 | E2 | input | Active-LOW enable input 2. Must be LOW (together with E1 LOW and E3 HIGH) to enable decoding; otherwise all Y outputs are HIGH. |-| 6 | E3 | input | Active-HIGH enable input 3. Must be HIGH (with E1 and E2 both LOW) to enable decoding; otherwise all Y outputs are HIGH. |-| 7 | Y7 | output | Active-LOW decoded output 7. Driven LOW when the chip is enabled and A[2:0] = 111; otherwise HIGH. IOL up to 58 mA typ, IOH up to -32 mA typ at VDD = 5.0 V. |-| 8 | GND | power_in | Logic ground (0 V) reference for the device. |-| 9 | Y6 | output | Active-LOW decoded output 6. Driven LOW when the chip is enabled and A[2:0] = 110; otherwise HIGH. |-| 10 | Y5 | output | Active-LOW decoded output 5. Driven LOW when the chip is enabled and A[2:0] = 101; otherwise HIGH. |-| 11 | Y4 | output | Active-LOW decoded output 4. Driven LOW when the chip is enabled and A[2:0] = 100; otherwise HIGH. |-| 12 | Y3 | output | Active-LOW decoded output 3. Driven LOW when the chip is enabled and A[2:0] = 011; otherwise HIGH. |-| 13 | Y2 | output | Active-LOW decoded output 2. Driven LOW when the chip is enabled and A[2:0] = 010; otherwise HIGH. |-| 14 | Y1 | output | Active-LOW decoded output 1. Driven LOW when the chip is enabled and A[2:0] = 001; otherwise HIGH. |-| 15 | Y0 | output | Active-LOW decoded output 0. Driven LOW when the chip is enabled and A[2:0] = 000; otherwise HIGH. |-| 16 | VDD | power_in | Logic supply voltage. Operating range 3.0 V to 5.5 V (absolute max 7.0 V). Decouple with a 100 nF ceramic capacitor to GND close to the pin. |+| 1 | A0 | input | Address select input bit 0 (LSB). CMOS logic level input used to select one of eight outputs. |+| 2 | A1 | input | Address select input bit 1. CMOS logic level input used to select one of eight outputs. |+| 3 | A2 | input | Address select input bit 2 (MSB). CMOS logic level input used to select one of eight outputs. |+| 4 | ~E1 | input | Active-low enable input 1. Must be low for outputs to be enabled. |+| 5 | ~E2 | input | Active-low enable input 2. Must be low for outputs to be enabled. |+| 6 | E3 | input | Active-high enable input 3. Must be high for outputs to be enabled. |+| 7 | ~Y7 | output | Active-low decoded output 7. Asserted low when A2:A0 = 111 and all enables are active. |+| 8 | GND | power_in | Ground reference (0V). |+| 9 | ~Y6 | output | Active-low decoded output 6. Asserted low when A2:A0 = 110 and all enables are active. |+| 10 | ~Y5 | output | Active-low decoded output 5. Asserted low when A2:A0 = 101 and all enables are active. |+| 11 | ~Y4 | output | Active-low decoded output 4. Asserted low when A2:A0 = 100 and all enables are active. |+| 12 | ~Y3 | output | Active-low decoded output 3. Asserted low when A2:A0 = 011 and all enables are active. |+| 13 | ~Y2 | output | Active-low decoded output 2. Asserted low when A2:A0 = 010 and all enables are active. |+| 14 | ~Y1 | output | Active-low decoded output 1. Asserted low when A2:A0 = 001 and all enables are active. |+| 15 | ~Y0 | output | Active-low decoded output 0. Asserted low when A2:A0 = 000 and all enables are active. |+| 16 | VCC | power_in | Positive supply voltage, 2V to 6V operating range. | ## Key specifications @@ -37,8 +37,6 @@ SM74HC138D from Shenzhen Sunmoon Micro, in a SOP-16. Pinout and pin descriptions ## Ordering variants - `SM74HC138DD`-- `SM74HC138DTS`-- `SM74HC138DN` ## CAD (KiCad official)
page.json+28−31@@ -32,97 +32,97 @@ "number": "1", "name": "A0", "type": "input",- "description": "Address input bit 0 (LSB). CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A1 and A2."+ "description": "Address select input bit 0 (LSB). CMOS logic level input used to select one of eight outputs." }, { "number": "2", "name": "A1", "type": "input",- "description": "Address input bit 1. CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A0 and A2."+ "description": "Address select input bit 1. CMOS logic level input used to select one of eight outputs." }, { "number": "3", "name": "A2", "type": "input",- "description": "Address input bit 2 (MSB). CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A0 and A1."+ "description": "Address select input bit 2 (MSB). CMOS logic level input used to select one of eight outputs." }, { "number": "4",- "name": "E1",+ "name": "~E1", "type": "input",- "description": "Active-LOW enable input 1. Must be LOW (together with E2 LOW and E3 HIGH) to enable decoding; when the enable condition is not met, all Y outputs are forced HIGH."+ "description": "Active-low enable input 1. Must be low for outputs to be enabled." }, { "number": "5",- "name": "E2",+ "name": "~E2", "type": "input",- "description": "Active-LOW enable input 2. Must be LOW (together with E1 LOW and E3 HIGH) to enable decoding; otherwise all Y outputs are HIGH."+ "description": "Active-low enable input 2. Must be low for outputs to be enabled." }, { "number": "6", "name": "E3", "type": "input",- "description": "Active-HIGH enable input 3. Must be HIGH (with E1 and E2 both LOW) to enable decoding; otherwise all Y outputs are HIGH."+ "description": "Active-high enable input 3. Must be high for outputs to be enabled." }, { "number": "7",- "name": "Y7",+ "name": "~Y7", "type": "output",- "description": "Active-LOW decoded output 7. Driven LOW when the chip is enabled and A[2:0] = 111; otherwise HIGH. IOL up to 58 mA typ, IOH up to -32 mA typ at VDD = 5.0 V."+ "description": "Active-low decoded output 7. Asserted low when A2:A0 = 111 and all enables are active." }, { "number": "8", "name": "GND", "type": "power_in",- "description": "Logic ground (0 V) reference for the device."+ "description": "Ground reference (0V)." }, { "number": "9",- "name": "Y6",+ "name": "~Y6", "type": "output",- "description": "Active-LOW decoded output 6. Driven LOW when the chip is enabled and A[2:0] = 110; otherwise HIGH."+ "description": "Active-low decoded output 6. Asserted low when A2:A0 = 110 and all enables are active." }, { "number": "10",- "name": "Y5",+ "name": "~Y5", "type": "output",- "description": "Active-LOW decoded output 5. Driven LOW when the chip is enabled and A[2:0] = 101; otherwise HIGH."+ "description": "Active-low decoded output 5. Asserted low when A2:A0 = 101 and all enables are active." }, { "number": "11",- "name": "Y4",+ "name": "~Y4", "type": "output",- "description": "Active-LOW decoded output 4. Driven LOW when the chip is enabled and A[2:0] = 100; otherwise HIGH."+ "description": "Active-low decoded output 4. Asserted low when A2:A0 = 100 and all enables are active." }, { "number": "12",- "name": "Y3",+ "name": "~Y3", "type": "output",- "description": "Active-LOW decoded output 3. Driven LOW when the chip is enabled and A[2:0] = 011; otherwise HIGH."+ "description": "Active-low decoded output 3. Asserted low when A2:A0 = 011 and all enables are active." }, { "number": "13",- "name": "Y2",+ "name": "~Y2", "type": "output",- "description": "Active-LOW decoded output 2. Driven LOW when the chip is enabled and A[2:0] = 010; otherwise HIGH."+ "description": "Active-low decoded output 2. Asserted low when A2:A0 = 010 and all enables are active." }, { "number": "14",- "name": "Y1",+ "name": "~Y1", "type": "output",- "description": "Active-LOW decoded output 1. Driven LOW when the chip is enabled and A[2:0] = 001; otherwise HIGH."+ "description": "Active-low decoded output 1. Asserted low when A2:A0 = 001 and all enables are active." }, { "number": "15",- "name": "Y0",+ "name": "~Y0", "type": "output",- "description": "Active-LOW decoded output 0. Driven LOW when the chip is enabled and A[2:0] = 000; otherwise HIGH."+ "description": "Active-low decoded output 0. Asserted low when A2:A0 = 000 and all enables are active." }, { "number": "16",- "name": "VDD",+ "name": "VCC", "type": "power_in",- "description": "Logic supply voltage. Operating range 3.0 V to 5.5 V (absolute max 7.0 V). Decouple with a 100 nF ceramic capacitor to GND close to the pin."+ "description": "Positive supply voltage, 2V to 6V operating range." } ], "provenance": {@@ -186,8 +186,5 @@ "docs/sm74hc138d-datasheet.pdf", "viewers/symbol.html", "viewers/footprint.html"- ],- "visibility": {- "public": true- }+ ] }
sm74hc138d.kicad_sym+11−11@@ -21,11 +21,11 @@ (number "3" (effects (font (size 1.27 1.27)))) ) (pin input line (at -17.78 0.00 0) (length 5.08)- (name "E1" (effects (font (size 1.27 1.27))))+ (name "~E1" (effects (font (size 1.27 1.27)))) (number "4" (effects (font (size 1.27 1.27)))) ) (pin input line (at -17.78 -2.54 0) (length 5.08)- (name "E2" (effects (font (size 1.27 1.27))))+ (name "~E2" (effects (font (size 1.27 1.27)))) (number "5" (effects (font (size 1.27 1.27)))) ) (pin input line (at -17.78 -5.08 0) (length 5.08)@@ -33,7 +33,7 @@ (number "6" (effects (font (size 1.27 1.27)))) ) (pin output line (at -17.78 -7.62 0) (length 5.08)- (name "Y7" (effects (font (size 1.27 1.27))))+ (name "~Y7" (effects (font (size 1.27 1.27)))) (number "7" (effects (font (size 1.27 1.27)))) ) (pin power_in line (at -17.78 -10.16 0) (length 5.08)@@ -41,35 +41,35 @@ (number "8" (effects (font (size 1.27 1.27)))) ) (pin power_in line (at 17.78 7.62 180) (length 5.08)- (name "VDD" (effects (font (size 1.27 1.27))))+ (name "VCC" (effects (font (size 1.27 1.27)))) (number "16" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 5.08 180) (length 5.08)- (name "Y0" (effects (font (size 1.27 1.27))))+ (name "~Y0" (effects (font (size 1.27 1.27)))) (number "15" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 2.54 180) (length 5.08)- (name "Y1" (effects (font (size 1.27 1.27))))+ (name "~Y1" (effects (font (size 1.27 1.27)))) (number "14" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 0.00 180) (length 5.08)- (name "Y2" (effects (font (size 1.27 1.27))))+ (name "~Y2" (effects (font (size 1.27 1.27)))) (number "13" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 -2.54 180) (length 5.08)- (name "Y3" (effects (font (size 1.27 1.27))))+ (name "~Y3" (effects (font (size 1.27 1.27)))) (number "12" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 -5.08 180) (length 5.08)- (name "Y4" (effects (font (size 1.27 1.27))))+ (name "~Y4" (effects (font (size 1.27 1.27)))) (number "11" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 -7.62 180) (length 5.08)- (name "Y5" (effects (font (size 1.27 1.27))))+ (name "~Y5" (effects (font (size 1.27 1.27)))) (number "10" (effects (font (size 1.27 1.27)))) ) (pin output line (at 17.78 -10.16 180) (length 5.08)- (name "Y6" (effects (font (size 1.27 1.27))))+ (name "~Y6" (effects (font (size 1.27 1.27)))) (number "9" (effects (font (size 1.27 1.27)))) ) )
sm74hc138d.lbr+11−5@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Shenzhen Sunmoon Micro Signal Switches / Encoders & Decoders / Multiplexers, SOP-16</description> <packages> <package name="SOIC-16_3.9x9.9mm_P1.27mm"> <description>SOIC-16, 3.9 x 9.9 mm, 1.27 mm pitch</description>@@ -94,6 +94,7 @@ </packages> <symbols> <symbol name="SM74HC138D">+ <description>Shenzhen Sunmoon Micro Signal Switches / Encoders & Decoders / Multiplexers, SOP-16</description> <wire x1="-12.7" y1="10.16" x2="12.7" y2="10.16" width="0.254" layer="94"/> <wire x1="12.7" y1="10.16" x2="12.7" y2="-12.7" width="0.254" layer="94"/> <wire x1="12.7" y1="-12.7" x2="-12.7" y2="-12.7" width="0.254" layer="94"/>@@ -108,7 +109,7 @@ <pin name="E3" x="-17.78" y="-5.08" length="middle" direction="in"/> <pin name="Y7" x="-17.78" y="-7.62" length="middle" direction="out"/> <pin name="GND" x="-17.78" y="-10.16" length="middle" direction="pwr"/>- <pin name="VDD" x="17.78" y="7.62" length="middle" direction="pwr" rot="R180"/>+ <pin name="VCC" x="17.78" y="7.62" length="middle" direction="pwr" rot="R180"/> <pin name="Y0" x="17.78" y="5.08" length="middle" direction="out" rot="R180"/> <pin name="Y1" x="17.78" y="2.54" length="middle" direction="out" rot="R180"/> <pin name="Y2" x="17.78" y="0" length="middle" direction="out" rot="R180"/>@@ -120,7 +121,7 @@ </symbols> <devicesets> <deviceset name="SM74HC138D" prefix="U">- <description></description>+ <description>Shenzhen Sunmoon Micro Signal Switches / Encoders & Decoders / Multiplexers, SOP-16</description> <gates> <gate name="G$1" symbol="SM74HC138D" x="0" y="0"/> </gates>@@ -135,7 +136,7 @@ <connect gate="G$1" pin="E3" pad="6"/> <connect gate="G$1" pin="Y7" pad="7"/> <connect gate="G$1" pin="GND" pad="8"/>- <connect gate="G$1" pin="VDD" pad="16"/>+ <connect gate="G$1" pin="VCC" pad="16"/> <connect gate="G$1" pin="Y0" pad="15"/> <connect gate="G$1" pin="Y1" pad="14"/> <connect gate="G$1" pin="Y2" pad="13"/>@@ -144,7 +145,12 @@ <connect gate="G$1" pin="Y5" pad="10"/> <connect gate="G$1" pin="Y6" pad="9"/> </connects>- <technologies><technology name=""/></technologies>+ <technologies>+ <technology name="">+ <attribute name="MPN" value="SM74HC138D" constant="no"/>+ <attribute name="MANUFACTURER" value="Shenzhen Sunmoon Micro" constant="no"/>+ </technology>+ </technologies> </device> </devices> </deviceset>