muse/book-reading-clip-lamp

A Wi‑Fi/USB‑C ESP32‑S3 reading lamp with OV5640 camera, microphone, speaker amplifier, rechargeable Li‑Po power management, six-LED boost light, USB protection/charging detection, and a clip/gooseneck enclosure with external FlexPIFA antenna.

Version
0.4.3
License
unset
Stars
0

imports/SN74AXC8T245PWR.tsx

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

const pinLabels = {
  pin1: ["VCCA"],
  pin2: ["DIR1"],
  pin3: ["A1"],
  pin4: ["A2"],
  pin5: ["A3"],
  pin6: ["A4"],
  pin7: ["A5"],
  pin8: ["A6"],
  pin9: ["A7"],
  pin10: ["A8"],
  pin11: ["DIR2"],
  pin12: ["GND1"],
  pin13: ["GND2"],
  pin14: ["B8"],
  pin15: ["B7"],
  pin16: ["B6"],
  pin17: ["B5"],
  pin18: ["B4"],
  pin19: ["B3"],
  pin20: ["B2"],
  pin21: ["B1"],
  pin22: ["N_OE"],
  pin23: ["VCCB1"],
  pin24: ["VCCB2"]
} as const

const pinAttributes = {
  pin12: {requiresGround: true},
  pin13: {requiresGround: true}
} as const

export const SN74AXC8T245PWR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C882718"
  ]
}}
      manufacturerPartNumber="SN74AXC8T245PWR"
      footprint={<footprint>
        <smtpad portHints={["pin6"]} pcbX="-0.324866mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-0.974852mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.624838mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-2.274824mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-2.92481mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-3.574796mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.324866mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="3.574796mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="2.925064mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="2.275078mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="1.625092mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="0.975106mm" pcbY="-3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="-0.974852mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="-1.624838mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="-2.274824mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="-2.92481mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin24"]} pcbX="-3.574796mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="-0.324866mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="3.574796mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="2.925064mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="2.275078mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="1.625092mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="0.975106mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="0.324866mm" pcbY="3.0226mm" width="0.3999992mm" height="1.6500094mm" shape="rect" />
<silkscreenpath route={[{"x":3.937000000000012,"y":1.9049999999999727},{"x":3.937000000000012,"y":-1.9050000000000864}]} />
<silkscreenpath route={[{"x":-3.8862000000001444,"y":-1.7526000000000295},{"x":-3.8862000000001444,"y":-1.9050000000000864},{"x":3.937000000000012,"y":-1.9050000000000864}]} />
<silkscreenpath route={[{"x":-3.8862000000001444,"y":1.7526000000000295},{"x":-3.8862000000001444,"y":1.9049999999999727},{"x":3.937000000000012,"y":1.9049999999999727}]} />
<silkscreenpath route={[{"x":-3.8862000000001444,"y":0.48260000000004766},{"x":-3.8862000000001444,"y":1.7526000000000295}]} />
<silkscreenpath route={[{"x":-3.8862000000001444,"y":-1.7526000000000295},{"x":-3.8862000000001444,"y":-0.48260000000004766}]} />
<silkscreenpath route={[{"x":-3.8862000000001444,"y":0.4572000000001708},{"x":-3.8862000000001444,"y":-0.48260000000004766}]} />
<silkscreentext text="{NAME}" pcbX="-0mm" pcbY="4.8354mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.149992200000042,"y":4.0976047000000335},{"x":4.149992199999929,"y":4.0976047000000335},{"x":4.149992199999929,"y":-4.0976047000000335},{"x":-4.149992200000042,"y":-4.0976047000000335},{"x":-4.149992200000042,"y":4.0976047000000335}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C882718.obj?uuid=4564b07290534b8ea1373eede2664361",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C882718.step?uuid=4564b07290534b8ea1373eede2664361",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: 0, y: 0, z: -0.019205 },
      }}
      {...props}
    />
  )
}