seveibar/rp2040-zero
This code defines a hardware schematic with discrete components and modules including voltage regulators, microcontroller (RP2040), flash memory, LEDs, crystal oscillator, and buttons, interconnected through specific pins and footprints for PCB layout.
Usage: To use the RP2040 component from the "@tsci/seveibar.rp2040-zero" package: 1. Import the component: ```tsx import { RP2040 } from "@tsci/seveibar.rp2040-zero/imports/RP2040" ``` 2. Use in a circuit: ```tsx <RP2040 name="U3" connections={{ // Connect pins to nets or other components GPIO0: "net.GPIO0", IOVDD1: "net.V3_3", GND: "net.GND" }} /> ``` Key details: - Supports 57 pins - Pins include GPIO, power, USB, crystal, and debug interfaces - Can be configured with various connections and pin mappings
- Version
- 0.0.18-pr6-2229c6f4
- License
- unset
- Stars
- 1
imports/ABM8_272_T3.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["XTAL1"],
pin2: ["GND1"],
pin3: ["XTAL2"],
pin4: ["GND2"],
} as const
export const ABM8_272_T3 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C20625731"],
}}
manufacturerPartNumber="ABM8_272_T3"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-1.1000739999999496mm"
pcbY="-0.850010999999995mm"
width="1.3999972mm"
height="1.1999975999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="1.1000739999999496mm"
pcbY="-0.850010999999995mm"
width="1.3999972mm"
height="1.1999975999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="1.1000739999999496mm"
pcbY="0.850010999999995mm"
width="1.3999972mm"
height="1.1999975999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="-1.1000739999999496mm"
pcbY="0.850010999999995mm"
width="1.3999972mm"
height="1.1999975999999999mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -2.028596400000083, y: -1.6784827999999834 },
{ x: -2.028596400000083, y: 1.678736800000138 },
{ x: 2.0285963999999694, y: 1.678736800000138 },
{ x: 2.0285963999999694, y: -1.6784827999999834 },
{ x: -2.028596400000083, y: -1.6784827999999834 },
]}
/>
<silkscreenpath
route={[
{ x: -2.257196399999998, y: -0.24988519999988057 },
{ x: -2.257196399999998, y: -1.9070827999998983 },
{ x: -0.39999920000002476, y: -1.9070827999998983 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/download?uuid=02485e56ba8d4732a26526d2983fc729&pn=C20625731",
rotationOffset: { x: 0, y: 0, z: 0 },
positionOffset: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}