Abse2001/OR-Gate-Chip
A single-channel 2-input OR logic gate IC in a SOT-235 surface mount package, based on the SN74AHC1G32DBVR Texas Instruments part number.
Usage: To import and use the OR Gate Chip in a project: 1. Import the component: ```tsx import { orChip } from "@tsci/Abse2001.OR-Gate-Chip" ``` 2. Use the component in a circuit: ```tsx <board> <orChip name="U1" /> </board> ``` Pins available: - pin1: Y (output) - pin2: Vcc (power) - pin3: GND (ground) - pin4: B (input) - pin5: A (input) You can also connect traces using the `sel` selector: ```tsx <trace from={sel.U1.A} to={...} /> <trace from={sel.U1.B} to={...} /> <trace from={sel.U1.Y} to={...} /> ```
- Version
- 0.0.1
- License
- unset
- Stars
- 1
index.ts
PCB
Schematic
import { createUseComponent } from "@tscircuit/core"
import type { CommonLayoutProps } from "@tscircuit/props"
const pinLabels = {
1: ["Y"],
2: ["Vcc"],
3: ["GND"],
4: ["B"],
5: ["A"],
} as const
interface Props extends CommonLayoutProps {
name: string
}
export const orChip = (props: Props) => {
return (
<chip
{...props}
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C165948"],
}}
schPortArrangement={{
leftSide: {
pins: ["A","B","GND"],
direction: "top-to-bottom"
},
rightSide: {
pins: ["Vcc", "Y"],
direction: "top-to-bottom",
},
}}
schPinStyle={{
pin2: { topMargin: 0 },
pin1: { topMargin: 0.1 },
}}
manufacturerPartNumber="SN74AHC1G32DBVR"
footprint="sot235"
/>
)
}
export const useOrGate = createUseComponent(orChip, pinLabels)