PomeLabs

And Gate

3-state 2-input AND gate with Schmitt-trigger inputs and ESD-protected UART ports for the PomeLabs Core Kit.

The PomeLabs AND Gate Module (PML-AG-01) makes Boolean logic tangible. Wire two signals in, observe a HIGH output only when both are HIGH — and do it on hardware that is Schmitt-trigger hardened, 5.5V5.5\,\mathrm{V} input tolerant, and ESD-protected on all four UART ports. The underlying IC can implement nine different logic functions; this module is configured and verified for AND.

Revision: v1.0 | Part Number: PML-AG-01 | Series: PomeLabs Core Kit

And Gate

Pinout

And Gate Pinout

Schematic

And Gate Schematic

Digital Twin

In the PomeLabs App, the PML-AG-01 is mirrored as a digital twin in both the Playground and inside any Connect Activity. Drive both inputs from the App's signal controls and watch the output respond in real time — or observe the physical output on the module while the App streams back the live logic state.

Controls — parameters you can set from the App

Logic input A  ·  pin S+_UL  ·  toggle, HIGH / LOW

Drives the first AND gate input. Set HIGH or LOW from the App to step through the truth table.

Logic input B  ·  pin S+_LL  ·  toggle, HIGH / LOW

Drives the second AND gate input. Combine with input A to explore all four input combinations.

UART TX — Upper-Left / Lower-Left  ·  pins TX_UL-L, TX_LL-L  ·  serial data source

Drives USART1/USART3 transmit lines through D1/D3 ESD protection.

UART TX — Upper-Right / Lower-Right  ·  pins TX_UR-L, TX_LR-L  ·  serial data source

Drives USART2/USART4 transmit lines through D2/D4 ESD protection.

Monitors — values streamed back from the module

Gate output Y  ·  pins S+_UR / S+_LR  ·  digital indicator, HIGH / LOW

Live AND gate output. HIGH only when both inputs A and B are HIGH. Updates in real time as inputs change.

UART RX — all four ports  ·  serial data traces

Inbound data from downstream nodes through D1D4 ESD protection back to the Backend MCU.

Datasheet

1. Overview

The PML-AG-01 implements a 2-input AND gate using the SN74LVC1G99DCUR (U1) — Texas Instruments' ultra-configurable single-gate device capable of nine logic functions in one package. On this module, configuration pins C and D are hard-tied to GND (L) on the PCB, and OE is hard-tied to GND, permanently selecting the 3-state 2-input AND function.

When both inputs A (S+_UL) and B (S+_LL) are HIGH, output Y (S+_UR and S+_LR) is HIGH. Any other input combination produces a LOW output. The Schmitt-trigger input stage (0.56V0.56\,\mathrm{V} hysteresis typ at VCCV_{CC} = 3V3\,\mathrm{V}) ensures clean transitions even with slow or noisy input signals — a critical property in educational environments where signal sources may not be ideal. Four USBLC6-2P6 ESD protection devices (D1D4) protect all four UART ports.

2. BOM Components

Ref.TypeValue / PartRole on this module
U1Configurable logic gateSN74LVC1G99DCUR (TI)Configured as 3-state 2-input AND: C = D = GND, OE = GND. Schmitt-trigger inputs (0.56V0.56\,\mathrm{V} hysteresis typ at VCCV_{CC} = 3V3\,\mathrm{V}). VSSOP-8 (DCU) package, 2.0×3.1mm2.0 \times 3.1\,\mathrm{mm}.
D1ESD protection ICUSBLC6-2P6 (ST)IEC 61000-4-2 Level 4 ESD clamp on Upper-Left UART port. 3.5pF3.5\,\mathrm{pF} max. SOT-666.
D2ESD protection ICUSBLC6-2P6 (ST)IEC 61000-4-2 Level 4 ESD clamp on Upper-Right UART port. Identical to D1.
D3ESD protection ICUSBLC6-2P6 (ST)IEC 61000-4-2 Level 4 ESD clamp on Lower-Left UART port. Identical to D1.
D4ESD protection ICUSBLC6-2P6 (ST)IEC 61000-4-2 Level 4 ESD clamp on Lower-Right UART port. Identical to D1.
R1, R2Resistor4.7kΩ4.7\,\mathrm{k\Omega}Pull-up resistors on UART TX/RX lines to 3V3.
p1p4ConnectorNode headersFour node connectors exposing +5V, GND, S+, S−, RX/TX, TX/RX to downstream modules.

