rushabhcodes/simple-usb-c-pd-peltier-driver
Reference-based four-layer USB-C PD Peltier driver with RP2040 control, adjustable voltage/current limits, fan power and temperature probes.
- Version
- 0.3.1
- License
- MIT
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone rushabhcodes/simple-usb-c-pd-peltier-driver # download the package files into ./simple-usb-c-pd-peltier-driver
tsci add rushabhcodes/simple-usb-c-pd-peltier-driver # add it to your project as @tsci/rushabhcodes.simple-usb-c-pd-peltier-driverIn 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/GRM32ER71E226KE15L.tsx
// Supplier footprint: tsci import C21397 --jlcpcb --use-exact-footprint; see docs/component-imports.json.
import type { CapacitorProps } from "@tscircuit/props"
export const GRM32ER71E226KE15L = (props: Omit<CapacitorProps, "capacitance">) => {
const { name = "C1", ...restProps } = props
return (
<capacitor
name={name}
capacitance="22uF"
supplierPartNumbers={{
"jlcpcb": [
"C21397"
]
}}
manufacturerPartNumber="GRM32ER71E226KE15L"
footprint={<footprint>
<smtpad portHints={["pin2", "neg"]} pcbX="1.517396mm" pcbY="0mm" width="1.634998mm" height="2.6999946mm" shape="rect" />
<smtpad portHints={["pin1", "pos"]} pcbX="-1.517396mm" pcbY="0mm" width="1.634998mm" height="2.6999946mm" shape="rect" />
<courtyardoutline outline={[{"x":-2.584895000000188,"y":1.599997300000041},{"x":2.584895000000074,"y":1.599997300000041},{"x":2.584895000000074,"y":-1.599997300000041},{"x":-2.584895000000188,"y":-1.599997300000041},{"x":-2.584895000000188,"y":1.599997300000041}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C21397.obj?uuid=0f62590f50b54fa48364a4157b2b6286",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C21397.step?uuid=0f62590f50b54fa48364a4157b2b6286",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: -1.25 },
}}
{...restProps}
/>
)
}