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
package.json
PCB
Schematic
{
"name": "@tsci/seveibar.rp2040-zero",
"version": "0.0.1",
"main": "index.tsx",
"keywords": [
"tscircuit"
],
"scripts": {
"dev": "tsci dev",
"build": "tsci build",
"snapshot": "tsci snapshot",
"snapshot:update": "tsci snapshot --update",
"start": "tsci dev",
"format": "biome format --write .",
"format:check": "biome format ."
},
"devDependencies": {
"@biomejs/biome": "^2.1.4",
"@tscircuit/core": "^0.0.859",
"@types/react": "^19.1.9",
"tscircuit": "^0.0.896"
},
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@tscircuit/builder": "^1.11.7",
"@tscircuit/common": "^0.0.22",
"@tscircuit/props": "^0.0.399",
"@tscircuit/schematic-viewer": "^2.0.48",
"circuit-json-to-gltf": "^0.0.37",
"circuit-json-to-spice": "^0.0.20",
"circuit-to-svg": "^0.0.265",
"esbuild": "^0.27.0",
"kicad-component-converter": "^0.1.31",
"poppygl": "^0.0.16",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.53.2",
"rollup-plugin-dts": "^6.2.3",
"rollup-plugin-esbuild": "^6.2.1",
"s-expression": "^3.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}