{
  "metadata": {
    "id": "diodes-74lvc1g3157dw-7",
    "name": "Diodes 74LVC1G3157DW-7 2:1 Analog Switch",
    "type": "analog_switch",
    "description": "Single SPDT bus switch and analog multiplexer with TTL-compatible overvoltage-tolerant select input, break-before-make switching, and SOT-363 packaging.",
    "manufacturer": "Diodes Incorporated",
    "part_number": "74LVC1G3157DW-7",
    "datasheet_url": "https://www.diodes.com/assets/Datasheets/74LVC1G3157.pdf",
    "tags": [
      "74lvc1g3157",
      "analog-switch",
      "spdt",
      "sot-363",
      "mux",
      "bus-switch",
      "74lvc"
    ],
    "schema_version": "1.4.0",
    "version": "1.0",
    "taxonomy": [
      "expansion.breakout"
    ],
    "thumbnail": "https://storage.googleapis.com/protoboard-delta.firebasestorage.app/protoparts/diodes-74lvc1g3157dw-7/thumbnail.png"
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "vcc",
          "name": "Logic/signal supply",
          "nominal_voltage_V": 3.3,
          "voltage_range_V": [
            1.65,
            5.5
          ],
          "max_current_mA": 1,
          "isolation_type": "non_isolated",
          "ground_reference": "common",
          "description": "Supply for the switch core and the analog signal path. Normal quiescent supply current is microamp-scale; switched channel current is limited separately by the signal path characteristics and absolute maximum ratings."
        }
      ],
      "resources": [
        {
          "id": "b1",
          "name": "B1",
          "description": "B1 selectable data I/O. Connected to A when Select is high; high impedance when Select is low.",
          "functions": [
            {
              "name": "B1",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ],
          "connector_type": "smd_pin",
          "power_domain_id": "vcc"
        },
        {
          "id": "b0",
          "name": "B0",
          "description": "B0 selectable data I/O. Connected to A when Select is low; high impedance when Select is high.",
          "functions": [
            {
              "name": "B0",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ],
          "connector_type": "smd_pin",
          "power_domain_id": "vcc"
        },
        {
          "id": "gnd",
          "name": "GND",
          "description": "Ground reference pin.",
          "functions": [
            {
              "name": "GND",
              "direction": "sink",
              "signal_class": "ground"
            }
          ],
          "connector_type": "smd_pin",
          "power_domain_id": "vcc"
        },
        {
          "id": "vcc",
          "name": "VCC",
          "description": "Supply voltage pin. Decouple to GND with a local 0.1 uF capacitor.",
          "functions": [
            {
              "name": "VCC",
              "direction": "sink",
              "signal_class": "power"
            }
          ],
          "connector_type": "smd_pin",
          "power_domain_id": "vcc"
        },
        {
          "id": "select",
          "name": "Select",
          "description": "Select logic input. Low selects B0; high selects B1. TTL-compatible and overvoltage-tolerant up to 5.5 V per datasheet features.",
          "functions": [
            {
              "name": "Select",
              "direction": "sink",
              "signal_class": "data"
            }
          ],
          "connector_type": "smd_pin",
          "power_domain_id": "vcc"
        },
        {
          "id": "a",
          "name": "A",
          "description": "A common data I/O. Connected to B0 when Select is low and to B1 when Select is high.",
          "functions": [
            {
              "name": "A",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ],
          "connector_type": "smd_pin",
          "power_domain_id": "vcc"
        }
      ],
      "interfaces": [
        {
          "id": "spdt_analog_switch",
          "name": "2:1 SPDT analog switch",
          "protocol": {
            "type": "custom",
            "role": "device"
          },
          "requires": [
            {
              "function": "B1",
              "count": 1
            },
            {
              "function": "B0",
              "count": 1
            },
            {
              "function": "GND",
              "count": 1
            },
            {
              "function": "VCC",
              "count": 1
            },
            {
              "function": "Select",
              "count": 1
            },
            {
              "function": "A",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1
          },
          "description": "Complete 74LVC1G3157 switch function using the B1, B0, GND, VCC, Select, and A pins. Select low connects B0 to A; Select high connects B1 to A."
        }
      ],
      "supply_voltage_V": [
        1.65,
        5.5
      ],
      "pin_count": 6,
      "metadata": {
        "package_type": "SOT-363",
        "pin_names": [
          "B1",
          "B0",
          "GND",
          "VCC",
          "Select",
          "A"
        ],
        "switch_type": "SPDT",
        "channel_count": 1,
        "logic_family": "74LVC",
        "on_resistance_typ_ohm": {
          "vcc_2p7": 7.5,
          "vcc_3p3": 6.5,
          "vcc_4p5": 6
        },
        "break_before_make_ns_typ": 0.5,
        "bandwidth_MHz_typ": 300,
        "off_state_impedance_Mohm_typ": 50,
        "off_isolation_dB_typ_at_10MHz": -42,
        "charge_injection_pC_typ": {
          "vcc_3p3": 3,
          "vcc_5p0": 7
        },
        "logic_thresholds_V": {
          "vcc_1p65_to_1p95": {
            "vih_min": "0.65 * VCC",
            "vil_max": "0.35 * VCC"
          },
          "vcc_2p3_to_2p7": {
            "vih_min": 1.7,
            "vil_max": 0.7
          },
          "vcc_3p0_to_3p6": {
            "vih_min": 2,
            "vil_max": 0.8
          },
          "vcc_4p5_to_5p5": {
            "vih_min": "0.7 * VCC",
            "vil_max": "0.3 * VCC"
          }
        },
        "recommended_operating_limits": {
          "select_input_voltage_V": [
            0,
            5.5
          ],
          "switch_pin_voltage_V": [
            -0.2,
            "VCC"
          ],
          "select_input_transition_rate_ns_per_V_max": {
            "vcc_1p65_to_2p7": 20,
            "vcc_2p7_to_5p5": 10
          }
        },
        "absolute_maximum_ratings": {
          "supply_voltage_V": [
            -0.5,
            6.5
          ],
          "select_input_voltage_V": [
            -0.5,
            6.5
          ],
          "switch_pin_voltage_V": [
            -0.5,
            "VCC + 0.5"
          ],
          "switch_pin_continuous_current_mA": 50,
          "vcc_or_gnd_continuous_current_mA": 100,
          "junction_temperature_C": [
            -40,
            150
          ],
          "storage_temperature_C": [
            -65,
            150
          ],
          "esd_hbm_kV": 2,
          "esd_cdm_kV": 1
        },
        "leakage_current_uA_max": {
          "select_input_85C": 1,
          "select_input_125C": 10,
          "switch_off_85C": 1,
          "switch_off_125C": 10,
          "switch_on_85C": 1,
          "switch_on_125C": 10
        },
        "quiescent_supply_current_uA_max": {
          "ta_85C": 10,
          "ta_125C": 40
        },
        "capacitance_pF_typ": {
          "select_input": 2.5,
          "switch_off": 6,
          "switch_on": 18
        },
        "select_input_overvoltage_tolerant_to_V": 5.5,
        "recommended_signal_range": "-0.2 V to VCC operating limit; use 0 V to VCC for normal signal swing"
      }
    },
    {
      "domain": "mechanical",
      "resources": [],
      "interfaces": [],
      "package_type": "SOT-363",
      "dimensions_mm": {
        "length": 2,
        "width": 2,
        "height": 1.1
      },
      "metadata": {
        "mounting_method": "surface_mount",
        "lead_pitch_mm": 0.65,
        "body_reference": "SC-88 / SOT-363",
        "package_code": "DW",
        "packing_suffix": "-7",
        "tape_and_reel_quantity": 3000
      }
    },
    {
      "domain": "thermal",
      "resources": [],
      "interfaces": [],
      "operating_temperature_C": [
        -40,
        125
      ],
      "metadata": {
        "requires_thermal_management": false,
        "junction_to_ambient_C_per_W": 371
      }
    }
  ],
  "design_rules": [
    "Place a 0.1 uF decoupling capacitor between VCC and GND close to the package.",
    "Keep A, B0, and B1 within the recommended operating range of -0.2 V to VCC, and prefer 0 V to VCC for normal signal swing; treat the wider absolute maximum limits only as survival ratings.",
    "Budget the switch on-resistance into the signal chain. Typical RON is about 7.5 ohms at 2.7 V, 6.5 ohms at 3.3 V, and 6 ohms at 4.5 V.",
    "Respect the select input transition-rate limit: 20 ns/V maximum for VCC from 1.65 V to 2.7 V and 10 ns/V maximum for VCC from 2.7 V to 5.5 V.",
    "Do not use this device as a power-path selector. It is intended for small-signal analog or digital routing, and each switch terminal has a 50 mA absolute maximum current limit."
  ],
  "application_examples": [
    "Multiplexing two analog signals into one ADC input.",
    "Selecting between two low-current digital signals.",
    "Routing audio, sensor, or logic-level signals where the signal remains inside the supply rails."
  ],
  "usage_notes": "Use the 74LVC1G3157 as a 2:1 analog or digital signal selector. With SEL low, A connects to B0 and B1 is disconnected; with SEL high, A connects to B1 and B0 is disconnected. The device has typical 300 MHz bandwidth, typical -42 dB off isolation at 10 MHz, and break-before-make action during channel switching.",
  "warnings": [
    "Break-before-make switching intentionally opens both channels briefly during a select transition, so it is not suitable where uninterrupted conduction is mandatory.",
    "The switched signal path is not rail-fail-safe in normal operation. Keep A, B0, and B1 between GND and VCC even though the SEL input itself is tolerant to 5.5 V.",
    "On-resistance, charge injection, and flatness vary with supply voltage and signal swing, so low-level precision analog paths may need calibration or buffering."
  ]
}