ShiboSoftwareDev/clip-on-battery-meter-2

The code defines virtual representations of various electronic components—such as a BAT54WS Schottky diode and LM339 and LM393 voltage comparators—with physical pin configurations, footprints, and 3D models for PCB design.

Version
1.0.13
License
unset
Stars
0

imports/MY_18650_01.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin1_alt1"],
  pin3: ["pin1_alt1"]
} as const

export const MY_18650_01 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2979183"
  ]
}}
      manufacturerPartNumber="MY_18650_01"
      footprint={<footprint>
        <platedhole  portHints={["pin1"]} pcbX="-3.800094mm" pcbY="-0.000254mm" outerDiameter="2.7999944mm" holeDiameter="1.7999964mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="3.799078mm" pcbY="2.500122mm" outerDiameter="2.7999944mm" holeDiameter="1.7999964mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="3.800094mm" pcbY="-2.500122mm" outerDiameter="2.7999944mm" holeDiameter="1.7999964mm" shape="circle" />
<silkscreenpath route={[{"x":-3.9496237999999266,"y":-5.052440999999931},{"x":-7.398943799999984,"y":-5.052440999999931},{"x":-7.398943799999984,"y":5.049215200000162},{"x":-3.9496237999999266,"y":5.049215200000162},{"x":-3.9496237999999266,"y":4.650384400000007}]} />
<silkscreenpath route={[{"x":-3.9502080000000888,"y":-8.000390399999787},{"x":5.649950600000011,"y":-8.000390399999787},{"x":5.649950600000011,"y":7.999552200000039},{"x":-3.9502080000000888,"y":7.999552200000039},{"x":-3.9502080000000888,"y":1.5726918000000296}]} />
<silkscreenpath route={[{"x":-3.9502080000000888,"y":5.64959500000009},{"x":5.649950600000011,"y":5.64959500000009}]} />
<silkscreenpath route={[{"x":5.649950600000011,"y":-5.650306199999818},{"x":-3.9502080000000888,"y":-5.650306199999818}]} />
<silkscreenpath route={[{"x":-3.9502080000000888,"y":-1.5733013999999912},{"x":-3.9502080000000888,"y":-8.000390399999787}]} />
<silkscreenpath route={[{"x":-6.650024799999983,"y":-0.3311143999999331},{"x":-6.650024799999983,"y":-0.00030479999986710027}]} />
<silkscreenpath route={[{"x":-7.286523400000078,"y":1.5363190000000486},{"x":-7.300112400000103,"y":1.5498064000000795}]} />
<silkscreenpath route={[{"x":-6.650024799999983,"y":-0.00030479999986710027},{"x":-6.662231630608858,"y":0.2297616786911476},{"x":-6.698729859665605,"y":0.4572423825027272},{"x":-6.759109148290577,"y":0.6795798126307773},{"x":-6.842690669858939,"y":0.894274294588854},{"x":-6.948534741848562,"y":1.0989120813133013},{"x":-7.075451390415765,"y":1.291192490214712},{"x":-7.222013728921752,"y":1.4689537690763927},{"x":-7.38657400000011,"y":1.6301974000001564}]} />
<silkscreenpath route={[{"x":-7.3758298000000195,"y":-1.9725131999998666},{"x":-7.213384332989563,"y":-1.808495299503079},{"x":-7.068856260383541,"y":-1.6284896394132602},{"x":-6.943809482608913,"y":-1.4344440138406753},{"x":-6.8395970981025584,"y":-1.2284581396863814},{"x":-6.757346761787744,"y":-1.0127609361538816},{"x":-6.697948483015352,"y":-0.7896864061992801},{"x":-6.662044995005317,"y":-0.56164838089569},{"x":-6.650024799999983,"y":-0.3311143999999331}]} />
<silkscreentext text="{NAME}" pcbX="-0.817118mm" pcbY="9.026654mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-7.683817999999974,"y":8.276654000000008},{"x":6.0495820000001,"y":8.276654000000008},{"x":6.0495820000001,"y":-8.30154600000003},{"x":-7.683817999999974,"y":-8.30154600000003},{"x":-7.683817999999974,"y":8.276654000000008}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2979183.obj?uuid=a09c991dc89c485d9c560bc0749e2ab7",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2979183.step?uuid=a09c991dc89c485d9c560bc0749e2ab7",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -29.19819210000003, y: 0, z: -0.000005999999999950489 },
      }}
      {...props}
    />
  )
}