3. Electrical Specifications

All values at 25C25\,\mathrm{{}^\circ C} unless otherwise noted. Gate specifications from TI SCES609G (SN74LVC1G99, Rev. G, Nov 2013). ESD protection from ST DS4260 Rev. 7 (USBLC6-2P6, Dec 2021).

3.1 U1 — SN74LVC1G99DCUR

The SN74LVC1G99 features configurable multiple functions with a 3-state output. The output is disabled when the output-enable (OE) input is HIGH. When OE is LOW, the output state is determined by 16 patterns of the 4-bit input (A, B, C, D). Selectable functions include MUX, AND, OR, NAND, NOR, XOR, XNOR, inverter, and buffer. All inputs can be connected to VCCV_{CC} or GND.

3.1.1 Absolute Maximum Ratings

Exceeding these values may permanently damage the device. Stress ratings only.

ParameterMax ValueUnit
Supply voltage (VCCV_{CC})0.5-0.5 to 6.56.5V
Input voltage (VIV_I)0.5-0.5 to 6.56.5V
Output voltage — high-Z or power-off state (VOV_O)0.5-0.5 to 6.56.5V
Output voltage — high or low state (VOV_O)0.5-0.5 to VCC+0.5V_{CC} + 0.5V
Input clamp current (IIKI_{IK}), VI<0V_I < 050-50mA
Output clamp current (IOKI_{OK}), VO<0V_O < 050-50mA
Continuous output current (IOI_O)±50\pm 50mA
Continuous current through VCCV_{CC} or GND±100\pm 100mA
Package thermal impedance (θJA\theta_{JA}) — DCU package227227°C/W
Storage temperature (TstgT_{stg})65-65 to +150+150°C
ParameterMinMaxUnit / Notes
Supply voltage (VCCV_{CC}) — operating1.651.655.55.5V
Supply voltage (VCCV_{CC}) — data retention only1.51.5V
Input voltage (VIV_I)005.55.5V — inputs accept up to 5.5V5.5\,\mathrm{V} regardless of VCCV_{CC}
Output voltage (VOV_O)00VCCV_{CC}V
High-level output current (IOHI_{OH}) @ VCCV_{CC} = 3V3\,\mathrm{V}24-24mA — sourcing
Low-level output current (IOLI_{OL}) @ VCCV_{CC} = 3V3\,\mathrm{V}2424mA — sinking
High-level output current (IOHI_{OH}) @ VCCV_{CC} = 4.5V4.5\,\mathrm{V}32-32mA — sourcing
Low-level output current (IOLI_{OL}) @ VCCV_{CC} = 4.5V4.5\,\mathrm{V}3232mA — sinking
Input transition rise/fall rate (Δt/Δv\Delta t / \Delta v) @ VCCV_{CC} = 3.3V3.3\,\mathrm{V}1010ns/V
Operating temperature (TAT_A)40-40125125°C

3.1.3 Electrical Characteristics

