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/RClamp0524P_TCT_MS.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"],
  pin5: ["pin5"],
  pin6: ["pin6"],
  pin7: ["pin7"],
  pin8: ["pin8"],
  pin9: ["pin9"],
  pin10: ["pin10"]
} as const

export const RClamp0524P_TCT_MS = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <schematicpath points={[{"x":-1.2,"y":0.1},{"x":-1.2,"y":0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-1.2,"y":0.4},{"x":-1.2,"y":0.5}]} strokeColor="#880000" />
          <schematicpath svgPath="M -1.06 0.2 L -1.2 0.4 L -1.34 0.2 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":-1.06,"y":0.4},{"x":-1.34,"y":0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-1.06,"y":-0.2},{"x":-1.34,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath svgPath="M -1.06 -0.4 L -1.2 -0.2 L -1.34 -0.4 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":-1.2,"y":-0.2},{"x":-1.2,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-1.2,"y":-0.5},{"x":-1.2,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.66,"y":-0.5},{"x":-0.66,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.66,"y":-0.2},{"x":-0.66,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath svgPath="M -0.52 -0.4 L -0.66 -0.2 L -0.8 -0.4 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":-0.52,"y":-0.2},{"x":-0.8,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.52,"y":0.4},{"x":-0.8,"y":0.4}]} strokeColor="#880000" />
          <schematicpath svgPath="M -0.52 0.2 L -0.66 0.4 L -0.8 0.2 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":-0.66,"y":0.4},{"x":-0.66,"y":0.5}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.66,"y":0.1},{"x":-0.66,"y":0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":1.06,"y":0.1},{"x":1.06,"y":0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":1.06,"y":0.4},{"x":1.06,"y":0.5}]} strokeColor="#880000" />
          <schematicpath svgPath="M 1.2 0.2 L 1.06 0.4 L 0.92 0.2 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":1.2,"y":0.4},{"x":0.92,"y":0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":1.2,"y":-0.2},{"x":0.92,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath svgPath="M 1.2 -0.4 L 1.06 -0.2 L 0.92 -0.4 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":1.06,"y":-0.2},{"x":1.06,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath points={[{"x":1.06,"y":-0.5},{"x":1.06,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":-0.5},{"x":0.52,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":-0.2},{"x":0.52,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath svgPath="M 0.66 -0.4 L 0.52 -0.2 L 0.38 -0.4 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":0.66,"y":-0.2},{"x":0.38,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.66,"y":0.4},{"x":0.38,"y":0.4}]} strokeColor="#880000" />
          <schematicpath svgPath="M 0.66 0.2 L 0.52 0.4 L 0.38 0.2 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":0.4},{"x":0.52,"y":0.5}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":0.1},{"x":0.52,"y":0.2}]} strokeColor="#880000" />
          <schematicrect schX={-0.04} schY={0.05} width={2.72} height={1.3} color="#880000" />
          <schematicpath points={[{"x":-1.2,"y":-0.5},{"x":1.06,"y":-0.5}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-1.2,"y":0.5},{"x":-1.2,"y":0.6},{"x":1.06,"y":0.6},{"x":1.06,"y":0.5}]} strokeColor="#880000" />
          <schematicpath svgPath="M -0.04 0 L -0.18 0.2 L -0.32 0 Z" strokeColor="#880000" />
          <schematicpath points={[{"x":-0.04,"y":0.2},{"x":-0.32,"y":0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.18,"y":0.2},{"x":-0.18,"y":0.3}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.18,"y":-0.1},{"x":-0.18,"y":0}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.04,"y":0.2},{"x":-0.02,"y":0.22}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.32,"y":0.2},{"x":-0.34,"y":0.18}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-1.2,"y":-0.1},{"x":-1.2,"y":0.1}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.66,"y":0.1},{"x":-0.66,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.18,"y":0.3},{"x":-0.18,"y":0.6}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.18,"y":-0.1},{"x":-0.18,"y":-0.5}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":0.6},{"x":0.52,"y":0.5}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":0.1},{"x":0.52,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath points={[{"x":1.06,"y":0.1},{"x":1.06,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-1.2,"y":0},{"x":-1,"y":0},{"x":-1,"y":-0.6}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.66,"y":0},{"x":-0.46,"y":0},{"x":-0.46,"y":-0.6}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.52,"y":0},{"x":0.7,"y":0},{"x":0.7,"y":-0.6}]} strokeColor="#880000" />
          <schematicpath points={[{"x":1.06,"y":0},{"x":1.26,"y":0},{"x":1.26,"y":-0.6}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.1,"y":0.7},{"x":0.1,"y":-0.6}]} strokeColor="#880000" />
          <schematiccircle center={{ x: -0.66, y: -0.5 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: -1.2, y: -0.5 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: 0.1, y: -0.5 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: 0.52, y: -0.5 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: 1.06, y: -0.5 }} radius={0.01} color="#880000" />
          <schematicpath points={[{"x":-0.66,"y":0.5},{"x":-0.66,"y":0.6}]} strokeColor="#880000" />
          <schematiccircle center={{ x: -0.66, y: 0.6 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: -1.2, y: 0.6 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: -0.18, y: 0.6 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: 0.52, y: 0.6 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: 1.06, y: 0.6 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: -0.18, y: -0.5 }} radius={0.01} color="#880000" />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="down" schX={-1} schY={-0.8} schStemLength={0.2} />
          <port name="pin2" pinNumber={2} aliases={["2"]} direction="down" schX={-0.46} schY={-0.8} schStemLength={0.2} />
          <port name="pin3" pinNumber={3} aliases={["3"]} direction="down" schX={0.1} schY={-0.8} schStemLength={0.2} />
          <port name="pin4" pinNumber={4} aliases={["4"]} direction="down" schX={0.7} schY={-0.8} schStemLength={0.2} />
          <port name="pin5" pinNumber={5} aliases={["5"]} direction="down" schX={1.26} schY={-0.8} schStemLength={0.2} />
          <port name="pin6" pinNumber={6} aliases={["6"]} direction="up" schX={1.26} schY={0.9} schStemLength={0.2} />
          <port name="pin7" pinNumber={7} aliases={["7"]} direction="up" schX={0.7} schY={0.9} schStemLength={0.2} />
          <port name="pin8" pinNumber={8} aliases={["8"]} direction="up" schX={0.1} schY={0.9} schStemLength={0.2} />
          <port name="pin9" pinNumber={9} aliases={["9"]} direction="up" schX={-0.42} schY={0.9} schStemLength={0.2} />
          <port name="pin10" pinNumber={10} aliases={["10"]} direction="up" schX={-1} schY={0.9} schStemLength={0.2} />
          <schematiccircle center={{ x: 1.06, y: 0 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: 0.52, y: 0 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: -0.66, y: 0 }} radius={0.01} color="#880000" />
          <schematiccircle center={{ x: -1.2, y: 0 }} radius={0.01} color="#880000" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C3008054"
  ]
}}
      manufacturerPartNumber="RClamp0524P.TCT-MS"
      footprint={<footprint>
        <smtpad portHints={["pin6"]} pcbX="0.999998mm" pcbY="0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.500126mm" pcbY="0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="0mm" pcbY="0.3999992mm" width="0.3999992mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-0.499872mm" pcbY="0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.999998mm" pcbY="0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.999998mm" pcbY="-0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.500126mm" pcbY="-0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0mm" pcbY="-0.3999992mm" width="0.3999992mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.499872mm" pcbY="-0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.999998mm" pcbY="-0.3999992mm" width="0.1999996mm" height="0.5649976mm" shape="rect" />
<silkscreenpath route={[{"x":-1.3261847999999645,"y":-0.5762243999998873},{"x":-1.3261847999999645,"y":0.576224400000001}]} />
<silkscreenpath route={[{"x":1.3261848000000782,"y":0.576224400000001},{"x":1.3261848000000782,"y":-0.5762243999998873}]} />
<silkscreenpath route={[{"x":-0.8999219999999468,"y":-1.019047999999998},{"x":-0.9033320070083164,"y":-1.044949574757652},{"x":-0.9133296416908934,"y":-1.069086000000084},{"x":-0.9292335817659705,"y":-1.0898124182340325},{"x":-0.9499600000000328,"y":-1.1057163583091096},{"x":-0.9740964252422373,"y":-1.1157139929916866},{"x":-0.9999979999998914,"y":-1.1191239999999425},{"x":-1.0258995747575455,"y":-1.1157139929916866},{"x":-1.050036000000091,"y":-1.1057163583091096},{"x":-1.070762418233926,"y":-1.0898124182340325},{"x":-1.086666358309003,"y":-1.069086000000084},{"x":-1.09666399299158,"y":-1.044949574757652},{"x":-1.100073999999836,"y":-1.019047999999998},{"x":-1.09666399299158,"y":-0.9931464252423439},{"x":-1.086666358309003,"y":-0.9690100000000257},{"x":-1.070762418233926,"y":-0.9482835817659634},{"x":-1.050036000000091,"y":-0.9323796416908863},{"x":-1.0258995747575455,"y":-0.9223820070083093},{"x":-0.9999979999998914,"y":-0.9189720000000534},{"x":-0.9740964252422373,"y":-0.9223820070083093},{"x":-0.9499600000000328,"y":-0.9323796416908863},{"x":-0.9292335817659705,"y":-0.9482835817659634},{"x":-0.9133296416908934,"y":-0.9690100000000257},{"x":-0.9033320070083164,"y":-0.9931464252423439},{"x":-0.8999219999999468,"y":-1.019047999999998}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="1.6858mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.5707999999998492,"y":0.935799999999972},{"x":1.570799999999963,"y":0.935799999999972},{"x":1.570799999999963,"y":-1.3676000000000386},{"x":-1.5707999999998492,"y":-1.3676000000000386},{"x":-1.5707999999998492,"y":0.935799999999972}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3008054.obj?uuid=df0eca6a71854020b6cf420855c3797f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3008054.step?uuid=df0eca6a71854020b6cf420855c3797f",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: 0.000012700000070253736, y: 0.000012699999956566899, z: 0 },
      }}
      {...props}
    />
  )
}