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/THS4522IPWR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["N_PD1"],
pin2: ["VIN1_POS"],
pin3: ["VIN1_NEG"],
pin4: ["VOCM1"],
pin5: ["N_PD2"],
pin6: ["VIN2_POS"],
pin7: ["VIN2_NEG"],
pin8: ["VOCM2"],
pin9: ["VS2_POS"],
pin10: ["VOUT2_POS"],
pin11: ["VOUT2_NEG"],
pin12: ["VS_NEG2"],
pin13: ["VS1_POS"],
pin14: ["VOUT1_POS"],
pin15: ["VOUT1_NEG"],
pin16: ["VS_NEG1"]
} as const
export const THS4522IPWR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C575549"
]
}}
manufacturerPartNumber="THS4522IPWR"
footprint="tssop16_p0.65mm_w4mm_pw0.343mm_pl1.7315mm_rounded0.1715mm_pin1location(leftside,bottom)"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C575549.obj?uuid=534f03d8fe164fbab551f91e5a792e30",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C575549.step?uuid=534f03d8fe164fbab551f91e5a792e30",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.00012700000002041634, y: 0, z: -0.019205 },
}}
{...props}
/>
)
}