seveibar/minimal-rp2040

This design features a Raspberry Pi RP2040 microcontroller with integrated decoupling capacitors, QSPI flash memory, crystal oscillator, and USB power circuitry, all mounted on a 65mm by 60mm four-layer PCB.

Usage: To import and use the RP2040 component in a tscircuit project: 1. Import the component: ```tsx import { RP2040 } from "@tsci/seveibar.minimal-rp2040" ``` 2. Use the component in a board: ```tsx <board> <RP2040 name="U3" pcbX={0} pcbY={0} connections={{ IOVDD1: "net.V3V3", // Add other required connections }} /> </board> ``` Key points: - Specify a name for the component - Set position using `pcbX` and `pcbY` - Define necessary network connections in the `connections` prop - Ensure proper power and ground connections

Version
1.0.1
License
unset
Stars
1

lib/Crystal.tsx

export const Crystal = () => (
  <>
    <crystal
      name="Y1"
      footprint="hc49"
      loadCapacitance="18pF"
      frequency="12MHz"
      pcbX={0}
      pcbY={-15}
      obstructsWithinBounds
      connections={{ pin1: "U3.XIN", pin2: "net.XOUT_CRYSTAL" }}
    />
    <capacitor
      name="C3"
      footprint="0402"
      capacitance="27pF"
      connections={{ pos: "Y1.pin2" }}
    />
  </>
)