xunpu_TS_1088_AR02016 module#
XUNPU Tactile Switch TS-1088-AR02016#
Component definition for XUNPU TS-1088-AR02016 tactile switch. This is a surface-mount tactile switch with 4.0mm x 2.9mm body size.
Usage:
>>> from jitxexamples.components.buttons.xunpu_TS_1088_AR02016 import TS_1088_AR02016 as TactileSwitch
>>> class MyCircuit(Circuit):
... def __init__(self):
... self.button = TactileSwitch()
... # Connect switch terminals
... self.nets = [
... self.button.p[1] + some_signal,
... self.button.p[2] + another_signal
... ]
- class RectangleSmdPad[source]#
Bases:
PadSMD pad definition for the tactile switch terminals.
Rectangular pad with dimensions 1.53mm x 1.36mm, with appropriate solder mask and paste stencil openings for reliable soldering.
- shape: Shape | PadShape = Polygon(elements=((0.765, 0.68), (-0.765, 0.68), (-0.765, -0.68), (0.765, -0.68)), 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.
- soldermask = Soldermask(shape=Polygon(elements=((0.816, 0.731), (-0.816, 0.731), (-0.816, -0.731), (0.816, -0.731)), holes=()), side=<Side.Top: 0>)#
- paste = Paste(shape=Polygon(elements=((0.816, 0.731), (-0.816, 0.731), (-0.816, -0.731), (0.816, -0.731)), holes=()), side=<Side.Top: 0>)#
- class LandpatternSW_SMD_L4_0_W2_9_LS5_0[source]#
Bases:
LandpatternPCB landpattern for XUNPU TS-1088-AR02016 tactile switch.
Surface-mount landpattern with 4.0mm x 2.9mm body size and 5.0mm lead span. Features two rectangular SMD pads positioned at ±2.035mm from center. Includes silkscreen outline, courtyard boundary, and 3D model reference.
- name = 'SW-SMD_L4.0-W2.9-LS5.0'#
- p = {1: RectangleSmdPad().at((-2.035, -0.0005)), 2: RectangleSmdPad().at((2.035, -0.0005))}#
- reference_designator = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
- value_label = Custom(shape=Shape[Text], side=<Side.Top: 0>, name='Fab')#
- silkscreen = [Silkscreen(shape=Polyline(width=0.152, elements=[(2.076, 1.5765), (-2.076, 1.5765)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(2.076, -1.5765), (2.076, -0.8835)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(2.076, 1.5765), (2.076, 0.8835)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(-2.076, 1.5765), (-2.076, 0.8835)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(2.076, -1.5765), (-2.076, -1.5765)]), side=<Side.Top: 0>), Silkscreen(shape=Polyline(width=0.152, elements=[(-2.076, -1.5765), (-2.076, -0.8835)]), side=<Side.Top: 0>), Silkscreen(shape=ArcPolyline(width=0.254, elements=[Arc(center=(0, -0.0005), radius=0.813, start=0, arc=-360)]), side=<Side.Top: 0>)]#
- custom_layer = [Custom(shape=ArcPolyline(width=0.06, elements=[Arc(center=(-2.5, -1.4505), radius=0.03, start=0, arc=-360)]), side=<Side.Top: 0>, name='Fab')]#
- courtyard = Courtyard(shape=Polygon(elements=((2.851, 1.6525), (-2.851, 1.6525), (-2.851, -1.6525), (2.851, -1.6525)), holes=()), side=<Side.Top: 0>)#
- model = <jitx.model3d.Model3D object>#
- class SymbolTS_1088_AR02016[source]#
Bases:
SymbolSchematic symbol for XUNPU TS-1088-AR02016 tactile switch.
Two-terminal switch symbol with standard tactile switch representation. Pin 1 on the left, Pin 2 on the right, with visual switch actuator indication.
- pin_name_size: float | None = 0.7874#
Font size of pin name text of
Pinobjects in this symbol, in grid units. If unset, defers to a parentSymbol, if a parent exists. This can be overriden at thePinlevel by setting itspin_name_sizeattribute.
- pad_name_size: float | None = 0.7874#
Font size of pad name text of
Pinobjects in this symbol, in grid units. If unset, defers to a parentSymbol, if a parent exists. This can be overriden at thePinlevel by setting itspad_name_sizeattribute.
- p = {1: Pin((-4, 0), 2, <Direction.Left: 'left'>), 2: Pin((4, 0), 2, <Direction.Right: 'right'>)}#
- layer_reference = Shape[Text]#
- layer_value = Shape[Text]#
- draws = [Shape[Circle], Shape[Circle], Polyline(width=0.254, elements=[(-1.8, 0.4), (1.6, 1.4)]), Polyline(width=0.254, elements=[(4.00001, 0), (2, 0)]), Polyline(width=0.254, elements=[(-4.00001, 0), (-2, 0)])]#
- class TS_1088_AR02016(*args, **kwargs)[source]#
Bases:
ComponentXUNPU TS-1088-AR02016 tactile switch component.
Surface-mount tactile switch with momentary normally-open contacts. Suitable for user interface applications requiring tactile feedback.
Specifications: - Body size: 4.0mm x 2.9mm - Lead span: 5.0mm - Operating force: Typically 160gf - Contact resistance: <100mΩ - Operating temperature: -40°C to +85°C
Ports: - p[1]: Switch terminal 1 - p[2]: Switch terminal 2
Note: Switch terminals are electrically equivalent - either can be used as input or output depending on circuit requirements.
- manufacturer: str | None = 'XUNPU'#
Manufacturer for this component.
- mpn: str | None = 'TS-1088-AR02016'#
Manufacturer part number for this component.
- reference_designator_prefix: str | None = 'S'#
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://www.lcsc.com/datasheet/lcsc_datasheet_2304140030_XUNPU-TS-1088-AR02016_C720477.pdf'#
- p = {1: Port(), 2: Port()}#
- landpattern = LandpatternSW_SMD_L4_0_W2_9_LS5_0()#
- symbol = SymbolTS_1088_AR02016()#
- cmappings = [SymbolMapping({Port(): SymbolTS_1088_AR02016().p[1], Port(): SymbolTS_1088_AR02016().p[2]}), PadMapping({Port(): LandpatternSW_SMD_L4_0_W2_9_LS5_0().p[1], Port(): LandpatternSW_SMD_L4_0_W2_9_LS5_0().p[2]})]#
- Device#
alias of
TS_1088_AR02016