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

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

const pinLabels = {
  pin1: ["VIN"],
  pin2: ["GND"],
  pin3: ["EN"],
  pin4: ["NC"],
  pin5: ["VOUT"]
} as const

export const AP2112K_1_8TRG1 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C176944"
  ]
}}
      manufacturerPartNumber="AP2112K-1.8TRG1"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.94996mm" pcbY="-1.299972mm" width="0.499999mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0mm" pcbY="-1.299972mm" width="0.499999mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.94996mm" pcbY="-1.299972mm" width="0.499999mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.94996mm" pcbY="1.299972mm" width="0.499999mm" height="0.8999982mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-0.94996mm" pcbY="1.299972mm" width="0.499999mm" height="0.8999982mm" shape="rect" />
<silkscreenpath route={[{"x":-1.4500097999999753,"y":-0.8000237999999626},{"x":-1.4500097999999753,"y":0.7999983999999358}]} />
<silkscreenpath route={[{"x":1.450009800000089,"y":-0.8000237999999626},{"x":1.450009800000089,"y":0.7999983999999358}]} />
<silkscreenpath route={[{"x":1.450009800000089,"y":0.7999983999999358},{"x":1.425625800000148,"y":0.7999983999999358}]} />
<silkscreenpath route={[{"x":0.4744212000000516,"y":0.7999983999999358},{"x":-0.47437039999999797,"y":0.7999983999999358}]} />
<silkscreenpath route={[{"x":-1.4255749999999807,"y":0.7999983999999358},{"x":-1.4500097999999753,"y":0.7999983999999358}]} />
<silkscreenpath route={[{"x":-1.4500097999999753,"y":-0.8000237999999626},{"x":-1.4255749999999807,"y":-0.8000237999999626}]} />
<silkscreenpath route={[{"x":1.425625800000148,"y":-0.8000237999999626},{"x":1.450009800000089,"y":-0.8000237999999626}]} />
<silkscreenpath route={[{"x":-1.5239999999998872,"y":-1.2700000000000955},{"x":-1.5283274200611459,"y":-1.302870018728072},{"x":-1.5410147737194393,"y":-1.3335000000000719},{"x":-1.561197438789236,"y":-1.3598025612106994},{"x":-1.5874999999998636,"y":-1.3799852262807235},{"x":-1.6181299812719772,"y":-1.3926725799387896},{"x":-1.6510000000000673,"y":-1.3970000000000482},{"x":-1.68387001872793,"y":-1.3926725799387896},{"x":-1.7145000000000437,"y":-1.3799852262807235},{"x":-1.7408025612106712,"y":-1.3598025612106994},{"x":-1.7609852262805816,"y":-1.3335000000000719},{"x":-1.7736725799386477,"y":-1.302870018728072},{"x":-1.77800000000002,"y":-1.2700000000000955},{"x":-1.7736725799386477,"y":-1.237129981272119},{"x":-1.7609852262805816,"y":-1.2065000000000055},{"x":-1.7408025612106712,"y":-1.1801974387893779},{"x":-1.7145000000000437,"y":-1.1600147737195812},{"x":-1.68387001872793,"y":-1.1473274200612877},{"x":-1.6510000000000673,"y":-1.143000000000029},{"x":-1.6181299812719772,"y":-1.1473274200612877},{"x":-1.5874999999998636,"y":-1.1600147737195812},{"x":-1.561197438789236,"y":-1.1801974387893779},{"x":-1.5410147737194393,"y":-1.2065000000000055},{"x":-1.5283274200611459,"y":-1.237129981272119},{"x":-1.5239999999998872,"y":-1.2700000000000955}]} />
<silkscreentext text="{NAME}" pcbX="-0.1397mm" pcbY="2.7526mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.02800000000002,"y":2.002599999999916},{"x":1.748600000000124,"y":2.002599999999916},{"x":1.748600000000124,"y":-2.002600000000143},{"x":-2.02800000000002,"y":-2.002600000000143},{"x":-2.02800000000002,"y":2.002599999999916}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C176944.obj?uuid=a96fadd2d8f74c3887edfda2104d5d81",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C176944.step?uuid=a96fadd2d8f74c3887edfda2104d5d81",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.000012699999842880061, y: 0, z: -0.148939 },
      }}
      {...props}
    />
  )
}