pixalynx/esp32-usb-ducky

A compact ESP32‑S3 USB‑C stick with native USB HID, 4‑bit microSD storage, 3.3V LDO power regulation, ESD protection, boot/reset controls, addressable RGB status LED, decoupling, and test pads.

Version
1.2.8
License
unset
Stars
0

imports/WS2812C_2020_V1.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["DO"],
  pin2: ["GND"],
  pin3: ["DI"],
  pin4: ["VDD"]
} as const

const pinAttributes = {
  pin2: {requiresGround: true},
  pin4: {requiresPower: true}
} as const

/**
 * Worldsemi WS2812C-2020-V1 (JLCPCB C2976072): 2x2mm top-mount addressable
 * RGB LED. Pins: 1 DO, 2 GND, 3 DI, 4 VDD. Datasheet: VDD 3.7-5.3V,
 * VIH >= 2.7V, 5mA per channel, 100nF on VDD, 800kbit/s single-wire data in
 * GRB order, MSB first. Generated by `tsci import C2976072 --jlcpcb
 * --use-exact-footprint`; the OBJ spans z -0.02..0.82, matching
 * modelOriginPosition z. The {NAME} text was 1mm and 2.16mm off the body;
 * it is 0.4mm and 1.65mm off here so it stays on a board edge strip.
 */
export const WS2812C_2020_V1 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2976072"
  ]
}}
      manufacturerPartNumber="WS2812C-2020-V1"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.915035mm" pcbY="0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.915035mm" pcbY="-0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.915035mm" pcbY="-0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.915035mm" pcbY="0.550037mm" width="0.8999982mm" height="0.6999986mm" shape="rect" />
