gokul/macro-six-usbc
USB-powered ATmega32U4 controller board with protected/switched 5 V power, six tactile keys, rotary encoder, reset/boot/ISP interfaces, power LED, and six daisy-chained SK6812 RGB LEDs driven through MOSFETs.
- Version
- 0.1.6
- License
- MIT
- Stars
- 0
imports/SK6812MINI_HS.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND"],
pin2: ["DIN", "DI"],
pin3: ["VDD"],
pin4: ["DOUT", "DO"]
} as const
const pinAttributes = {
pin1: {requiresGround: true},
pin3: {requiresPower: true}
} as const
export const SK6812MINI_HS = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C2922787"
]
}}
manufacturerPartNumber="SK6812MINI-HS"
footprint={<footprint>
<smtpad portHints={["pin2"]} pcbX="1.450086mm" pcbY="0.900049mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.450086mm" pcbY="0.900049mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.450086mm" pcbY="-0.900049mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="1.450086mm" pcbY="-0.900049mm" width="1.499997mm" height="0.999998mm" shape="rect" />
<silkscreenpath strokeWidth={0.15} route={[{"x":1.7500599999999622,"y":1.7501107999999022},{"x":-1.7499330000000555,"y":1.7501107999999022}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":1.7500599999999622,"y":-1.7498822000001155},{"x":-1.7499330000000555,"y":-1.7498822000001155}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":1.7500599999999622,"y":-1.7498822000001155},{"x":1.7500599999999622,"y":-1.5802356000000373}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":1.7500599999999622,"y":-0.2195576000000301},{"x":1.7500599999999622,"y":0.2197608000000173}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":1.7500599999999622,"y":1.5804388000000245},{"x":1.7500599999999622,"y":1.7501107999999022}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":-1.7499330000000555,"y":-1.7498822000001155},{"x":-1.7499330000000555,"y":-1.5802356000000373}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":-1.7499330000000555,"y":-0.2195576000000301},{"x":-1.7499330000000555,"y":0.2197608000000173}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":-1.7499330000000555,"y":1.5804388000000245},{"x":-1.7499330000000555,"y":1.7501107999999022}]} />
<silkscreentext text="{NAME}" pcbX="0.1016mm" pcbY="2.757299mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":1.250060999999846,"y":-1.7499583999999686},{"x":1.7500599999999622,"y":-1.7499583999999686},{"x":1.7500599999999622,"y":-1.2499339999999393},{"x":1.250060999999846,"y":-1.7499583999999686}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-2.124913200000151,"y":1.2500609999999597},{"x":-2.0249134000000595,"y":1.2500609999999597},{"x":-1.8749264000000494,"y":0.850010999999995},{"x":-1.7749266000000716,"y":1.2500609999999597},{"x":-1.6749268000000939,"y":1.2500609999999597},{"x":-1.8749264000000494,"y":0.6000495999999202},{"x":-2.124913200000151,"y":1.2500609999999597}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-1.6249396000001752,"y":1.2500609999999597},{"x":-1.6249396000001752,"y":0.6000495999999202},{"x":-1.5249398000001975,"y":0.6000495999999202},{"x":-1.5249398000001975,"y":1.2500609999999597},{"x":-1.6249396000001752,"y":1.2500609999999597}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-1.5249398000001975,"y":1.1500611999998682},{"x":-1.3749274000000469,"y":1.1000485999999228},{"x":-1.37495279999996,"y":0.7750555999999733},{"x":-1.5249398000001975,"y":0.6750557999999955},{"x":-1.5249398000001975,"y":0.6000495999999202},{"x":-1.2749276000001828,"y":0.7000494000000117},{"x":-1.2749276000001828,"y":1.1500611999998682},{"x":-1.5249398000001975,"y":1.2500609999999597},{"x":-1.5249398000001975,"y":1.1500611999998682}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-1.1499088000000484,"y":1.249959399999966},{"x":-1.1499088000000484,"y":0.6000495999999202},{"x":-1.0499344000000974,"y":0.6000495999999202},{"x":-1.0499344000000974,"y":1.249959399999966},{"x":-1.1499088000000484,"y":1.249959399999966}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-1.0499344000000974,"y":1.1501373999999487},{"x":-0.9011411999999837,"y":1.1001755999999432},{"x":-0.9011411999999837,"y":0.8001762000000099},{"x":-1.0499344000000974,"y":0.7001001999999517},{"x":-1.0499344000000974,"y":0.6000495999999202},{"x":-0.8011414000002333,"y":0.7501889999999776},{"x":-0.8011414000002333,"y":1.1501881999998886},{"x":-1.0499344000000974,"y":1.249959399999966},{"x":-1.0499344000000974,"y":1.1501373999999487}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-2.1498560000001135,"y":-0.5750814000000446},{"x":-2.1498560000001135,"y":-1.2250420000000304},{"x":-2.0499323999999888,"y":-1.2250420000000304},{"x":-2.0499323999999888,"y":-0.5750814000000446},{"x":-2.1498560000001135,"y":-0.5750814000000446}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-2.0499323999999888,"y":-0.674954200000002},{"x":-1.9011138000000756,"y":-0.7249160000000074},{"x":-1.9011138000000756,"y":-1.0248900000000276},{"x":-2.0499323999999888,"y":-1.124991399999999},{"x":-2.0499323999999888,"y":-1.2250420000000304},{"x":-1.801088600000071,"y":-1.0748009999999795},{"x":-1.801088600000071,"y":-0.6748780000000352},{"x":-2.0499323999999888,"y":-0.5750814000000446},{"x":-2.0499323999999888,"y":-0.674954200000002}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":0.8999981999999136,"y":1.2498577999999725},{"x":0.8999981999999136,"y":0.5999987999998666},{"x":1.0000487999998313,"y":0.5999987999998666},{"x":1.0000487999998313,"y":1.2498577999999725},{"x":0.8999981999999136,"y":1.2498577999999725}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.0000487999998313,"y":1.150035799999955},{"x":1.1487403999998378,"y":1.1000739999999496},{"x":1.1487403999998378,"y":0.8000491999999895},{"x":1.0000487999998313,"y":0.6999985999999581},{"x":1.0000487999998313,"y":0.5999987999998666},{"x":1.2487909999999829,"y":0.7501127999998971},{"x":1.2487909999999829,"y":1.1501373999999487},{"x":1.0000487999998313,"y":1.2498577999999725},{"x":1.0000487999998313,"y":1.150035799999955}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.8019521999999597,"y":-0.5549138000000085},{"x":1.8019521999999597,"y":-1.2047728000000006},{"x":1.9019265999999106,"y":-1.2047728000000006},{"x":1.9019265999999106,"y":-0.5549138000000085},{"x":1.8019521999999597,"y":-0.5549138000000085}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.9019265999999106,"y":-0.6546849999999722},{"x":2.0507197999999107,"y":-0.7046975999999177},{"x":2.0507197999999107,"y":-1.0046207999999979},{"x":1.9019265999999106,"y":-1.1047730000000229},{"x":1.9019265999999106,"y":-1.2047728000000006},{"x":2.1507195999998885,"y":-1.0546333999999433},{"x":2.1507195999998885,"y":-0.6546849999999722},{"x":1.9019265999999106,"y":-0.5549138000000085},{"x":1.9019265999999106,"y":-0.6546849999999722}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-1.6499332000000777,"y":-0.6999478000001318},{"x":-1.6499332000000777,"y":-1.1249405999999453},{"x":-1.4999462000000676,"y":-1.1249405999999453},{"x":-1.4999462000000676,"y":-0.6499606000000995},{"x":-1.7249394000000393,"y":-0.6499606000000995},{"x":-1.7249394000000393,"y":-0.5749543999999105},{"x":-1.4249399999999923,"y":-0.5749543999999105},{"x":-1.4249399999999923,"y":-1.2249404000000368},{"x":-1.7249394000000393,"y":-1.2249404000000368},{"x":-1.7249394000000393,"y":-0.6999478000001318},{"x":-1.6499332000000777,"y":-0.6999478000001318}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-1.3249402000001282,"y":-0.5749543999999105},{"x":-1.249934000000053,"y":-0.5749543999999105},{"x":-1.249934000000053,"y":-1.1499595999999883},{"x":-1.1249405999999453,"y":-1.1499595999999883},{"x":-1.1249405999999453,"y":-0.5749543999999105},{"x":-1.0499344000000974,"y":-0.5749543999999105},{"x":-1.0499344000000974,"y":-1.2249404000000368},{"x":-1.3249402000001282,"y":-1.2249404000000368},{"x":-1.3249402000001282,"y":-0.5749543999999105}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.9749536000000489,"y":-0.5749543999999105},{"x":-0.9749536000000489,"y":-0.6499606000000995},{"x":-0.8749538000000712,"y":-0.6499606000000995},{"x":-0.8749538000000712,"y":-1.2249404000000368},{"x":-0.7999475999999959,"y":-1.2249404000000368},{"x":-0.7999475999999959,"y":-0.6499606000000995},{"x":-0.7249414000000343,"y":-0.6499606000000995},{"x":-0.7249414000000343,"y":-0.5749543999999105},{"x":-0.9749536000000489,"y":-0.5749543999999105}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.4249907999999323,"y":1.249959399999966},{"x":1.4249907999999323,"y":0.6001003999999739},{"x":1.5250921999999036,"y":0.6001003999999739},{"x":1.5250921999999036,"y":1.249959399999966},{"x":1.4249907999999323,"y":1.249959399999966}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.700326799999857,"y":1.2497816000000057},{"x":1.700326799999857,"y":0.5998210000000199},{"x":1.8003774000000021,"y":0.5998210000000199},{"x":1.8003774000000021,"y":1.2497816000000057},{"x":1.700326799999857,"y":1.2497816000000057}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.8000471999999945,"y":1.175054799999998},{"x":2.0000467999998364,"y":0.6000495999999202},{"x":2.100046599999814,"y":0.6000495999999202},{"x":2.100046599999814,"y":1.2500356000000465},{"x":2.0000467999998364,"y":1.2500356000000465},{"x":2.0000467999998364,"y":0.8750553999999511},{"x":1.85005979999994,"y":1.2500356000000465},{"x":1.8000471999999945,"y":1.2500356000000465},{"x":1.8000471999999945,"y":1.175054799999998}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.2000483999999005,"y":-0.549960800000008},{"x":1.2000483999999005,"y":-0.6499606000000995},{"x":0.8500618000000486,"y":-0.6499606000000995},{"x":0.8500618000000486,"y":-1.0999470000000429},{"x":1.1000485999999228,"y":-1.0999470000000429},{"x":1.1000485999999228,"y":-0.9749536000001626},{"x":0.9250425999999834,"y":-0.9749536000001626},{"x":0.9250425999999834,"y":-0.8749538000000712},{"x":1.2000483999999005,"y":-0.8749538000000712},{"x":1.2000483999999005,"y":-1.1999468000001343},{"x":0.7500619999998435,"y":-1.1999468000001343},{"x":0.7500619999998435,"y":-0.549960800000008},{"x":1.2000483999999005,"y":-0.549960800000008}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.3003529999999728,"y":-0.5502656000001025},{"x":1.3003529999999728,"y":-1.2000992000000679},{"x":1.4004543999999441,"y":-1.2000992000000679},{"x":1.4004543999999441,"y":-0.5502656000001025},{"x":1.3003529999999728,"y":-0.5502656000001025}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.4000479999999698,"y":-0.6249416000000565},{"x":1.6000222000000122,"y":-1.1998706000000539},{"x":1.70002199999999,"y":-1.1998706000000539},{"x":1.70002199999999,"y":-0.5500370000000885},{"x":1.6000222000000122,"y":-0.5500370000000885},{"x":1.6000222000000122,"y":-0.9250425999999834},{"x":1.450136799999882,"y":-0.5500370000000885},{"x":1.4000479999999698,"y":-0.5500370000000885},{"x":1.4000479999999698,"y":-0.6249416000000565}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-2.450084499999889,"y":2.0000345999999354},{"x":2.4500844999997753,"y":2.0000345999999354},{"x":2.4500844999997753,"y":-1.9999583999999686},{"x":-2.450084499999889,"y":-1.9999583999999686},{"x":-2.450084499999889,"y":2.0000345999999354}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2922787.obj?uuid=a1b5c5deefbe40119d1ee5e7ebaf8e5a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2922787.step?uuid=a1b5c5deefbe40119d1ee5e7ebaf8e5a",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.00006350000001020817, y: -0.000038099999983387534, z: 0 },
}}
{...props}
/>
)
}