Devesh36/usb-c-phone-stand-light

A 3D-printed tilted phone stand integrating USB‑C PD power, a Qi wireless charging coil with magnetic alignment ring, indicator LEDs/light pipes, control and protection PCBs, wiring, fasteners, and rubber feet.

Version
0.0.6
License
unset
Stars
0

indicator-board.tsx

import { HL_C3535F3V3EA_ZW as UvLed } from "./imports/hl-c3535f3v3ea-zw";
import { HL_C3535F4IR3EA_ZW as IrLed } from "./imports/hl-c3535f4ir3ea-zw";
import { WireHeader } from "./lighting-board";
export default function IndicatorBoard(){
 return <board name="INDICATORS" width={34} height={14} thickness={0.8}  routingDisabled>
  <WireHeader name="J_LEDS" x={0} y={0} pins={4} labels={{pin1:"UV_A",pin2:"UV_K",pin3:"IR_A",pin4:"IR_K"}} schX={-5}/>
  {/* Pad 1 follows the imported + mark; the center thermal pad is left isolated. */}
  <UvLed name="LED_POWER" pcbX={-9} pcbY={0} pcbRotation={45} noConnect={["pin3"]} schX={0} schY={2}/>
  <IrLed name="LED_CHARGE" noConnect={["A2"]} pcbX={9} pcbY={0} pcbRotation={45} schX={0} schY={-2}/>
  <trace name="J_LEDS_pin1_TO_LED_POWER_pin1" from="J_LEDS.pin1" to="LED_POWER.pin1" pcbPath={["J_LEDS.pin1",{x:-14,y:3.81},{x:-14,y:-4},{x:-11,y:-4},"LED_POWER.pin1"]}/>
  <trace name="J_LEDS_pin2_TO_LED_POWER_pin2" from="J_LEDS.pin2" to="LED_POWER.pin2" pcbPath={["J_LEDS.pin2","LED_POWER.pin2"]}/>
  <trace name="J_LEDS_pin3_TO_LED_CHARGE_A1" from="J_LEDS.pin3" to="LED_CHARGE.A1" pcbPath={["J_LEDS.pin3",{x:4,y:-2},{x:8,y:-4},{x:12,y:-4},{x:12,y:-3},"LED_CHARGE.A1"]}/>
  <trace name="J_LEDS_pin4_TO_LED_CHARGE_C" from="J_LEDS.pin4" to="LED_CHARGE.C" pcbPath={["J_LEDS.pin4",{x:2,y:-5.5},{x:15,y:-5.5},{x:15,y:5},{x:6,y:5},"LED_CHARGE.C"]}/>
  <silkscreentext text="C540985" pcbX={-9} pcbY={5} fontSize={0.65}/>
  <silkscreentext text="C540986" pcbX={9} pcbY={5} fontSize={0.65}/>
 </board>
}