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/BQ27427YZFR.tsx

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

const pinLabels = {
  pin1: ["GPOUT","A1"],
  pin2: ["BIN","B1"],
  pin3: ["VSS1","C1"],
  pin4: ["SDA","A2"],
  pin5: ["VSS2","B2"],
  pin6: ["SRX","C2"],
  pin7: ["SCL","A3"],
  pin8: ["VDD","B3"],
  pin9: ["BAT","C3"]
} as const

export const BQ27427YZFR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C6075475"
  ]
}}
      manufacturerPartNumber="BQ27427YZFR"
      footprint={<footprint>
        <smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin1"]} pcbX="-0.499999mm" pcbY="0.499999mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin2"]} pcbX="-0.499999mm" pcbY="0.000127mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin3"]} pcbX="-0.499999mm" pcbY="-0.499999mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin4"]} pcbX="0.000127mm" pcbY="0.499999mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin5"]} pcbX="0.000127mm" pcbY="0.000127mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin6"]} pcbX="0.000127mm" pcbY="-0.499999mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin7"]} pcbX="0.499999mm" pcbY="0.499999mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin8"]} pcbX="0.499999mm" pcbY="0.000127mm" radius="0.1200023mm" shape="circle" />
<smtpad solderMaskMargin={0.025} solderPasteMargin={0} portHints={["pin9"]} pcbX="0.499999mm" pcbY="-0.499999mm" radius="0.1200023mm" shape="circle" />
<silkscreenpath strokeWidth={0.15} route={[{"x":-0.8859774000000016,"y":0.8664955999998938},{"x":0.8864346000000296,"y":0.8664955999998938},{"x":0.8864346000000296,"y":-0.8658606000001328},{"x":-0.8859774000000016,"y":-0.8658606000001328},{"x":-0.8859774000000016,"y":0.8664955999998938}]} />
<silkscreencircle strokeWidth={0.15} pcbX="-1.286129mm" pcbY="0.499999mm" radius="0.100076mm" />
<courtyardoutline outline={[{"x":-1.6346810000000005,"y":1.1177909999998974},{"x":1.1259190000000672,"y":1.1177909999998974},{"x":1.1259190000000672,"y":-1.1094090000000278},{"x":-1.6346810000000005,"y":-1.1094090000000278},{"x":-1.6346810000000005,"y":1.1177909999998974}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6075475.obj?uuid=2ca51a507e444609a2e12240e03fe96e",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6075475.step?uuid=2ca51a507e444609a2e12240e03fe96e",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.000012700000070253736, y: -0.00008889999992334197, z: -0.26 },
      }}
      {...props}
    />
  )
}