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/RT9013_33GB.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["VIN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["NC"],
pin5: ["VOUT"],
} as const
export const RT9013_33GB = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C47773"],
}}
manufacturerPartNumber="RT9013_33GB"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-0.9499599999999191mm"
pcbY="-1.1581701499999326mm"
width="0.48999139999999997mm"
height="1.1569954mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="0mm"
pcbY="-1.1581701499999326mm"
width="0.48999139999999997mm"
height="1.1569954mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="0.9499599999998054mm"
pcbY="-1.1581701499999326mm"
width="0.48999139999999997mm"
height="1.1569954mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="0.9499599999998054mm"
pcbY="1.1491658500000312mm"
width="0.48999139999999997mm"
height="1.1750040000000002mm"
shape="rect"
/>
<smtpad
portHints={["pin5"]}
pcbX="-0.9499599999999191mm"
pcbY="1.1491658500000312mm"
width="0.48999139999999997mm"
height="1.1750040000000002mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -1.5262098000000606, y: -0.8557069500000125 },
{ x: -1.5262098000000606, y: 0.8467026499999974 },
]}
/>
<silkscreenpath
route={[
{ x: 1.5262097999998332, y: -0.8557069500000125 },
{ x: 1.5262097999998332, y: 0.8467026499999974 },
]}
/>
<silkscreenpath
route={[
{ x: 0.4764023999998699, y: 0.8467026499999974 },
{ x: -0.4764023999999836, y: 0.8467026499999974 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/download?uuid=460193f9bf2d42e58cf3c2f675b07dc6&pn=C47773",
rotationOffset: { x: 0, y: 0, z: 90 },
positionOffset: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}