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

dist/circuit.json

PCBPCB preview for dist/circuit.json
SchematicSchematic preview for dist/circuit.json
[{"type":"source_port","source_port_id":"source_port_0","name":"Y","pin_number":1,"port_hints":["Y","pin1","1"],"source_component_id":"source_component_0"},{"type":"source_port","source_port_id":"source_port_1","name":"Vcc","pin_number":2,"port_hints":["Vcc","pin2","2"],"source_component_id":"source_component_0"},{"type":"source_port","source_port_id":"source_port_2","name":"GND","pin_number":3,"port_hints":["GND","pin3","3"],"source_component_id":"source_component_0"},{"type":"source_port","source_port_id":"source_port_3","name":"B","pin_number":4,"port_hints":["B","pin4","4"],"source_component_id":"source_component_0"},{"type":"source_port","source_port_id":"source_port_4","name":"A","pin_number":5,"port_hints":["A","pin5","5"],"source_component_id":"source_component_0"},{"type":"source_component","source_component_id":"source_component_0","ftype":"simple_chip","name":"U1","manufacturer_part_number":"SN74AHC1G32DBVR","supplier_part_numbers":{"jlcpcb":["C165948"]}},{"type":"schematic_text","schematic_text_id":"schematic_text_0","text":"SN74AHC1G32DBVR","schematic_component_id":"source_component_0","anchor":"left","rotation":0,"position":{"x":-0.6000000000000001,"y":-0.53},"color":"#006464"},{"type":"schematic_text","schematic_text_id":"schematic_text_1","text":"U1","schematic_component_id":"source_component_0","anchor":"left","rotation":0,"position":{"x":-0.6000000000000001,"y":0.53},"color":"#006464"},{"type":"schematic_component","schematic_component_id":"schematic_component_0","center":{"x":0,"y":0},"rotation":0,"size":{"width":1.2000000000000002,"height":0.8},"port_arrangement":{"left_side":{"pins":["A","B","GND"],"direction":"top-to-bottom"},"right_side":{"pins":["Vcc","Y"],"direction":"top-to-bottom"}},"pin_spacing":0.2,"pin_styles":{"pin2":{"top_margin":0},"pin1":{"top_margin":0.1}},"port_labels":{"1":"Y","2":"Vcc","3":"GND","4":"B","5":"A"},"source_component_id":"source_component_0"},{"type":"schematic_port","schematic_port_id":"schematic_port_0","schematic_component_id":"schematic_component_0","center":{"x":1,"y":-0.15000000000000002},"source_port_id":"source_port_0","facing_direction":"right","distance_from_component_edge":0.4,"side_of_component":"right","pin_number":1,"true_ccw_index":3,"display_pin_label":"Y"},{"type":"schematic_port","schematic_port_id":"schematic_port_1","schematic_component_id":"schematic_component_0","center":{"x":1,"y":0.15000000000000002},"source_port_id":"source_port_1","facing_direction":"right","distance_from_component_edge":0.4,"side_of_component":"right","pin_number":2,"true_ccw_index":4,"display_pin_label":"Vcc"},{"type":"schematic_port","schematic_port_id":"schematic_port_2","schematic_component_id":"schematic_component_0","center":{"x":-1,"y":-0.2},"source_port_id":"source_port_2","facing_direction":"left","distance_from_component_edge":0.4,"side_of_component":"left","pin_number":3,"true_ccw_index":2,"display_pin_label":"GND"},{"type":"schematic_port","schematic_port_id":"schematic_port_3","schematic_component_id":"schematic_component_0","center":{"x":-1,"y":0},"source_port_id":"source_port_3","facing_direction":"left","distance_from_component_edge":0.4,"side_of_component":"left","pin_number":4,"true_ccw_index":1,"display_pin_label":"B"},{"type":"schematic_port","schematic_port_id":"schematic_port_4","schematic_component_id":"schematic_component_0","center":{"x":-1,"y":0.2},"source_port_id":"source_port_4","facing_direction":"left","distance_from_component_edge":0.4,"side_of_component":"left","pin_number":5,"true_ccw_index":0,"display_pin_label":"A"},{"type":"pcb_component","pcb_component_id":"pcb_component_0","center":{"x":0,"y":0},"width":3.6,"height":2.5999999999999996,"layer":"top","rotation":0,"source_component_id":"source_component_0"},{"type":"pcb_board","pcb_board_id":"pcb_board_0","center":{"x":0,"y":0},"thickness":1.4,"num_layers":4,"width":50,"height":50},{"type":"pcb_smtpad","pcb_smtpad_id":"pcb_smtpad_0","pcb_component_id":"pcb_component_0","pcb_port_id":"pcb_port_0","layer":"top","shape":"rect","width":1,"height":0.7,"port_hints":["1"],"x":1.3,"y":-0.95},{"type":"pcb_solder_paste","pcb_solder_paste_id":"pcb_solder_paste_0","layer":"top","shape":"rect","width":0.7,"height":0.48999999999999994,"x":1.3,"y":-0.95,"pcb_component_id":"pcb_component_0","pcb_smtpad_id":"pcb_smtpad_0"},{"type":"pcb_smtpad","pcb_smtpad_id":"pcb_smtpad_1","pcb_component_id":"pcb_component_0","pcb_port_id":"pcb_port_1","layer":"top","shape":"rect","width":1,"height":0.7,"port_hints":["2"],"x":1.3,"y":0.95},{"type":"pcb_solder_paste","pcb_solder_paste_id":"pcb_solder_paste_1","layer":"top","shape":"rect","width":0.7,"height":0.48999999999999994,"x":1.3,"y":0.95,"pcb_component_id":"pcb_component_0","pcb_smtpad_id":"pcb_smtpad_1"},{"type":"pcb_smtpad","pcb_smtpad_id":"pcb_smtpad_2","pcb_component_id":"pcb_component_0","pcb_port_id":"pcb_port_2","layer":"top","shape":"rect","width":1,"height":0.7,"port_hints":["3"],"x":-1.3,"y":-0.95},{"type":"pcb_solder_paste","pcb_solder_paste_id":"pcb_solder_paste_2","layer":"top","shape":"rect","width":0.7,"height":0.48999999999999994,"x":-1.3,"y":-0.95,"pcb_component_id":"pcb_component_0","pcb_smtpad_id":"pcb_smtpad_2"},{"type":"pcb_smtpad","pcb_smtpad_id":"pcb_smtpad_3","pcb_component_id":"pcb_component_0","pcb_port_id":"pcb_port_3","layer":"top","shape":"rect","width":1,"height":0.7,"port_hints":["4"],"x":-1.3,"y":0},{"type":"pcb_solder_paste","pcb_solder_paste_id":"pcb_solder_paste_3","layer":"top","shape":"rect","width":0.7,"height":0.48999999999999994,"x":-1.3,"y":0,"pcb_component_id":"pcb_component_0","pcb_smtpad_id":"pcb_smtpad_3"},{"type":"pcb_smtpad","pcb_smtpad_id":"pcb_smtpad_4","pcb_component_id":"pcb_component_0","pcb_port_id":"pcb_port_4","layer":"top","shape":"rect","width":1,"height":0.7,"port_hints":["5"],"x":-1.3,"y":0.95},{"type":"pcb_solder_paste","pcb_solder_paste_id":"pcb_solder_paste_4","layer":"top","shape":"rect","width":0.7,"height":0.48999999999999994,"x":-1.3,"y":0.95,"pcb_component_id":"pcb_component_0","pcb_smtpad_id":"pcb_smtpad_4"},{"type":"pcb_silkscreen_path","pcb_silkscreen_path_id":"pcb_silkscreen_path_0","pcb_component_id":"pcb_component_0","layer":"top","route":[{"x":-0.9499999999999998,"y":1.5307692307692307},{"x":0.9499999999999998,"y":1.5307692307692307}],"stroke_width":0.05},{"type":"pcb_silkscreen_path","pcb_silkscreen_path_id":"pcb_silkscreen_path_1","pcb_component_id":"pcb_component_0","layer":"top","route":[{"x":-0.9499999999999998,"y":-1.5307692307692307},{"x":0.9499999999999998,"y":-1.5307692307692307}],"stroke_width":0.05},{"type":"pcb_silkscreen_path","pcb_silkscreen_path_id":"pcb_silkscreen_path_2","pcb_component_id":"pcb_component_0","layer":"top","route":[{"x":-1.9999999999999996,"y":0.95},{"x":-2.6999999999999997,"y":1.0999999999999999},{"x":-2.6999999999999997,"y":0.7999999999999999},{"x":-1.9999999999999996,"y":0.95}],"stroke_width":0.05},{"type":"pcb_port","pcb_port_id":"pcb_port_0","pcb_component_id":"pcb_component_0","layers":["top"],"x":1.3,"y":-0.95,"source_port_id":"source_port_0"},{"type":"pcb_port","pcb_port_id":"pcb_port_1","pcb_component_id":"pcb_component_0","layers":["top"],"x":1.3,"y":0.95,"source_port_id":"source_port_1"},{"type":"pcb_port","pcb_port_id":"pcb_port_2","pcb_component_id":"pcb_component_0","layers":["top"],"x":-1.3,"y":-0.95,"source_port_id":"source_port_2"},{"type":"pcb_port","pcb_port_id":"pcb_port_3","pcb_component_id":"pcb_component_0","layers":["top"],"x":-1.3,"y":0,"source_port_id":"source_port_3"},{"type":"pcb_port","pcb_port_id":"pcb_port_4","pcb_component_id":"pcb_component_0","layers":["top"],"x":-1.3,"y":0.95,"source_port_id":"source_port_4"},{"type":"cad_component","cad_component_id":"cad_component_0","position":{"x":0,"y":0,"z":0.7},"rotation":{"x":0,"y":0,"z":0},"pcb_component_id":"pcb_component_0","source_component_id":"source_component_0","footprinter_string":"sot235"}]