imrishabh18/boost-converter
This code defines a PCB schematic and 3D model layout focusing on a power conversion circuit with components like USB-C connector, MT3608 step-up regulator, inductor, diode, input/output capacitors, and resistors arranged on a double-layer PCB.
- Version
- 1.0.2
- License
- unset
- Stars
- 0
imports/Inductor.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const Inductor = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C167293"
]
}}
manufacturerPartNumber="A_0630CDMCCDS_220MC"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-3.034919mm" pcbY="0mm" width="2.350008mm" height="3.499993mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="3.034919mm" pcbY="0mm" width="2.350008mm" height="3.499993mm" shape="rect" />
<silkscreenpath route={[{"x":-3.499967599999991,"y":3.3000187999999753},{"x":3.5000184000000445,"y":3.2999933999999485}]} />
<silkscreenpath route={[{"x":-3.499967599999991,"y":-3.300018800000089},{"x":3.5000184000000445,"y":-3.2999933999999485}]} />
<silkscreenpath route={[{"x":-3.499967599999991,"y":3.3000187999999753},{"x":-3.499967599999991,"y":1.9811238000000913}]} />
<silkscreenpath route={[{"x":-3.499967599999991,"y":-1.9811492000000044},{"x":-3.499967599999991,"y":-3.300018800000089}]} />
<silkscreenpath route={[{"x":3.5000184000000445,"y":-3.2999933999999485},{"x":3.5000184000000445,"y":-1.9811492000000044}]} />
<silkscreenpath route={[{"x":3.5000184000000445,"y":1.9811491999998907},{"x":3.5000184000000445,"y":3.2999933999999485}]} />
<silkscreentext text="{NAME}" pcbX="-0.003683mm" pcbY="4.302mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.457382999999936,"y":3.552000000000021},{"x":4.4500170000000026,"y":3.552000000000021},{"x":4.4500170000000026,"y":-3.552000000000021},{"x":-4.457382999999936,"y":-3.552000000000021},{"x":-4.457382999999936,"y":3.552000000000021}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C167293.obj?uuid=46df42340ef3430fa12c5e85d24545d4",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C167293.step?uuid=46df42340ef3430fa12c5e85d24545d4",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.000025400000140507473, y: 0, z: -0.1 },
}}
{...props}
/>
)
}