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-pedometer

In 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/TPS7A0233PDBVR.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["IN"],
  pin2: ["GND"],
  pin3: ["EN"],
  pin4: ["NC"],
  pin5: ["OUT"]
} as const

const pinAttributes = {
  pin2: {requiresGround: true},
  pin4: {doNotConnect: true}
} as const

export const TPS7A0233PDBVR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2887324"
  ]
}}
      manufacturerPartNumber="TPS7A0233PDBVR"
      footprint={<footprint>
        <smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin2"]} pcbX="1.100074mm" pcbY="-0.000127mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin3"]} pcbX="1.100074mm" pcbY="0.949833mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin1"]} pcbX="1.100074mm" pcbY="-0.949833mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin4"]} pcbX="-1.100074mm" pcbY="0.950087mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin5"]} pcbX="-1.100074mm" pcbY="-0.950087mm" width="0.999998mm" height="0.5999988mm" shape="rect" />
<silkscreenpath strokeWidth={0.15} route={[{"x":-0.6984238000000005,"y":-1.523974599999974},{"x":0.6985507999999072,"y":-1.5240254000000277}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":-0.42237660000012056,"y":1.3969745999999077},{"x":0.42240199999992,"y":1.3969745999999077}]} />
<silkscreenpath strokeWidth={0.15} route={[{"x":-0.88894920000007,"y":-0.38097460000005867},{"x":-0.88894920000007,"y":0.38097460000005867}]} />
<silkscreencircle strokeWidth={0.15} pcbX="2.0099782mm" pcbY="-0.9602216mm" radius="0.150114mm" />
<courtyardoutline outline={[{"x":-1.8456280000000334,"y":1.6986889999999448},{"x":2.413571999999931,"y":1.6986889999999448},{"x":2.413571999999931,"y":-1.7731110000000854},{"x":-1.8456280000000334,"y":-1.7731110000000854},{"x":-1.8456280000000334,"y":1.6986889999999448}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2887324.obj?uuid=8c971aea3af54c53b74baeb1f489d393",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2887324.step?uuid=8c971aea3af54c53b74baeb1f489d393",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.000012699999956566899, y: 0.00006349999989652133, z: -0.7 },
      }}
      {...props}
    />
  )
}