MustafaMulla29/bluetooth-connected-pedometer
It defines a PCB footprint and schematic symbol for a row of solder pads used as wire connection points, featuring customizable spacing and label annotations.
- Version
- 0.3.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone MustafaMulla29/bluetooth-connected-pedometer # download the package files into ./bluetooth-connected-pedometer
tsci add MustafaMulla29/bluetooth-connected-pedometer # add it to your project as @tsci/MustafaMulla29.bluetooth-connected-pedometerIn 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/TS_1088_AR02016.tsx
import type { PushButtonProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const TS_1088_AR02016 = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C720477"
]
}}
manufacturerPartNumber="TS-1088-AR02016"
footprint={<footprint>
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin1"]} pcbX="-2.184908mm" pcbY="0mm" width="1.229995mm" height="1.8599912mm" shape="rect" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin2"]} pcbX="2.184908mm" pcbY="0mm" width="1.229995mm" height="1.8599912mm" shape="rect" />
<silkscreenpath strokeWidth={0.15} route={[{"x":-2.026208800000063,"y":1.5411958000000823},{"x":-2.026208800000063,"y":1.1101323999999977}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":-2.026208800000063,"y":-1.5411957999999686},{"x":-2.026208800000063,"y":-1.1101324000001114}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":2.0262087999999494,"y":-1.1101324000001114},{"x":2.0262087999999494,"y":-1.5411957999999686}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":2.0262087999999494,"y":1.5411958000000823},{"x":2.0262087999999494,"y":1.1101323999999977}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":2.0262087999999494,"y":1.5411958000000823},{"x":-2.026208800000063,"y":1.5411958000000823}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":2.0262087999999494,"y":-1.5411957999999686},{"x":-2.026208800000063,"y":-1.5411957999999686}]} />
<silkscreencircle strokeWidth={0.15} pcbX="0mm" pcbY="0mm" radius="0.899922mm" />
<courtyardoutline outline={[{"x":-3.0439999999999827,"y":1.7994000000001051},{"x":3.043999999999869,"y":1.7994000000001051},{"x":3.043999999999869,"y":-1.774000000000001},{"x":-3.0439999999999827,"y":-1.774000000000001},{"x":-3.0439999999999827,"y":1.7994000000001051}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C720477.obj?uuid=2e35dca8e7854ed683469f8d54d1ef17",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C720477.step?uuid=2e35dca8e7854ed683469f8d54d1ef17",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: 0 },
}}
{...restProps}
/>
)
}