ParameterTypicalMaxCondition
Positive-going input threshold (VT+V_{T+})1.97V1.97\,\mathrm{V}VCCV_{CC} = 3V3\,\mathrm{V} — Schmitt trigger
Negative-going input threshold (VTV_{T-})1.24V1.24\,\mathrm{V}VCCV_{CC} = 3V3\,\mathrm{V}
Input hysteresis (ΔVT=VT+VT\Delta V_T = V_{T+} - V_{T-})0.56V0.56\,\mathrm{V}0.97V0.97\,\mathrm{V}VCCV_{CC} = 3V3\,\mathrm{V}
Propagation delay (tpdt_{pd}) A/B → Y7.5ns7.5\,\mathrm{ns}VCCV_{CC} = 3.3V3.3\,\mathrm{V}, CLC_L = 15pF15\,\mathrm{pF}
Propagation delay (tpdt_{pd}) C → Y7.6ns7.6\,\mathrm{ns}VCCV_{CC} = 3.3V3.3\,\mathrm{V}, CLC_L = 15pF15\,\mathrm{pF}
Propagation delay (tpdt_{pd}) D → Y6.7ns6.7\,\mathrm{ns}VCCV_{CC} = 3.3V3.3\,\mathrm{V}, CLC_L = 15pF15\,\mathrm{pF}
Propagation delay (tpdt_{pd}) A/B → Y4.8ns4.8\,\mathrm{ns}VCCV_{CC} = 5V5\,\mathrm{V}, CLC_L = 15pF15\,\mathrm{pF}
Output enable time (tent_{en})5.8ns5.8\,\mathrm{ns}VCCV_{CC} = 3.3V3.3\,\mathrm{V}, CLC_L = 15pF15\,\mathrm{pF}
Output disable time (tdist_{dis})7.0ns7.0\,\mathrm{ns}VCCV_{CC} = 3.3V3.3\,\mathrm{V}, CLC_L = 15pF15\,\mathrm{pF}
Quiescent supply current (ICCI_{CC})10μA10\,\mathrm{\mu A}VIV_I = VCCV_{CC} or GND, IOI_O = 00
Input capacitance (CiC_i)3.5pF3.5\,\mathrm{pF}VCCV_{CC} = 3.3V3.3\,\mathrm{V}
Output capacitance (CoC_o)6pF6\,\mathrm{pF}VCCV_{CC} = 3.3V3.3\,\mathrm{V}
Power dissipation capacitance (CpdC_{pd})22pF22\,\mathrm{pF}VCCV_{CC} = 3.3V3.3\,\mathrm{V}, ff = 10MHz10\,\mathrm{MHz}

4. Truth Table

On this module, OE, C, and D are hard-tied LOW on the PCB — selecting the 3-state 2-input AND function. The output is therefore determined entirely by inputs A and B:

OEA (S+_UL)B (S+_LL)C (tied L)D (tied L)Y Output
LLLLLL — output LOW
LLHLLL — output LOW
LHLLLL — output LOW
LHHLLH — AND true

The high-impedance state (Y = Z) is not reachable on this module because OE is hardwired LOW.

5. Logic Function Configuration Reference

The SN74LVC1G99 supports nine distinct logic functions selected by the static levels on A, B, C, D, and OE. The table below shows common configurations for reference — only the AND configuration is wired on this PCB.

FunctionOEABCD
3-state 2-input AND (this module)LInput 1Input 2LL
3-state 2-input NANDLInput 1Input 2HL
3-state 2-input ORLInput 1HInput 2L
3-state 2-input NORLInput 1HInput 2H
3-state 2-input XORLInput 1LInput 2H
3-state 2-input XNORLHLInput 1Input 2
3-state bufferLInputH or LLL
3-state inverter (NOT)LInputH or LLH
Output disabled (high-Z)HXXXX

6. Pin Descriptions

All signal pins are referenced to GND.

Pin / Net NameDirectionDescription
S+_ULInputLogic input A to U1. Upper-Left signal — first AND gate input.
S+_LLInputLogic input B to U1. Lower-Left signal — second AND gate input.
S+_UR / S+_LROutputAND gate output Y. HIGH only when both A and B are HIGH (OE is hardwired LOW). Drives both output channels simultaneously.
TX_UL-L / TX_LL-LInputUART transmit from Backend MCU (USART1/USART3). Through D1/D3 ESD protection.
RX_UL-L / RX_LL-LOutputUART receive from Upper-Left and Lower-Left connectors. Through D1/D3 ESD protection.
TX_UR-L / TX_LR-LInputUART transmit from Backend MCU (USART2/USART4). Through D2/D4 ESD protection.
RX_UR-L / RX_LR-LOutputUART receive from Upper-Right and Lower-Right connectors. Through D2/D4 ESD protection.
5V-ModulePower In5V5\,\mathrm{V} supply. Powers VCCV_{CC} of U1 and VBUS of D1D4.
3V3Power In3.3V3.3\,\mathrm{V} logic rail for pull-up resistors R1R2 (4.7kΩ4.7\,\mathrm{k\Omega}).
GNDGroundCommon ground for all ICs and connectors.

