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-breakoutIn 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/TSB019A2516A.tsx
import type { PushButtonProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const TSB019A2516A = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C2888681"
]
}}
manufacturerPartNumber="TSB019A2516A"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-3.250057mm" pcbY="0mm" width="1.499997mm" height="1.3999972mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="3.250057mm" pcbY="0mm" width="1.499997mm" height="1.3999972mm" shape="rect" />
<silkscreenpath route={[{"x":3.047949200000062,"y":0.9311385999999402},{"x":3.047949200000062,"y":1.99999600000001}]} />
<silkscreenpath route={[{"x":-3.000044799999955,"y":-0.9311385999999402},{"x":-3.000044799999955,"y":-2.0319999999999254},{"x":3.047949200000062,"y":-2.0319999999999254},{"x":3.047949200000062,"y":-0.9311385999999402}]} />
<silkscreenpath route={[{"x":-3.000044799999955,"y":1.99999600000001},{"x":-3.000044799999955,"y":0.9311385999999402}]} />
<silkscreenpath route={[{"x":-3.000044799999955,"y":1.99999600000001},{"x":2.9999431999999615,"y":1.99999600000001}]} />
<silkscreenpath route={[{"x":1.2571729999999661,"y":0},{"x":1.2143315413932214,"y":-0.3254131854073421},{"x":1.088726740178231,"y":-0.6286499999998796},{"x":0.8889183559857656,"y":-0.889045355985786},{"x":0.6285229999998592,"y":-1.0888537401781377},{"x":0.32528618540743537,"y":-1.2144585413931281},{"x":-0.00012700000002041634,"y":-1.2572999999999865},{"x":-0.3255401854073625,"y":-1.2144585413931281},{"x":-0.6287770000000137,"y":-1.0888537401781377},{"x":-0.8891723559858065,"y":-0.889045355985786},{"x":-1.0889807401781582,"y":-0.6286499999998796},{"x":-1.2145855413932622,"y":-0.3254131854073421},{"x":-1.257427000000007,"y":0},{"x":-1.2145855413932622,"y":0.3254131854074558},{"x":-1.0889807401781582,"y":0.6286499999999933},{"x":-0.8891723559858065,"y":0.8890453559858997},{"x":-0.6287770000000137,"y":1.0888537401782514},{"x":-0.3255401854073625,"y":1.2144585413932418},{"x":-0.00012700000002041634,"y":1.2572999999999865},{"x":0.32528618540743537,"y":1.2144585413932418},{"x":0.6285229999998592,"y":1.0888537401782514},{"x":0.8889183559857656,"y":0.8890453559858997},{"x":1.088726740178231,"y":0.6286499999999933},{"x":1.2143315413932214,"y":0.3254131854074558},{"x":1.2571729999999661,"y":0}]} />
<silkscreentext text="{NAME}" pcbX="-0.011557mm" pcbY="3.0828mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.262057000000027,"y":2.33280000000002},{"x":4.238942999999949,"y":2.33280000000002},{"x":4.238942999999949,"y":-2.3582000000000107},{"x":-4.262057000000027,"y":-2.3582000000000107},{"x":-4.262057000000027,"y":2.33280000000002}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2888681.obj?uuid=f355582ef8484685ba62d47a5f7aec55",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2888681.step?uuid=f355582ef8484685ba62d47a5f7aec55",
pcbRotationOffset: 0,
modelOriginPosition: { x: 2.9995904000000375, y: 2.015989300000001, z: -1.7 },
}}
{...restProps}
/>
)
}