mpsys/cree-led-pcb

This circuit diagram depicts a compact LED driver module featuring a TPS923655DMTR LED driver IC, input filtering and storage components (capacitors, inductor, diode), sensing and control resistors, output filtering capacitors, and various support passive components arranged on a 2-layer PCB with mounting holes.

Version
1.0.2
License
unset
Stars
0

led-board.circuit.tsx

PCBPCB preview for led-board.circuit.tsx
SchematicSchematic preview for led-board.circuit.tsx
export default () => {
  // 25mm diameter circle approximated with 36 polygon points
  const radius = 12.5
  const segments = 36
  const outline: Array<{ x: number; y: number }> = []
  for (let i = 0; i < segments; i++) {
    const angle = (2 * Math.PI * i) / segments
    outline.push({ x: radius * Math.cos(angle), y: radius * Math.sin(angle) })
  }

  return (
    <board
      outline={outline}
      width="25mm"
      height="25mm"
      layers={2}
      schematicDisabled
    >
      {/* 3535 High-Power LED in center */}
      <chip
        name="LED1"
        footprint={
          <footprint>
            <smtpad shape="rect" width="3mm" height="3mm" portHints={["thermal"]} />
            <smtpad shape="rect" width="1.2mm" height="0.8mm" pcbX={0} pcbY={1.8} portHints={["anode"]} />
            <smtpad shape="rect" width="1.2mm" height="0.8mm" pcbX={0} pcbY={-1.8} portHints={["cathode"]} />
            <silkscreenrect width="3.5mm" height="3.5mm" />
          </footprint>
        }
        pcbX={0}
        pcbY={0}
      />

      {/* Wire pads for soldering leads to driver board */}
      <chip
        name="PWR_IN"
        footprint={
          <footprint>
            <smtpad shape="rect" width="3mm" height="2mm" portHints={["pad"]} />
          </footprint>
        }
        pcbX={0}
        pcbY={8}
      />
      <chip
        name="GND_IN"
        footprint={
          <footprint>
            <smtpad shape="rect" width="3mm" height="2mm" portHints={["pad"]} />
          </footprint>
        }
        pcbX={0}
        pcbY={-8}
      />

      {/* Mounting holes — 4× M2 at 45° on 22mm circle */}
      <hole diameter="2.2mm" pcbX={7.78} pcbY={7.78} />
      <hole diameter="2.2mm" pcbX={7.78} pcbY={-7.78} />
      <hole diameter="2.2mm" pcbX={-7.78} pcbY={7.78} />
      <hole diameter="2.2mm" pcbX={-7.78} pcbY={-7.78} />

      {/* Traces: LED anode → PWR_IN, LED cathode → GND_IN */}
      <trace from=".LED1 > .anode" to=".PWR_IN > .pad" />
      <trace from=".LED1 > .cathode" to=".GND_IN > .pad" />
    </board>
  )
}