seveibar/HS91L02W2C01

"A 4-pin HS91L02W2C01 I2C sensor or communication chip with plated through-hole mounting" The summary captures the key physical characteristics: pin count, specific component type, and mounting style, based on the pin labels (SCL/SDA suggesting I2C), the footprint, and the component details.

Usage: To import and use the HS91L02W2C01 component: 1. Import the component: ```tsx import { HS91L02W2C01 } from "@tsci/seveibar.HS91L02W2C01" ``` 2. Use in a circuit board: ```tsx <board> <HS91L02W2C01 name="U1" /> </board> ``` Available pins: - pin1: GND - pin2: VCC - pin3: SCL - pin4: SDA Supports positioning, naming, and tracing like other tscircuit components.

Version
0.0.1
License
unset
Stars
2

index.ts

PCBPCB preview for index.ts
SchematicSchematic preview for index.ts
import { createUseComponent } from "@tscircuit/core"
import type { CommonLayoutProps } from "@tscircuit/props"


const pinLabels = {
  "pin1": [
    "pin1",
    "GND"
  ],
  "pin2": [
    "pin2",
    "VCC"
  ],
  "pin3": [
    "pin3",
    "SCL"
  ],
  "pin4": [
    "pin4",
    "SDA"
  ]
} as const

interface Props extends CommonLayoutProps {
  name: string
}

export const HS91L02W2C01 = (props: Props) => {
  return (
    <chip
      {...props}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=9018832d564840e08b96db89bf75c8cc&pn=C5248081",
        rotationOffset: { x: 0, y: 0, z: 0 },
        positionOffset: { x: 16.05, y: 1.5, z: 0 },
      }}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C5248081"
  ]
}}
      manufacturerPartNumber="HS91L02W2C01"
      footprint={<footprint>
        <platedhole  portHints={["pin1"]} pcbX="0mm" pcbY="-3.8099999999999454mm" outerDiameter="1.5999967999999998mm" holeDiameter="0.9999979999999999mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="0mm" pcbY="-1.2699999999999818mm" outerDiameter="1.5999967999999998mm" holeDiameter="0.9999979999999999mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="0mm" pcbY="1.2699999999999818mm" outerDiameter="1.5999967999999998mm" holeDiameter="0.9999979999999999mm" shape="circle" />
<platedhole  portHints={["pin4"]} pcbX="0mm" pcbY="3.810000000000059mm" outerDiameter="1.5999967999999998mm" holeDiameter="0.9999979999999999mm" shape="circle" />
<silkscreenpath route={[{"x":-1.4999970000000076,"y":5.999987999999917},{"x":36.49992699999984,"y":5.999987999999917},{"x":36.49992699999984,"y":-5.999987999999917},{"x":-1.4999970000000076,"y":-5.999987999999917},{"x":-1.4999970000000076,"y":5.999987999999917}]} />
<silkscreentext text="1" pcbX="1.659127999999896mm" pcbY="-5.676899999999932mm" anchorAlignment="bottom_left" fontSize="2mm" />
      </footprint>}
    />
  )
}

export const useHS91L02W2C01 = createUseComponent(HS91L02W2C01, pinLabels)