7. Connection Guide & Common Errors

Correct power-up sequence:

  1. Connect GND first, shared across all modules on the common bus.
  2. Connect 5V-Module to a regulated 5V5\,\mathrm{V} source to power U1 and the VBUS pins of D1D4.
  3. Connect the 3V3 rail for the UART pull-up resistors.
  4. Apply logic signals to S+_UL (A) and S+_LL (B). The output appears immediately on S+_UR / S+_LR — there is no enable step because OE is hardwired LOW on the PCB.

Logic-level reference (Schmitt-trigger inputs): at VCCV_{CC} = 3.3V3.3\,\mathrm{V}, an input must rise above VT+2.0VV_{T+} \approx 2.0\,\mathrm{V} to register as HIGH and fall below VT1.2VV_{T-} \approx 1.2\,\mathrm{V} to register as LOW. Signals stuck inside the hysteresis band (1.2V{\approx}1.2\,\mathrm{V}2.0V2.0\,\mathrm{V}) hold the previous logic state — useful for noise immunity, but worth knowing when probing slow analog-like signals.

Common wiring errors and consequences:

MistakeSymptomCorrection
VCCV_{CC} to U1 exceeds 5.5V5.5\,\mathrm{V}U1 permanently damaged (absolute max 6.5V6.5\,\mathrm{V})Keep 5V-Module rail 5.5V\leq 5.5\,\mathrm{V}.
Input signal on S+_UL or S+_LL exceeds 5.5V5.5\,\mathrm{V}Input clamp current flows; permanent damage if IIKI_{IK} exceeds 50mA50\,\mathrm{mA}Inputs are 5.5V5.5\,\mathrm{V} tolerant — never exceed it. Add a series resistor if your source can swing higher.
Output Y driving load >50mA> 50\,\mathrm{mA}Continuous output current absolute max exceeded — U1 may overheat or failKeep total IOI_O on the Y output (across S+_UR + S+_LR) within ±50mA\pm 50\,\mathrm{mA} absolute max. For sustained operation, design for ±24mA\pm 24\,\mathrm{mA} at 3V3\,\mathrm{V} or ±32mA\pm 32\,\mathrm{mA} at 4.5V4.5\,\mathrm{V}.
Input signal with very slow edges (slower than 10ns/V10\,\mathrm{ns/V} at 3.3V3.3\,\mathrm{V})Operation outside guaranteed input transition rate; Schmitt-trigger hysteresis improves robustness but TI does not specify behaviorBuffer slow signals with another logic stage if reliability is critical.
USBLC6-2P6 VBUS pin on D1D4 unconnectedESD protection ineffective — UART pins exposed to direct ESD strikesEnsure 5V-Module is connected; it powers VBUS of all four ESD ICs.
Powering inputs while 5V-Module is OFFIoffI_{off} circuitry isolates U1 and prevents back-drive damage — designed-in safe condition, not a faultNo action needed; this is supported behavior of the device.

Note: OE, C, and D are hard-tied to GND on the PCB and are not user-accessible. The common floating-input mistakes that apply to bare SN74LVC1G99 designs (floating OE → high-Z output; floating C/D → undefined function) do not apply to this assembled module.

Hands-on Labs

Get started with the PML-AG-01 through guided labs that build from truth table verification to timing analysis and gate combinations. Each lab opens in the PomeLabs app.

Use Cases

Coming soon.

How is this guide?

On this page