muse/book-reading-clip-lamp

A 60‑mm ESP32‑S3 lamp-head PCB combining USB‑C battery charging/power regulation, OV5640 autofocus camera interfacing, I²S microphone and differential speaker audio, six‑LED boost-driven reading light, buttons, status indicators, and battery monitoring.

Version
0.2.5
License
unset
Stars
0

imports/XL_1608UOC_06.tsx

// Manufacturer datasheet page7: pin1=cathode on the marked left end.
// Correct the catalog pad-number reversal to agree with its silk/fab/CAD orientation.
import type { LedProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["cathode","neg"],
  pin2: ["anode","pos"]
} as const

export const XL_1608UOC_06 = (props: LedProps) => {
  const { name = "LED1", ...restProps } = props

  return (
    <led
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C965800"
  ]
}}
      manufacturerPartNumber="XL-1608UOC-06"
      footprint={<footprint>
        <smtpad portHints={["pin1","cathode","neg"]} pcbX="-0.8509mm" pcbY="0mm" width="0.7999984mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin2","anode","pos"]} pcbX="0.8509mm" pcbY="0mm" width="0.7999984mm" height="0.7999984mm" shape="rect" />
<silkscreenpath route={[{"x":1.7653000000000105,"y":-0.8636000000000053},{"x":1.7653000000000105,"y":0.8636000000000053}]} />
<silkscreenpath route={[{"x":1.7653000000000105,"y":0.8636000000000053},{"x":0.2921000000000049,"y":0.8636000000000053}]} />
<silkscreenpath route={[{"x":1.7653000000000105,"y":-0.8636000000000053},{"x":0.2921000000000049,"y":-0.8636000000000053}]} />
<silkscreenpath route={[{"x":-0.2920999999999907,"y":0.8636000000000053},{"x":-1.4604999999999961,"y":0.8636000000000053}]} />
<silkscreenpath route={[{"x":-0.31749999999999545,"y":-0.8636000000000053},{"x":-1.4604999999999961,"y":-0.8636000000000053}]} />
<silkscreenpath route={[{"x":-1.4604999999999961,"y":-0.8636000000000053},{"x":-1.8160999999999916,"y":-0.5079999999999956},{"x":-1.8160999999999916,"y":0.5080000000000098},{"x":-1.4604999999999961,"y":0.8636000000000053}]} />
<silkscreenpath route={[{"x":0.07620000000000005,"y":-0.406400000000005},{"x":0.07620000000000005,"y":0.3810000000000002}]} />
<silkscreenpath route={[{"x":0.07620000000000005,"y":-0.007950200000010454},{"x":-0.09916159999998797,"y":-0.007950200000010454}]} />
<silkscreentext text="{NAME}" pcbX="-0.0254mm" pcbY="1.8636mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":0.6603999999999957,"y":0.1016000000000048},{"x":1.3208000000000055,"y":0.1016000000000048},{"x":1.3208000000000055,"y":-0.05079999999999529},{"x":0.6603999999999957,"y":-0.05079999999999529},{"x":0.6603999999999957,"y":0.1016000000000048}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.9355582000000027,"y":-0.2751581999999928},{"x":0.9355582000000027,"y":0.38524180000000285},{"x":1.0879582000000028,"y":0.38524180000000285},{"x":1.0879582000000028,"y":-0.2751581999999928},{"x":0.9355582000000027,"y":-0.2751581999999928}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.1933427999999964,"y":0.04963159999999789},{"x":-0.5329428000000007,"y":0.04963159999999789},{"x":-0.5329428000000007,"y":-0.10276839999998799},{"x":-1.1933427999999964,"y":-0.10276839999998799},{"x":-1.1933427999999964,"y":0.04963159999999789}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-1.500899199999992,"y":0.6499991999999963},{"x":1.500899199999992,"y":0.6499991999999963},{"x":1.500899199999992,"y":-0.6499991999999963},{"x":-1.500899199999992,"y":-0.6499991999999963},{"x":-1.500899199999992,"y":0.6499991999999963}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965800.obj?uuid=dc992e81a186467b99f099441e1639bb",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965800.step?uuid=dc992e81a186467b99f099441e1639bb",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.01 },
      }}
      {...restProps}
    />
  )
}