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-displayIn 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/TPS22918DBVR.tsx
import { ReferenceLabel } from "../product/reference-label"
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["ON"],
pin4: ["CT"],
pin5: ["QOD"],
pin6: ["VOUT"]
} as const
const pinAttributes = {
pin1: {isInput: true, requiresPower: true, mustBeConnected: true},
pin2: {isPassive: true, requiresGround: true, mustBeConnected: true},
pin3: {isInput: true, mustBeConnected: true},
pin6: {isOutput: true, providesPower: true},
pin5: {isOutput: true},
pin4: {isOutput: true}
} satisfies NonNullable<ChipProps["pinAttributes"]>
export const TPS22918DBVR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C131941"
]
}}
manufacturerPartNumber="TPS22918DBVR"
footprint={<footprint>
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin3"]} pcbX="1.35001mm" pcbY="0.94996mm" width="1.0999978mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin2"]} pcbX="1.35001mm" pcbY="-0mm" width="1.0999978mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin1"]} pcbX="1.35001mm" pcbY="-0.94996mm" width="1.0999978mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin6"]} pcbX="-1.35001mm" pcbY="-0.94996mm" width="1.0999978mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin5"]} pcbX="-1.35001mm" pcbY="-0mm" width="1.0999978mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin="0.02mm" solderPasteMargin="0mm" portHints={["pin4"]} pcbX="-1.35001mm" pcbY="0.94996mm" width="1.0999978mm" height="0.5999988mm" shape="rect" />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":-0.899998200000141,"y":1.5499080000000731},{"x":0.9000236000000541,"y":1.5499080000000731}]} />
<silkscreenpath strokeWidth="0.15mm" route={[{"x":-0.899998200000141,"y":-1.5501111999999466},{"x":0.9000236000000541,"y":-1.5501111999999466}]} />
<silkscreencircle strokeWidth="0.15mm" pcbX="1.397mm" pcbY="-1.651mm" radius="0.127mm" />
<ReferenceLabel name={props.name} />
<courtyardoutline outline={[{"x":-2.150008899999989,"y":1.6999081999999817},{"x":2.150008899999989,"y":1.6999081999999817},{"x":2.150008899999989,"y":-1.700085999999942},{"x":-2.150008899999989,"y":-1.700085999999942},{"x":-2.150008899999989,"y":1.6999081999999817}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131941.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131941.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0.000025399999913133797, y: -0.0000889000000370288, z: -0.048939 },
}}
{...props}
/>
)
}