# P2 Lamp ## Description LED controller ## Project Details - **Owner:** norandin - **Created:** 5/23/2026 - **Last Updated:** 5/23/2026 - **Visibility:** Public - **Copies:** 2 ## Key Components ### D1 — [1N5822](https://www.flux.ai/lcsc/1n5822~zq9n.md) - JLCPCB Part Class: Extended Part - Role: Protection - Part Type: Schottky Barrier Diodes (SBD) - Product Info Url: https://lcsc.com/product-detail/Schottky-Barrier-Diodes-SBD_JH-1N5822_C478728.html - Package or Case Code: DO-201AD_BD5.3-L8.4-P12.50-D1.4-RD - LCSC Part Number: C478728 - Manufacturer Name: JH(晶恒) - Datasheet URL: https://assets.lcsc.com/datasheet/szlcsc/Download-ISO9001-Certification.pdf - Role Details: Buck catch diode from switch node to ground for LM2596 stage - Manufacturer Part Number: 1N5822 **Pins:** - A [pin 2] - K [pin 1] ### J3 — [B4B-XH-A(LF)(SN)](https://www.flux.ai/adrian95/b4b-xh-alfsn~8ne.md) - Manufacturer Part Number: B4B-XH-A(LF)(SN) - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/eXH.pdf - Manufacturer Name: JST Sales America Inc. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: LED PWR A JST-XH 4-pin power output connector on fused VIN rail - Role: Protection **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J4 — [B4B-XH-A(LF)(SN)](https://www.flux.ai/adrian95/b4b-xh-alfsn~8ne.md) - Role Details: LED PWR B JST-XH 4-pin power output connector on fused VIN rail - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Name: JST Sales America Inc. - Role: Protection - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/eXH.pdf - Manufacturer Part Number: B4B-XH-A(LF)(SN) **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J5 — [B2B-XH-A(LF)(SN)](https://www.flux.ai/adrian95/b2b-xh-alfsn~5xx.md) - Manufacturer Part Number: B2B-XH-A(LF)(SN) - Manufacturer Name: JST Sales America Inc. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/eXH.pdf - Role: Connectivity - Role Details: LED DATA JST-XH 2-pin connector: Pin 1 GND, Pin 2 LED data output **Pins:** - P1 [pin 1] - P2 [pin 2] ### J6 — [B6B-XH-A(LF)(SN)](https://www.flux.ai/adrian95/b6b-xh-alfsn~to0.md) - Manufacturer Part Number: B6B-XH-A(LF)(SN) - Part Type: Connector - Manufacturer Name: JST - Datasheet URL: https://www.phoenixcontact.com/en-us/products/pcb-header-mstba-25-3-g-508-1757255?type=pdf - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: CTRL JST-XH 6-pin connector: 3V3, GND, Fader(GPIO2), Button1(GPIO10), Button2(GPIO11), Button3(GPIO4) - Role: Connectivity **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] - Pin_4 [pin 4] - Pin_5 [pin 5] - Pin_6 [pin 6] ### J7 — [XY301V-A-5.0-2P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-2p~u6.md) - Role: Power - Part Type: Connector - Manufacturer Name: Ningbo Xinlaiya Elec. - Manufacturer Part Number: XY301V-A-5.0-2P - Role Details: 12V power input screw terminal, 2-position, 5.0mm pitch, 15A rating - Datasheet URL: https://www.lcsc.com/datasheet/C557651.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=E1BYV1AHFgUMXgFVQ1AMU1JVQFReXgIATwJfA10DFVkxVlNRT1dXXlVTQ1hbUjsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] ### LED1 — [SM0805HCL](https://www.flux.ai/adrian95/sm0805hcl~2dj.md) - Manufacturer Part Number: SM0805HCL - Role Details: Red LED indicating the 3.3V rail is active - Datasheet URL: https://www.bivar.com/parts_content/Datasheets/SM0805HCL.pdf - Role: Signal Generation - Manufacturer Name: Bivar Inc. - Part Type: LED - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### TP1 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md) - Manufacturer Part Number: 5000 - Role: Human Interface - Testpoint Size: 0.5 - Manufacturer Name: Keystone Electronics - Role Details: 5V output test point **Pins:** - P1 ### U1 — [LM2596S-5.0/NOPB](https://www.flux.ai/adrian95/lm2596s-5p0nopb~ji8.md) - Role: Power - Manufacturer Part Number: LM2596S-5.0/NOPB - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: 12V to 5V buck regulator stage using LM2596 fixed 5V output - Datasheet URL: https://www.ti.com/lit/ds/symlink/lm2596.pdf - Part Type: Integrated Circuit - Manufacturer Name: Texas Instruments **Pins:** - ~ON~/OFF [pin 5] - FEEDBACK [pin 4] - GND_TAB [pin 6] - GROUND [pin 3] - OUTPUT [pin 2] - VIN [pin 1] ### U2 — [AMS1117-3.3](https://www.flux.ai/vasy_skral/ams1117-33~34.md) - Symbol Style: Parametric - Datasheet URL: http://www.advanced-monolithic.com/pdf/ds1117.pdf - Part Type: Integrated Circuit - Role Details: 5V to 3.3V LDO regulator using AMS1117-3.3 in SOT-223 - Manufacturer Part Number: AMS1117-3.3 - Manufacturer Name: AMS - License: https://creativecommons.org/licenses/by/4.0/ - Role: Power Conversion **Pins:** - GND [pin 1] - TAB(VOUT) [pin 4] - VIN [pin 3] - VOUT [pin 2] ### U3 — [ESP32-C6-DEVKITC-1-N8](https://www.flux.ai/jecstronic/esp32-c6-devkitc-1-n8~wix.md) - Role Details: ESP32-C6-DEVKITC-1-N8 dev board footprint replacing the bare ESP32-C6-WROOM-1 module - Manufacturer Name: Espressif Systems - Part Type: Evaluation Board - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/5528/ESP32-C6-DEVKITC-1-N8.pdf - Role: Connectivity - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: ESP32-C6-DEVKITC-1-N8 **Pins:** - CHIP_PU [pin J1_2] - ESP_3V3 [pin J1_1] - GND_J1_15 [pin J1_15] - GND_J3_1 [pin J3_1] - GND_J3_12 [pin J3_12] - GND_J3_15 [pin J3_15] - GPIO0 [pin J1_7] - GPIO1 [pin J1_8] - GPIO10 [pin J1_10] - GPIO11 [pin J1_11] - GPIO12 [pin J3_14] - GPIO13 [pin J3_13] - GPIO15 [pin J3_4] - GPIO18 [pin J3_10] - GPIO19 [pin J3_9] - GPIO2 [pin J1_12] - GPIO20 [pin J3_8] - GPIO21 [pin J3_7] - GPIO22 [pin J3_6] - GPIO23 [pin J3_5] - GPIO3 [pin J1_13] - GPIO4 [pin J1_3] - GPIO5 [pin J1_4] - GPIO6 [pin J1_5] - GPIO7 [pin J1_6] - GPIO8 [pin J1_9] - GPIO9 [pin J3_11] - NC_J1_16 [pin J1_16] - NC_J3_16 [pin J3_16] - UART_RXD [pin J3_3] - UART_TXD [pin J3_2] - VCC_5V [pin J1_14] ### U4 — [74AHCT1G125SE-7](https://www.flux.ai/adrian95/74ahct1g125se-7~bdo.md) - Manufacturer Part Number: 74AHCT1G125SE-7 - Datasheet URL: https://www.diodes.com/assets/Datasheets/74AHCT1G125.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Diodes Incorporated - Role Details: 5V AHCT buffer translating ESP32-C6 GPIO16 / UART_TXD to a robust WS2815-compatible output stage - Part Type: Integrated Circuit - Role: Logic-level Shifting **Pins:** - A [pin 2] - GND [pin 3] - OE [pin 1] - VCC [pin 5] - Y [pin 4] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/norandin/p2-lamp~x4](https://www.flux.ai/norandin/p2-lamp~x4).* --- *Generated from [https://www.flux.ai/norandin/p2-lamp~x4](https://www.flux.ai/norandin/p2-lamp~x4)*