BSN20 module#

class RectSMDPad[source]#

Bases: Pad

rect = Polygon(elements=((0.5350015, 0.3), (-0.5350015, 0.3), (-0.5350015, -0.3), (0.5350015, -0.3)), holes=())#
shape: Shape | PadShape = Polygon(elements=((0.5350015, 0.3), (-0.5350015, 0.3), (-0.5350015, -0.3), (0.5350015, -0.3)), holes=())#

The geometric shape of the pad or a PadShape to specify the regular shape and the shape when non-functional pads are removed. Can be overridden on a per-layer basis by shapes.

layer = Soldermask(shape=Polygon(elements=((0.5350015, 0.3), (-0.5350015, 0.3), (-0.5350015, -0.3), (0.5350015, -0.3)), holes=()), side=<Side.Top: 0>)#
class C116157[source]#

Bases: Landpattern

p = {1: RectSMDPad().at(1.235077, -0.949962, on=<Side.Top: 0>), 2: RectSMDPad().at(1.235077, 0.949962, on=<Side.Top: 0>), 3: RectSMDPad().at(-1.235077, 0.0, on=<Side.Top: 0>)}#
ref_text = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
value_text = Finish(shape=Shape[Text], side=<Side.Top: 0>)#
ref_alt_text = Finish(shape=Shape[Text], side=<Side.Top: 0>)#
silk_lines = [Silkscreen(shape=Polyline(width=0.1524, elements=[(0.876073, 1.536195), (-0.876327, 1.536195)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.1524, elements=[(-0.876327, -1.536195), (-0.876327, -0.49459)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.1524, elements=[(0.876073, 0.455398), (0.876073, -0.455398)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.1524, elements=[(0.876073, -1.536195), (-0.876327, -1.536195)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.1524, elements=[(-0.876327, 1.536195), (-0.876327, 0.49459)]), side=<Side.Top: 0>)]#
silk_arcs = [Silkscreen(shape=ArcPolyline(width=0.059995, elements=[Arc(center=(1.399873, -1.459995), radius=0.0299970000000001, start=0.0, arc=360.0)]), side=<Side.Top: 0>)]#
finish_arc = Finish(shape=ArcPolyline(width=0.2, elements=[Arc(center=(1.65113, -0.949962), radius=0.100077, start=0.0, arc=360.0)]), side=<Side.Top: 0>)#
class BSN20_Symbol[source]#

Bases: Symbol

pin_name_size: float | None = 0.6#

Font size of pin name text of Pin objects in this symbol, in grid units. If unset, defers to a parent Symbol, if a parent exists. This can be overriden at the Pin level by setting its pin_name_size attribute.

pad_name_size: float | None = 0.6#

Font size of pad name text of Pin objects in this symbol, in grid units. If unset, defers to a parent Symbol, if a parent exists. This can be overriden at the Pin level by setting its pad_name_size attribute.

G = Pin(at=(-2, -5), direction=<Direction.Left: 'left'>, length=1)#
S = Pin(at=(0, -6), direction=<Direction.Down: 'down'>, length=1)#
D = Pin(at=(0, -4), direction=<Direction.Up: 'up'>, length=1)#
ref_text = Shape[Text]#
value_text = Shape[Text]#
gate_line = Polyline(width=0.0, elements=[(-2, -5), (-1, -5)])#
source_line = Polyline(width=0.0, elements=[(0, -5), (-1, -5)])#
drain_line = Polyline(width=0.0, elements=[(0, -4), (-1, -4)])#
channel_lines = [Polyline(width=0.0, elements=[(-1, -5), (0, -5), (0, -6), (1, -6), (1, -5)]), Polyline(width=0.0, elements=[(-1, -4), (0, -4), (0, -4), (1, -4), (1, -4)])]#
arrows = [Polyline(width=0.0, elements=[(0.6, -4), (0.7, -4), (1.3, -4), (1.4, -4)])]#
connection_lines = [Polyline(width=0.0, elements=[(-1, -5), (-1, -5)]), Polyline(width=0.0, elements=[(-1, -5), (-1, -5)]), Polyline(width=0.0, elements=[(-1, -4), (-1, -4)]), Polyline(width=0.0, elements=[(-1, -5), (-1, -5)]), Polyline(width=0.0, elements=[(-1, -5), (-1, -5)]), Polyline(width=0.0, elements=[(-1, -4), (-1, -4)])]#
gate_polygon = Polygon(elements=[(-1, -5), (-0.4, -4), (-0.4, -5), (-1, -5)], holes=())#
drain_polygon = Polygon(elements=[(1, -4), (1.3, -5), (0.7, -5), (1, -4)], holes=())#
class BSN20(*args, **kwargs)[source]#

Bases: Component

N-channel enhancement mode field-effect transistor

mpn: str | None = 'BSN20'#

Manufacturer part number for this component.

reference_designator_prefix: str | None = 'Q'#

Reference designator prefix for this component. This will be used to generate a unique reference designator for each component of the same type.

Note

This field is a required data point for matching components between builds. If this value changes (including changing from unset to set), it will be treated as a new component, even if nothing else changes.

G = Port()#
S = Port()#
D = Port()#
landpattern = C116157()#
symbol = BSN20_Symbol()#
mappings = [PadMapping({Port(): [C116157().p[1]], Port(): [C116157().p[2]], Port(): [C116157().p[3]]})]#
datasheet = 'https://datasheet.lcsc.com/lcsc/1811021114_Shikues-BSN20_C116157.pdf'#
Device#

alias of BSN20