<silkscreenpath route={[{"x":-0.24998679999998785,"y":0.7499603999999636},{"x":-0.09999980000009145,"y":0.7499603999999636},{"x":-0.09999980000009145,"y":-0.6500114000000394},{"x":-0.09999980000009145,"y":-0.6999986000000717},{"x":-0.24998679999998785,"y":-0.6999986000000717}]} />
<silkscreenpath route={[{"x":-0.24998679999998785,"y":0.7499603999999636},{"x":-0.24998679999998785,"y":-0.7000239999999849}]} />
<silkscreenpath route={[{"x":-1.299997400000052,"y":1.1499850000000151},{"x":-1.299997400000052,"y":1.1381486000000223}]} />
<silkscreenpath route={[{"x":0.9999979999998914,"y":1.0999977999999828},{"x":-0.999998000000005,"y":1.0999977999999828}]} />
<silkscreenpath route={[{"x":-0.999998000000005,"y":-1.0999977999999828},{"x":0.9999979999998914,"y":-1.0999977999999828}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="1.65mm" anchorAlignment="center" fontSize="0.4mm" />
<fabricationnotepath route={[{"x":-0.8199882000001253,"y":-0.380009399999949},{"x":-0.5799836000001051,"y":-0.380009399999949},{"x":-0.5799836000001051,"y":-0.5600192000000561},{"x":-0.7899908000001687,"y":-0.5600192000000561},{"x":-0.7899908000001687,"y":-0.6700266000000283},{"x":-0.5799836000001051,"y":-0.6700266000000283},{"x":-0.5799836000001051,"y":-0.7200138000000607},{"x":-0.8199882000001253,"y":-0.7200138000000607},{"x":-0.8299958000001197,"y":-0.7200138000000607},{"x":-0.8299958000001197,"y":-0.7100061999999525},{"x":-0.8299958000001197,"y":-0.5200141999998777},{"x":-0.6099809999999479,"y":-0.5200141999998777},{"x":-0.6099809999999479,"y":-0.42001440000001367},{"x":-0.8299958000001197,"y":-0.42001440000001367},{"x":-0.8299958000001197,"y":-0.380009399999949},{"x":-0.8199882000001253,"y":-0.380009399999949}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.1799823999999717,"y":-0.6649719999999206},{"x":-0.9399777999999515,"y":-0.6649719999999206},{"x":-0.9399777999999515,"y":-0.7149845999999798},{"x":-1.1799823999999717,"y":-0.7149845999999798},{"x":-1.1799823999999717,"y":-0.6649719999999206}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.654989799999953,"y":0.4550155999999106},{"x":0.654989799999953,"y":0.6949948000000177},{"x":0.7050024000000121,"y":0.6949948000000177},{"x":0.7050024000000121,"y":0.4550155999999106},{"x":0.654989799999953,"y":0.4550155999999106}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.5599938000000293,"y":0.5999987999999803},{"x":0.7999983999999358,"y":0.5999987999999803},{"x":0.7999983999999358,"y":0.5499862000000348},{"x":0.5599938000000293,"y":0.5499862000000348},{"x":0.5599938000000293,"y":0.5999987999999803}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.2249931999999717,"y":0.8800084000000652},{"x":-0.2249931999999717,"y":-0.8799830000000384},{"x":-0.47498000000007323,"y":-0.8799830000000384},{"x":-0.47498000000007323,"y":0.8800084000000652},{"x":-0.2249931999999717,"y":0.8800084000000652}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.9499853999999459,"y":0.7499858000001041},{"x":0.9499853999999459,"y":0.4499864000000571},{"x":1.0999977999999828,"y":0.4499864000000571},{"x":1.0999977999999828,"y":0.3499865999999656},{"x":1.1499850000000151,"y":0.3499865999999656},{"x":1.1499850000000151,"y":0.4499864000000571},{"x":1.249984799999993,"y":0.4499864000000571},{"x":1.249984799999993,"y":0.4999990000000025},{"x":1.1499850000000151,"y":0.4999990000000025},{"x":1.1499850000000151,"y":0.6500113999999257},{"x":1.0999977999999828,"y":0.6500113999999257},{"x":1.0999977999999828,"y":0.4999990000000025},{"x":0.9999979999998914,"y":0.4999990000000025},{"x":0.9999979999998914,"y":0.7499858000001041},{"x":0.9499853999999459,"y":0.7499858000001041}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.7999983999999358,"y":0.6999986000000717},{"x":-0.8500110000001087,"y":0.6499860000000126},{"x":-0.8500110000001087,"y":0.3499865999999656},{"x":-0.8499855999999681,"y":0.3499865999999656},{"x":-0.7999983999999358,"y":0.299999400000047},{"x":-0.599998800000094,"y":0.299999400000047},{"x":-0.599998800000094,"y":0.299999400000047},{"x":-0.5500116000000617,"y":0.3499865999999656},{"x":-0.5500116000000617,"y":0.6499860000000126},{"x":-0.5500116000000617,"y":0.6500113999999257},{"x":-0.599998800000094,"y":0.6999986000000717},{"x":-0.6999986000000717,"y":0.6999986000000717},{"x":-0.6999986000000717,"y":0.6499860000000126},{"x":-0.599998800000094,"y":0.6499860000000126},{"x":-0.599998800000094,"y":0.3499865999999656},{"x":-0.7999983999999358,"y":0.3499865999999656},{"x":-0.7999983999999358,"y":0.6499860000000126},{"x":-0.7500111999999035,"y":0.6499860000000126},{"x":-0.7500111999999035,"y":0.6999986000000717},{"x":-0.7999983999999358,"y":0.6999986000000717}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.1749532000000045,"y":0.6999986000000717},{"x":-1.1749532000000045,"y":0.299999400000047},{"x":-1.024966200000108,"y":0.299999400000047},{"x":-0.9749536000001626,"y":0.299999400000047},{"x":-0.9249664000001303,"y":0.3499865999999656},{"x":-0.9249664000001303,"y":0.6500113999999257},{"x":-0.9749536000001626,"y":0.6999986000000717},{"x":-1.0749534000000267,"y":0.6999986000000717},{"x":-1.0749534000000267,"y":0.6499860000000126},{"x":-0.9749536000001626,"y":0.6499860000000126},{"x":-0.9749536000001626,"y":0.3499865999999656},{"x":-1.1249659999999722,"y":0.3499865999999656},{"x":-1.1249659999999722,"y":0.6999986000000717},{"x":-1.1749532000000045,"y":0.6999986000000717}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.5500115999998343,"y":-0.35001199999999244},{"x":0.5500115999998343,"y":-0.7500620000000708},{"x":0.7000239999999849,"y":-0.7500620000000708},{"x":0.7500619999999572,"y":-0.7500620000000708},{"x":0.8000491999999895,"y":-0.7000494000000117},{"x":0.8000491999999895,"y":-0.39997379999999794},{"x":0.7500619999999572,"y":-0.35001199999999244},{"x":0.6500621999999794,"y":-0.35001199999999244},{"x":0.6500621999999794,"y":-0.4000754000001052},{"x":0.7500619999999572,"y":-0.4000754000001052},{"x":0.7500619999999572,"y":-0.7000494000000117},{"x":0.6000495999999202,"y":-0.7000494000000117},{"x":0.6000495999999202,"y":-0.35001199999999244},{"x":0.5500115999998343,"y":-0.35001199999999244}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.9250171999999566,"y":-0.7500112000000172},{"x":0.9250171999999566,"y":-0.6999985999999581},{"x":0.9750043999999889,"y":-0.6999985999999581},{"x":0.9750043999999889,"y":-0.39999919999991107},{"x":0.9250171999999566,"y":-0.39999919999991107},{"x":0.9250171999999566,"y":-0.35001199999999244},{"x":1.0750041999999667,"y":-0.35001199999999244},{"x":1.0750041999999667,"y":-0.39999919999991107},{"x":1.0250169999999343,"y":-0.39999919999991107},{"x":1.0250169999999343,"y":-0.6999985999999581},{"x":1.0750041999999667,"y":-0.6999985999999581},{"x":1.0750041999999667,"y":-0.7500112000000172},{"x":0.9250171999999566,"y":-0.7500112000000172}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-1.622235000000046,"y":1.4096369999999752},{"x":1.5955649999998514,"y":1.4096369999999752},{"x":1.5955649999998514,"y":-1.3509629999999788},{"x":-1.622235000000046,"y":-1.3509629999999788},{"x":-1.622235000000046,"y":1.4096369999999752}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2976072.obj?uuid=caa88715b11f4aa189b02e52bbb84e4f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2976072.step?uuid=caa88715b11f4aa189b02e52bbb84e4f",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000025399999913133797, y: -0.00012700000002041634, z: -0.02 },
      }}
      {...props}
    />
  )
}