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

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

const pinLabels = {
  pin1: ["SW_OPEN"],
  pin2: ["DM_HOST"],
  pin3: ["DP_HOST"],
  pin4: ["CHG_AL_N"],
  pin5: ["GOOD_BAT"],
  pin6: ["GND"],
  pin7: ["DP_CON"],
  pin8: ["DM_CON"],
  pin9: ["VBUS"],
  pin10: ["CHG_DET"]
} as const

const pinAttributes = {
  pin6: {requiresGround: true},
  pin9: {requiresPower: true}
} as const

export const BQ24392RSER = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C128408"
  ]
}}
      manufacturerPartNumber="BQ24392RSER"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.74803mm" pcbY="-0.64008mm" width="0.2999994mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.247904mm" pcbY="-0.64008mm" width="0.2500122mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.251968mm" pcbY="-0.64008mm" width="0.2500122mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.752094mm" pcbY="-0.64008mm" width="0.2999994mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.860044mm" pcbY="0mm" width="0.6299962mm" height="0.350012mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.752094mm" pcbY="0.64008mm" width="0.2999994mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.251968mm" pcbY="0.64008mm" width="0.2500122mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.247904mm" pcbY="0.64008mm" width="0.2500122mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-0.74803mm" pcbY="0.64008mm" width="0.2999994mm" height="0.580009mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.860044mm" pcbY="-0.001524mm" width="0.6299962mm" height="0.350012mm" shape="rect" />
<silkscreenpath route={[{"x":1.399971800000003,"y":0.7499603999999636},{"x":1.3999972000000298,"y":-0.7500365999999303}]} />
<silkscreenpath route={[{"x":-1.399971800000003,"y":0.7499603999999636},{"x":-1.3999972000001435,"y":-0.7500365999999303}]} />
<silkscreenpath route={[{"x":-1.399971800000003,"y":0.7499603999999636},{"x":-1.129080799999997,"y":0.7499603999999636}]} />
<silkscreenpath route={[{"x":1.1331956000000218,"y":0.7499603999999636},{"x":1.399971800000003,"y":0.7499603999999636}]} />
<silkscreenpath route={[{"x":-1.3999972000001435,"y":-0.7500365999999303},{"x":-1.129080799999997,"y":-0.7500365999999303}]} />
<silkscreenpath route={[{"x":1.1331956000000218,"y":-0.7500365999999303},{"x":1.3999972000000298,"y":-0.7500365999999303}]} />
<silkscreencircle pcbX="-1.249934mm" pcbY="-1.249934mm" radius="0.020066mm" />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="1.9398mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.4250421000000415,"y":1.1800845000000209},{"x":1.4250421000000415,"y":1.1800845000000209},{"x":1.4250421000000415,"y":-1.1800845000000209},{"x":-1.4250421000000415,"y":-1.1800845000000209},{"x":-1.4250421000000415,"y":1.1800845000000209}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C128408.obj?uuid=4f2277a9b66e456d842c3e2575b0802b",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C128408.step?uuid=4f2277a9b66e456d842c3e2575b0802b",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0.01 },
      }}
      {...props}
    />
  )
}