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/CC0603KRX7R8BB105.tsx
// Supplier footprint: tsci import C106858 --jlcpcb --use-exact-footprint; see docs/component-imports.json.
import type { CapacitorProps } from "@tscircuit/props"
export const CC0603KRX7R8BB105 = (props: Omit<CapacitorProps, "capacitance">) => {
const { name = "C1", ...restProps } = props
return (
<capacitor
name={name}
capacitance="1uF"
supplierPartNumbers={{
"jlcpcb": [
"C106858"
]
}}
manufacturerPartNumber="CC0603KRX7R8BB105"
footprint={<footprint>
<smtpad portHints={["pin2", "neg"]} pcbX="0.700024mm" pcbY="0mm" width="0.7999984mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin1", "pos"]} pcbX="-0.700024mm" pcbY="0mm" width="0.7999984mm" height="0.8999982mm" shape="rect" />
<courtyardoutline outline={[{"x":-1.3500232000000096,"y":0.6999991000000136},{"x":1.350023199999896,"y":0.6999991000000136},{"x":1.350023199999896,"y":-0.6999991000000136},{"x":-1.3500232000000096,"y":-0.6999991000000136},{"x":-1.3500232000000096,"y":0.6999991000000136}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C106858.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C106858.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.4 },
}}
{...restProps}
/>
)
}