PH2_0_2PWB module#
- class RectangleSmdPad(*args, **kwargs)[source]#
Bases:
Pad- shape: Shape | PadShape = Polygon(elements=((0.45, 0.85), (-0.45, 0.85), (-0.45, -0.85), (0.45, -0.85)), 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.
- solder_mask = [Soldermask(shape=Polygon(elements=((0.5, 0.9), (-0.5, 0.9), (-0.5, -0.9), (0.5, -0.9)), holes=()), side=<Side.Top: 0>)]#
- paste = [Paste(shape=Polygon(elements=((0.5, 0.9), (-0.5, 0.9), (-0.5, -0.9), (0.5, -0.9)), holes=()), side=<Side.Top: 0>)]#
- class RectangleSmdPad1(*args, **kwargs)[source]#
Bases:
Pad- shape: Shape | PadShape = Polygon(elements=((0.4, 1.5), (-0.4, 1.5), (-0.4, -1.5), (0.4, -1.5)), 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.
- solder_mask = [Soldermask(shape=Polygon(elements=((0.45, 1.5), (-0.45, 1.5), (-0.45, -1.5), (0.45, -1.5)), holes=()), side=<Side.Top: 0>)]#
- paste = [Paste(shape=Polygon(elements=((0.45, 1.5), (-0.45, 1.5), (-0.45, -1.5), (0.45, -1.5)), holes=()), side=<Side.Top: 0>)]#
- class LandpatternPH2_0_2PWB(*args, **kwargs)[source]#
Bases:
Landpattern- name = 'CONN-SMD_2P-P2.00_PH2.0-SPWB'#
- p = {1: RectangleSmdPad().at((1.0, -3.5)), 2: RectangleSmdPad().at((-1.0, -3.5)), 3: RectangleSmdPad1().at((-3.25, 2.85)), 4: RectangleSmdPad1().at((3.25, 2.85))}#
- pcb_layer_reference = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
- pcb_layer_value = Custom(shape=Shape[Text], side=<Side.Top: 0>)#
- custom_layer = [Custom(shape=Polyline(width=0.254, elements=[(-3.2, -1.85), (-3.2, -3.45)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(3.2, -3.45), (3.2, -1.85)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(3.2, -1.85), (-3.2, -1.85)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(-4.0, 4.15), (4.0, 4.15)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(4.0, 4.15), (4.0, -3.45)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(-4.0, -3.45), (-4.0, 4.15)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(-3.2, -3.45), (-4.0, -3.45)]), side=<Side.Top: 0>), Custom(shape=Polyline(width=0.254, elements=[(4.0, -3.45), (3.2, -3.45)]), side=<Side.Top: 0>), Custom(shape=ArcPolyline(width=0.06, elements=[Arc(center=(4.0, -3.925), radius=0.03, start=0, arc=-360)]), side=<Side.Top: 0>)]#
- silkscreen = [Silkscreen(shape=Polyline(width=0.254, elements=[(-3.2, -1.85), (-3.2, -3.45)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(3.2, -3.45), (3.2, -1.85)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(3.2, -1.85), (-3.2, -1.85)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(4.0, 4.15), (4.0, -3.45)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-2.5, 4.15), (2.5, 4.15)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-4.0, -3.45), (-4.0, 4.15)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(-3.2, -3.45), (-4.0, -3.45)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.254, elements=[(4.0, -3.45), (3.2, -3.45)]), side=<Side.Top: 0>)]#
- courtyard = [Courtyard(shape=Polygon(elements=((4.1275, 4.401), (-4.1275, 4.401), (-4.1275, -4.401), (4.1275, -4.401)), holes=()), side=<Side.Top: 0>)]#
- class Component(*args, **kwargs)[source]#
Bases:
Component- description = 'Battery connector module for 2.0mm pitch battery connection'#
- reference_designator_prefix: str | None = 'J'#
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.
- datasheet = 'https://datasheet.lcsc.com/lcsc/1912111436_BOOMELE-Boom-Precision-Elec-C47647_C47647.pdf'#
- pin1 = Port()#
- pin2 = Port()#
- pin3 = Port()#
- pin4 = Port()#
- landpattern = LandpatternPH2_0_2PWB()#
- symbol = BoxSymbol(rows=[Row(left=[PinGroup([Port(), Port(), Port(), Port()])])])#
- cmappings = [PadMapping({Port(): LandpatternPH2_0_2PWB().p[1], Port(): LandpatternPH2_0_2PWB().p[2], Port(): LandpatternPH2_0_2PWB().p[3], Port(): LandpatternPH2_0_2PWB().p[4]})]#
- class PH2_0_2PWB(*args, **kwargs)[source]#
Bases:
CircuitPH2-0-2PWB Module Battery connector module for 2.0mm pitch battery connection
- battery = Power()#
- mounting = Port()#
- connector = Component()#
- nets = [add(Power().Vn, Component().pin1), add(Power().Vp, Component().pin2), add(add(Port(), Component().pin3), Component().pin4)]#
- Device#
alias of
PH2_0_2PWB