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/SM08B_SRSS_TB_LF__SN_.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND"],
pin2: ["3V3"],
pin3: ["SCLK"],
pin4: ["MOSI"],
pin5: ["MISO"],
pin6: ["CS"],
pin7: ["DC"],
pin8: ["RESET"],
pin9: ["MP1"],
pin10: ["MP2"]
} as const
export const SM08B_SRSS_TB_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
return (
<connector standard="jst_sh" pinCount={8}
pinLabels={pinLabels}
pinAttributes={{
GND: { requiresGround: true },
"3V3": { requiresPower: true, requiresVoltage: "3.3V" },
SCLK: { capabilities: ["spi_sck"], activeCapability: "spi_sck" },
MOSI: { capabilities: ["spi_mosi"], activeCapability: "spi_mosi" },
MISO: { capabilities: ["spi_miso"], activeCapability: "spi_miso" },
CS: { capabilities: ["spi_cs"], activeCapability: "spi_cs" },
}}
supplierPartNumbers={{
"jlcpcb": [
"C160407"
]
}}
manufacturerPartNumber="SM08B-SRSS-TB(LF)(SN)"
footprint={<footprint insertionDirection="from_y_neg">
<smtpad portHints={["pin1"]} pcbX="-3.499866mm" pcbY="2.0500086mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-2.5019mm" pcbY="2.0499832mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.501902mm" pcbY="2.0499832mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.501904mm" pcbY="2.0499832mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.500126mm" pcbY="2.0500086mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.498092mm" pcbY="2.0499832mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="2.49809mm" pcbY="2.0499832mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="3.499866mm" pcbY="2.0500086mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="4.800092mm" pcbY="-1.8250154mm" width="1.499997mm" height="1.999996mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-4.800092mm" pcbY="-1.8250154mm" width="1.499997mm" height="1.999996mm" shape="rect" />
<silkscreenpath route={[{"x":-3.8800023999999667,"y":-2.7467306000000917},{"x":3.799992399999951,"y":-2.7467306000000917}]} />
<silkscreenpath route={[{"x":-4.059986800000047,"y":1.9732497999999623},{"x":-5.2599844000000076,"y":1.9732497999999623},{"x":-5.2599844000000076,"y":-0.566750200000115}]} />
<silkscreenpath route={[{"x":3.9800021999999444,"y":1.9332448000000113},{"x":5.219979400000057,"y":1.9332448000000113},{"x":5.219979400000057,"y":-0.6067298000000392}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="3.8374086mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.812599999999975,"y":3.0874086000000034},{"x":5.787199999999984,"y":3.0874086000000034},{"x":5.787199999999984,"y":-3.051391399999943},{"x":-5.812599999999975,"y":-3.051391399999943},{"x":-5.812599999999975,"y":3.0874086000000034}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160407.obj?uuid=122559110c8c4a46aac4f38cdd5e454e",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160407.step?uuid=122559110c8c4a46aac4f38cdd5e454e",
pcbRotationOffset: 0,
modelOriginPosition: { x: 3.5, y: 0.40673090000004786, z: -0.01 },
}}
{...props}
/>
)
}