aj0070/scope-frontend
A 4-layer dual-channel oscilloscope analog front end with BNC inputs, relay-selectable AC/DC coupling and attenuation, FET buffers, programmable VGAs, differential ADC drivers, dual 8-bit ADCs with 25 MHz clock, power conversion/LDOs, and control/data headers.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/scope-frontend # download the package files into ./scope-frontend
tsci add aj0070/scope-frontend # add it to your project as @tsci/aj0070.scope-frontendIn 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/G6K_2F_Y_TR_DC5.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"]
} as const
export const G6K_2F_Y_TR_DC5 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicpath points={[{"x":-0.6,"y":0.4},{"x":-0.6,"y":0.1}]} strokeColor="#000000" />
<schematicrect schX={-0.6} schY={0.05} width={0.2} height={0.1} strokeWidth={0.02} color="#000000" />
<schematicpath points={[{"x":-0.6,"y":0},{"x":-0.6,"y":-0.3}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.4,"y":-0.3},{"x":-0.4,"y":-0.1},{"x":0.1,"y":-0.1},{"x":0,"y":-0.06}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.1,"y":-0.1},{"x":0,"y":-0.14}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.1,"y":0},{"x":0.2,"y":-0.2},{"x":0.2,"y":-0.3}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.4,"y":0.4},{"x":-0.4,"y":0.2},{"x":0.1,"y":0.2},{"x":0,"y":0.24}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.1,"y":0.1},{"x":0.2,"y":0.3},{"x":0.2,"y":0.4}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.8,"y":0.4},{"x":0.8,"y":0.2},{"x":0.3,"y":0.2},{"x":0.4,"y":0.16}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.3,"y":0.2},{"x":0.4,"y":0.24}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.8,"y":-0.3},{"x":0.8,"y":-0.1},{"x":0.3,"y":-0.1},{"x":0.4,"y":-0.14}]} strokeColor="#000000" />
<schematicpath points={[{"x":0.3,"y":-0.1},{"x":0.4,"y":-0.06}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.56,"y":-0.14},{"x":-0.48,"y":-0.14}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.52,"y":-0.18},{"x":-0.52,"y":-0.1}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.56,"y":0.24},{"x":-0.48,"y":0.24}]} strokeColor="#000000" />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="down" schX={-0.6} schY={-0.7} schStemLength={0.4} />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="down" schX={-0.4} schY={-0.7} schStemLength={0.4} />
<port name="pin3" pinNumber={3} aliases={["3"]} direction="down" schX={0.2} schY={-0.7} schStemLength={0.4} />
<port name="pin4" pinNumber={4} aliases={["4"]} direction="down" schX={0.8} schY={-0.7} schStemLength={0.4} />
<port name="pin5" pinNumber={5} aliases={["5"]} direction="up" schX={0.8} schY={0.8} schStemLength={0.4} />
<port name="pin6" pinNumber={6} aliases={["6"]} direction="up" schX={0.2} schY={0.8} schStemLength={0.4} />
<port name="pin7" pinNumber={7} aliases={["7"]} direction="up" schX={-0.4} schY={0.8} schStemLength={0.4} />
<port name="pin8" pinNumber={8} aliases={["8"]} direction="up" schX={-0.6} schY={0.8} schStemLength={0.4} />
<schematiccircle center={{ x: -0.9, y: 0.06 }} radius={0.3} strokeWidth={0.02} color="#000000" />
<schematicpath points={[{"x":-0.94,"y":0.24},{"x":-0.86,"y":0.24}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.92,"y":0.3},{"x":-0.88,"y":0.3}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":0.18},{"x":-0.86,"y":0.18}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":0.12},{"x":-0.86,"y":0.12}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":0.08},{"x":-0.86,"y":0.08}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":0.04},{"x":-0.86,"y":0.04}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":-0.02},{"x":-0.86,"y":-0.02}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":-0.08},{"x":-0.86,"y":-0.08}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.94,"y":-0.12},{"x":-0.86,"y":-0.12}]} strokeColor="#000000" />
<schematicpath points={[{"x":-0.92,"y":-0.18},{"x":-0.88,"y":-0.18}]} strokeColor="#000000" />
<schematicrect schX={0} schY={0.05} width={2} height={0.7} strokeWidth={0.02} color="#000000" />
<schematicpath points={[{"x":0.1,"y":0.2},{"x":0,"y":0.16}]} strokeColor="#000000" />
<schematictext schX={0} schY={1.04} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C47190"
]
}}
manufacturerPartNumber="G6K-2F-Y-TR DC5"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-3.799967mm" pcbY="-3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.600075mm" pcbY="-3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="1.600073mm" pcbY="-3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="3.799967mm" pcbY="-3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="3.799967mm" pcbY="3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.600073mm" pcbY="3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.600075mm" pcbY="3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-3.799967mm" pcbY="3.5100006mm" width="0.999998mm" height="2.0999958mm" shape="rect" />
<silkscreenpath route={[{"x":-5.020183000000017,"y":3.2600900000000053},{"x":-5.020183000000017,"y":-3.240023999999991}]} />
<silkscreenpath route={[{"x":4.999863000000005,"y":3.269996000000006},{"x":4.999863000000005,"y":-3.2301180000000045}]} />
<silkscreenpath route={[{"x":-4.513706999999997,"y":1.1953239999999994},{"x":-4.513706999999997,"y":-1.294637999999992}]} />
<silkscreenpath route={[{"x":-3.7037010000000095,"y":-1.3545820000000077},{"x":-3.7037010000000095,"y":1.1953239999999994}]} />
<silkscreenpath route={[{"x":-4.510150999999993,"y":1.1099800000000073},{"x":-3.760089000000008,"y":1.1099800000000073},{"x":-3.730117000000007,"y":1.1399519999999939}]} />
<silkscreenpath route={[{"x":-4.480178999999993,"y":0.4800599999999946},{"x":-3.730117000000007,"y":0.4800599999999946}]} />
<silkscreenpath route={[{"x":-4.510150999999993,"y":-0.18008600000000285},{"x":-3.730117000000007,"y":-0.18008600000000285}]} />
<silkscreenpath route={[{"x":-4.510150999999993,"y":-0.8100060000000013},{"x":-3.730117000000007,"y":-0.8100060000000013}]} />
<silkscreenpath route={[{"x":-4.510150999999993,"y":-1.3500099999999975},{"x":-4.510150999999993,"y":-1.3200379999999967},{"x":-3.760089000000008,"y":-1.3200379999999967},{"x":-3.730117000000007,"y":-1.3200379999999967}]} />
<silkscreenpath route={[{"x":-5.020183000000017,"y":3.2600900000000053},{"x":-4.531131400000007,"y":3.2600900000000053}]} />
<silkscreenpath route={[{"x":-3.068853400000009,"y":3.2600900000000053},{"x":-1.3311378000000076,"y":3.2600900000000053}]} />
<silkscreenpath route={[{"x":0.13114020000000437,"y":3.2600900000000053},{"x":0.8688578000000007,"y":3.2600900000000053}]} />
<silkscreenpath route={[{"x":2.3311357999999984,"y":3.2600900000000053},{"x":3.0688533999999947,"y":3.2600900000000053}]} />
<silkscreenpath route={[{"x":4.5311313999999925,"y":3.2600900000000053},{"x":4.999863000000005,"y":3.2600900000000053}]} />
<silkscreenpath route={[{"x":-5.020183000000017,"y":-3.240023999999991},{"x":-4.531131400000007,"y":-3.240023999999991}]} />
<silkscreenpath route={[{"x":-3.068853400000009,"y":-3.240023999999991},{"x":-1.3311378000000076,"y":-3.240023999999991}]} />
<silkscreenpath route={[{"x":0.13114020000000437,"y":-3.240023999999991},{"x":0.8688578000000007,"y":-3.240023999999991}]} />
<silkscreenpath route={[{"x":2.3311357999999984,"y":-3.240023999999991},{"x":3.0688533999999947,"y":-3.240023999999991}]} />
<silkscreenpath route={[{"x":4.5311313999999925,"y":-3.240023999999991},{"x":4.999863000000005,"y":-3.240023999999991}]} />
<silkscreenpath route={[{"x":-4.508627000000004,"y":1.2319000000000102},{"x":-3.6983670000000046,"y":1.2319000000000102}]} />
<silkscreenpath route={[{"x":-3.6983669999999904,"y":-1.3538199999999847},{"x":-3.7850400662151316,"y":-1.5875638188879009},{"x":-3.9921040090758027,"y":-1.7263907501455833},{"x":-4.24125172195339,"y":-1.7177994497015305},{"x":-4.438260926217083,"y":-1.565038961646465},{"x":-4.508627000000004,"y":-1.325879999999998}]} />
<silkscreentext text="{NAME}" pcbX="-0.025527mm" pcbY="5.572mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.2599976000000055,"y":4.809998499999992},{"x":5.239982399999988,"y":4.809998499999992},{"x":5.239982399999988,"y":-4.809998499999992},{"x":-5.2599976000000055,"y":-4.809998499999992},{"x":-5.2599976000000055,"y":4.809998499999992}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C47190.obj?uuid=0806ec17d863463db74fec66bbaf2af8",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C47190.step?uuid=0806ec17d863463db74fec66bbaf2af8",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.010007599999994454, y: 0, z: -0.175 },
}}
{...props}
/>
)
}