tscircuit/rv1106g2-breakout

This code defines a set of PCB components and their footprints, including connecters, chips, resistors, capacitors, and other hardware parts, for assembling a Core1106-based circuit board with detailed pinouts, footprints, and 3D models.

Version
1.0.2
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone tscircuit/rv1106g2-breakout  # download the package files into ./rv1106g2-breakout
tsci add tscircuit/rv1106g2-breakout    # add it to your project as @tsci/tscircuit.rv1106g2-breakout

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

imports/ESD5Z5V0.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["C"],
  pin2: ["A"]
} as const

export const ESD5Z5V0 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <port name="pin2" pinNumber={2} aliases={["A"]} direction="right" schX={0.8} schY={0} schStemLength={0.4} />
          <port name="pin1" pinNumber={1} aliases={["C"]} direction="left" schX={-0.8} schY={0} schStemLength={0.4} />
          <schematicpath points={[{"x":-0.4,"y":0.22},{"x":-0.3,"y":0.12},{"x":-0.3,"y":-0.12},{"x":-0.2,"y":-0.22}]} strokeColor="#880000" />
          <schematicpath svgPath="M 0.3 -0.16 L -0.3 0 L 0.3 0.18 Z" strokeColor="#880000" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C502546"
  ]
}}
      manufacturerPartNumber="ESD5Z5V0"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} points={[{x: "-1.016mm", y: "0.2463038mm"}, {x: "-0.4064mm", y: "0.2463038mm"}, {x: "-0.4064mm", y: "-0.2362962mm"}, {x: "-1.016mm", y: "-0.2362962mm"}]} shape="polygon" />
<smtpad portHints={["pin2"]} points={[{x: "0.4064mm", y: "0.2362962mm"}, {x: "1.016mm", y: "0.2362962mm"}, {x: "1.016mm", y: "-0.2463038mm"}, {x: "0.4064mm", y: "-0.2463038mm"}]} shape="polygon" />
<silkscreenpath route={[{"x":0.6602730000000037,"y":-0.3261614000000037},{"x":0.6602730000000037,"y":-0.43185080000000653},{"x":-0.6605270000000019,"y":-0.43185080000000653},{"x":-0.6603999999999814,"y":-0.43180000000000973}]} />
<silkscreenpath route={[{"x":-0.6603999999999814,"y":0.4317999999999955},{"x":-0.6603999999999814,"y":0.4317999999999955},{"x":0.6604000000000099,"y":0.4317999999999955},{"x":0.6604000000000099,"y":0.3301999999999907}]} />
<silkscreentext text="{NAME}" pcbX="-0.000127mm" pcbY="1.4866386mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.2661269999999973,"y":0.736638599999992},{"x":1.2658730000000133,"y":0.736638599999992},{"x":1.2658730000000133,"y":-0.728561400000018},{"x":-1.2661269999999973,"y":-0.728561400000018},{"x":-1.2661269999999973,"y":0.736638599999992}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C502546.obj?uuid=84cf6c2b182949329e473e9158b1fb00",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C502546.step?uuid=84cf6c2b182949329e473e9158b1fb00",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.0040386000000012245, z: 0 },
      }}
      {...props}
    />
  )
}