WS2816C_2121 module#

class RectSMDPad[source]#

Bases: Pad

rect = Polygon(elements=((0.35, 0.159995), (-0.35, 0.159995), (-0.35, -0.159995), (0.35, -0.159995)), holes=())#
shape: Shape | PadShape = Polygon(elements=((0.35, 0.159995), (-0.35, 0.159995), (-0.35, -0.159995), (0.35, -0.159995)), 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.35, 0.159995), (-0.35, 0.159995), (-0.35, -0.159995), (0.35, -0.159995)), holes=()), side=<Side.Top: 0>)#
class C965561[source]#

Bases: Landpattern

p = {1: RectSMDPad().at(-0.940056, 0.630023, on=<Side.Top: 0>, rotate=180), 2: RectSMDPad().at(-0.940056, -0.000152, on=<Side.Top: 0>, rotate=180), 3: RectSMDPad().at(-0.940056, -0.630074, on=<Side.Top: 0>, rotate=180), 4: RectSMDPad().at(0.940056, -0.630074, on=<Side.Top: 0>, rotate=180), 5: RectSMDPad().at(0.940056, 0.000102, on=<Side.Top: 0>, rotate=180), 6: RectSMDPad().at(0.940056, 0.630023, on=<Side.Top: 0>, rotate=180)}#
ref_text = Silkscreen(shape=Shape[Text], side=<Side.Top: 0>)#
value_text = Finish(shape=Shape[Text], side=<Side.Top: 0>)#
silk_arcs = [Silkscreen(shape=ArcPolyline(width=0.059995, elements=[Arc(center=(-1.1, 1.100025), radius=0.0299970000000001, start=0.0, arc=360.0)]), side=<Side.Top: 0>)]#
class WS2816C_2121_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.

BI = Pin(at=(-2, -4), direction=<Direction.Left: 'left'>, length=1)#
DI = Pin(at=(-2, -5), direction=<Direction.Left: 'left'>, length=1)#
VDD = Pin(at=(-2, -6), direction=<Direction.Left: 'left'>, length=1)#
DO = Pin(at=(2, -6), direction=<Direction.Right: 'right'>, length=1)#
BO = Pin(at=(2, -5), direction=<Direction.Right: 'right'>, length=1)#
GND = Pin(at=(2, -4), direction=<Direction.Right: 'right'>, length=1)#
ref_text = Shape[Text]#
value_text = Shape[Text]#
component_box = Polygon(elements=[(2.5, -3.0), (-2.5, -3.0), (-2.5, -7.0), (2.5, -7.0), (2.5, -3.0)], holes=())#
pin1_indicator = Shape[Circle]#
class WS2816C_2121(*args, **kwargs)[source]#

Bases: Component

16Bit 3 Channel Constant current digital LED

manufacturer: str | None = 'Worldsemi'#

Manufacturer for this component.

mpn: str | None = 'WS2816C-2121'#

Manufacturer part number for this component.

reference_designator_prefix: str | None = 'D'#

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.

BI = Port()#
DI = Port()#
VDD = Port()#
DO = Port()#
BO = Port()#
GND = Port()#
landpattern = C965561()#
symbol = BoxSymbol(rows=[Row(left=[PinGroup([Port(), Port(), Port()])]), Row(right=[PinGroup([Port(), Port(), Port()])])])#
mappings = [PadMapping({Port(): [C965561().p[1]], Port(): [C965561().p[2]], Port(): [C965561().p[3]], Port(): [C965561().p[4]], Port(): [C965561().p[5]], Port(): [C965561().p[6]]})]#
class PowerPin(voltage_range)[source]#

Bases: Property

Parameters:

voltage_range (Toleranced)

voltage_range: Toleranced#
VDD_power_pin = WS2816C_2121.PowerPin(voltage_range=Toleranced(4.6, 0.9, 0.9))#
datasheet = 'https://datasheet.lcsc.com/lcsc/2012110135_Worldsemi-WS2816C-2121_C965561.pdf'#
Device#

alias of WS2816C_2121