rushabhcodes/usb-c-e-paper-display

USB-C powered RP2354B controller board with protected power regulation, EPD display interface and charge-pump rails, crystal timing, user/boot switches, status LEDs, and SWD test points.

Version
1.4.1
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone rushabhcodes/usb-c-e-paper-display  # download the package files into ./usb-c-e-paper-display
tsci add rushabhcodes/usb-c-e-paper-display    # add it to your project as @tsci/rushabhcodes.usb-c-e-paper-display

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

imports/TS_1088_AR02016.tsx

import { ReferenceLabel } from "../product/reference-label"
import type { PushButtonProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"]
} as const

const pinAttributes = {
  pin1: {isPassive: true},
  pin2: {isPassive: true}
} satisfies NonNullable<PushButtonProps["pinAttributes"]>

export const TS_1088_AR02016 = (props: PushButtonProps<typeof pinLabels>) => {
  const { name = "SW1", ...restProps } = props

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C720477"
  ]
}}
      manufacturerPartNumber="TS-1088-AR02016"
      pinAttributes={pinAttributes}
      footprint={<footprint>
        <smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin1"]} pcbX="-2.184908mm" pcbY="0mm" width="1.229995mm" height="1.8599912mm" shape="rect" />
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin2"]} pcbX="2.184908mm" pcbY="0mm" width="1.229995mm" height="1.8599912mm" shape="rect" />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":-2.026209,"y":1.541196},{"x":-2.026209,"y":1.194996}]} />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":-2.026209,"y":-1.541196},{"x":-2.026209,"y":-1.194996}]} />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":2.026209,"y":-1.194996},{"x":2.026209,"y":-1.541196}]} />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":2.026209,"y":1.541196},{"x":2.026209,"y":1.194996}]} />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":2.0262087999999494,"y":1.5411958000000823},{"x":-2.026208800000063,"y":1.5411958000000823}]} />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":2.0262087999999494,"y":-1.5411957999999686},{"x":-2.026208800000063,"y":-1.5411957999999686}]} />
<silkscreencircle strokeWidth="0.15mm" pcbX="0mm" pcbY="0mm" radius="0.899922mm" />
<ReferenceLabel name={props.name} />
<courtyardoutline outline={[{"x":-3.049905499999909,"y":1.700009800000089},{"x":3.049905499999795,"y":1.700009800000089},{"x":3.049905499999795,"y":-1.6999843999999484},{"x":-3.049905499999909,"y":-1.6999843999999484},{"x":-3.049905499999909,"y":1.700009800000089}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C720477.obj?uuid=2e35dca8e7854ed683469f8d54d1ef17",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C720477.step?uuid=2e35dca8e7854ed683469f8d54d1ef17",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: 0 },
      }}
      {...restProps}
    />
  )
}