# This file is generated based on the parts database query below:
# from jitx_parts.query_api import create_part
# class Example(Circuit) :
# part = create_part(mpn = "TLV9001IDBVR", manufacturer = "Texas Instruments")()
# File Location: components/Texas_Instruments/ComponentTLV9001IDBVR.py
# To import this component:
# from components.Texas_Instruments.ComponentTLV9001IDBVR import ComponentTLV9001IDBVR
from jitx.landpattern import Landpattern, Pad
from jitx.model3d import Model3D
from jitx.symbol import Symbol, Pin, Direction
from jitx.component import Component
from jitx.net import Port
from jitx.landpattern import PadMapping
from jitx.symbol import SymbolMapping
from jitx.feature import Silkscreen, Custom, Paste, Soldermask, Courtyard
from jitx.anchor import Anchor
from jitx.shapes.primitive import Polyline, Circle, Arc, ArcPolyline, Text
from jitx.shapes.composites import rectangle
[docs]
class RectangleSmdPad(Pad):
shape = rectangle(1, 0.6)
paste = [
Paste(rectangle(1.102, 0.702)),
]
soldermask = [
Soldermask(rectangle(1.102, 0.702)),
]
[docs]
class LandpatternSOT_23_5_L3_0_W1_7_P0_95_LS2_8_BR(Landpattern):
p = {
1: RectangleSmdPad().at((1.3, -0.95)),
2: RectangleSmdPad().at((1.3, 0)),
3: RectangleSmdPad().at((1.3, 0.95)),
4: RectangleSmdPad().at((-1.3, 0.95)),
5: RectangleSmdPad().at((-1.3, -0.95)),
}
customlayer = [
Custom(Text(">VALUE", 0.5, Anchor.W).at((-0.75, 2.3826)), name="Fab"),
Custom(ArcPolyline(0.06, [Arc((1.4, -1.45), 0.03, 0, -360)]), name="Fab"),
Custom(ArcPolyline(0.4, [Arc((1.397, -1.016), 0.2, 0, -360)]), name="Fab"),
]
silkscreen = [
Silkscreen(Text(">REF", 0.5, Anchor.W).at((-0.75, 3.3826))),
Silkscreen(Polyline(0.254, [(-0.9, -1.55), (0.9, -1.55)])),
Silkscreen(Polyline(0.254, [(-0.9, -0.4), (-0.9, 0.4)])),
Silkscreen(Polyline(0.254, [(-0.9, 1.55), (0.9, 1.55)])),
Silkscreen(ArcPolyline(0.254, [Arc((1.524, -1.651), 0.127, 0, -360)])),
]
courtyard = [
Courtyard(rectangle(3.702, 3.354)),
]
models = [
Model3D(
"jitx-64d18bebb789d8dc4b8318fc.stp",
position=(0, 0, 0),
scale=(1, 1, 1),
rotation=(0, 0, 0),
),
]
[docs]
class SymbolTLV9001IDBVR(Symbol):
pad_name_size = 0.7874
OUT = Pin((3, 0), 2, Direction.Right) # Output at triangle tip
Vn = Pin((0, -2), 2, Direction.Down) # Negative supply at bottom
INp = Pin((-3, -1), 2, Direction.Left) # Positive input
INn = Pin((-3, 1), 2, Direction.Left) # Negative input
Vp = Pin((0, 2), 2, Direction.Up) # Positive supply at top
draws = [
Text(">VALUE", 0.75, Anchor.W).at((-5, 4)),
Text(">REF", 0.75, Anchor.W).at((-5, 5)),
# Main op-amp triangle - aligned with pin coordinates
Polyline(0.2, [(-3, -3), (-3, 3), (3, 0), (-3, -3)]),
# Input symbols - aligned with pin positions
Text("+", 0.75, Anchor.C).at((-2, -1)), # Positive input symbol
Text("−", 0.75, Anchor.C).at((-2, 1)), # Negative input symbol
# Supply pin indicators
Text("V+", 0.75, Anchor.C).at((1, 2)), # Positive supply label
Text("V−", 0.75, Anchor.C).at((1, -2)), # Negative supply label
]
[docs]
class ComponentTLV9001IDBVR(Component):
name = "C398363"
description = "5pA 1 1MHz 轨到轨 SOT-23-5 Operational Amplifier ROHS"
manufacturer = "Texas Instruments"
mpn = "TLV9001IDBVR"
datasheet = "https://www.lcsc.com/datasheet/lcsc_datasheet_1912111437_Texas-Instruments-TLV9001IDBVR_C398363.pdf"
reference_prefix = "U"
landpattern = LandpatternSOT_23_5_L3_0_W1_7_P0_95_LS2_8_BR()
OUT = Port()
Vn = Port()
INp = Port()
INn = Port()
Vp = Port()
symbol = SymbolTLV9001IDBVR()
mappings = [
SymbolMapping(
{
OUT: symbol.OUT,
Vn: symbol.Vn,
INp: symbol.INp,
INn: symbol.INn,
Vp: symbol.Vp,
}
),
PadMapping(
{
OUT: landpattern.p[1],
Vn: landpattern.p[2],
INp: landpattern.p[3],
INn: landpattern.p[4],
Vp: landpattern.p[5],
}
),
]