# P2 Lamp V\.2

## Description

LED controller

## Project Details

- **Owner:** norandin
- **Created:** 5/29/2026
- **Last Updated:** 5/29/2026
- **Visibility:** Public
- **Copies:** 1

## Key Components

### D1 — [1N5822](https://flux.ai/lcsc/1n5822~zq9n.md)

- Part Type: Schottky Barrier Diodes \(SBD\)
- Product Info Url: https://lcsc\.com/product\-detail/Schottky\-Barrier\-Diodes\-SBD\_JH\-1N5822\_C478728\.html
- LCSC Part Number: C478728
- Role Details: Buck catch diode from switch node to ground for LM2596 stage
- Role: Protection
- Manufacturer Part Number: 1N5822
- Manufacturer Name: JH\(晶恒\)
- Package or Case Code: DO\-201AD\_BD5\.3\-L8\.4\-P12\.50\-D1\.4\-RD
- JLCPCB Part Class: Extended Part
- Datasheet URL: https://assets\.lcsc\.com/datasheet/szlcsc/Download\-ISO9001\-Certification\.pdf

**Pins:**
- A [pin 2]
- K [pin 1]

### J3 — [B4B\-XH\-A\(LF\)\(SN\)](https://flux.ai/adrian95/b4b-xh-alfsn~8ne.md)

- Role: Protection
- Manufacturer Name: JST Sales America Inc\.
- Manufacturer Part Number: B4B\-XH\-A\(LF\)\(SN\)
- Part Type: Connector
- Role Details: LED PWR A JST\-XH 4\-pin power output connector on fused VIN rail
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/eXH\.pdf
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]

### J4 — [B4B\-XH\-A\(LF\)\(SN\)](https://flux.ai/adrian95/b4b-xh-alfsn~8ne.md)

- Role: Protection
- Role Details: LED PWR B JST\-XH 4\-pin power output connector on fused VIN rail
- Manufacturer Name: JST Sales America Inc\.
- Manufacturer Part Number: B4B\-XH\-A\(LF\)\(SN\)
- Part Type: Connector
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/eXH\.pdf
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]

### J5 — [B2B\-XH\-A\(LF\)\(SN\)](https://flux.ai/adrian95/b2b-xh-alfsn~5xx.md)

- License: https://creativecommons\.org/licenses/by/4\.0/
- Manufacturer Name: JST Sales America Inc\.
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/eXH\.pdf
- Manufacturer Part Number: B2B\-XH\-A\(LF\)\(SN\)
- Role Details: LED DATA JST\-XH 2\-pin connector: Pin 1 GND, Pin 2 LED data output
- Role: Connectivity
- Part Type: Connector

**Pins:**
- P1 [pin 1]
- P2 [pin 2]

### J6 — [B6B\-XH\-A\(LF\)\(SN\)](https://flux.ai/adrian95/b6b-xh-alfsn~to0.md)

- Role Details: CTRL JST\-XH 6\-pin connector: 3V3, GND, Fader\(GPIO2\), Button1\(GPIO10\), Button2\(GPIO11\), Button3\(GPIO4\)
- Part Type: Connector
- Role: Connectivity
- Manufacturer Name: JST
- License: https://creativecommons\.org/licenses/by/4\.0/
- Datasheet URL: https://www\.phoenixcontact\.com/en\-us/products/pcb\-header\-mstba\-25\-3\-g\-508\-1757255?type=pdf
- Manufacturer Part Number: B6B\-XH\-A\(LF\)\(SN\)

**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://flux.ai/jharwinbarrozo/xy301v-a-50-2p~u6.md)

- Part Type: Connector
- Manufacturer Name: Ningbo Xinlaiya Elec\.
- Datasheet URL: https://www\.lcsc\.com/datasheet/C557651\.pdf?spm=wm\.sxq\.inf\.ggs&lcsc\_vid=E1BYV1AHFgUMXgFVQ1AMU1JVQFReXgIATwJfA10DFVkxVlNRT1dXXlVTQ1hbUjsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D
- Role: Power
- Manufacturer Part Number: XY301V\-A\-5\.0\-2P
- Role Details: 12V power input screw terminal, 2\-position, 5\.0mm pitch, 15A rating

**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]

### LED1 — [SM0805HCL](https://flux.ai/adrian95/sm0805hcl~2dj.md)

- License: https://creativecommons\.org/licenses/by/4\.0/
- Role: Signal Generation
- Part Type: LED
- Datasheet URL: https://www\.bivar\.com/parts\_content/Datasheets/SM0805HCL\.pdf
- Role Details: Red LED indicating the 3\.3V rail is active
- Manufacturer Part Number: SM0805HCL
- Manufacturer Name: Bivar Inc\.

**Pins:**
- A [pin 2]
- K [pin 1]

### TP1 — [Generic Testpoint](https://flux.ai/jharwinbarrozo/generic-testpoint~esx.md)

- Role: Human Interface
- Testpoint Size: 0\.5
- Manufacturer Part Number: 5000
- Role Details: 5V output test point
- Manufacturer Name: Keystone Electronics

**Pins:**
- P1

### U1 — [LM2596S\-5\.0/NOPB](https://flux.ai/adrian95/lm2596s-5p0nopb~ji8.md)

- Part Type: Integrated Circuit
- Manufacturer Name: Texas Instruments
- Manufacturer Part Number: LM2596S\-5\.0/NOPB
- Datasheet URL: https://www\.ti\.com/lit/ds/symlink/lm2596\.pdf
- License: https://creativecommons\.org/licenses/by/4\.0/
- Role: Power
- Role Details: 12V to 5V buck regulator stage using LM2596 fixed 5V output

**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://flux.ai/vasy_skral/ams1117-33~34.md)

- Role: Power Conversion
- License: https://creativecommons\.org/licenses/by/4\.0/
- Manufacturer Name: AMS 
- Role Details: 5V to 3\.3V LDO regulator using AMS1117\-3\.3 in SOT\-223
- Part Type: Integrated Circuit
- Symbol Style: Parametric
- Manufacturer Part Number: AMS1117\-3\.3
- Datasheet URL: http://www\.advanced\-monolithic\.com/pdf/ds1117\.pdf

**Pins:**
- GND [pin 1]
- TAB\(VOUT\) [pin 4]
- VIN [pin 3]
- VOUT [pin 2]

### U3 — [ESP32\-C6\-DEVKITC\-1\-N8](https://flux.ai/jecstronic/esp32-c6-devkitc-1-n8~wix.md)

- Role: Connectivity
- Datasheet URL: https://mm\.digikey\.com/Volume0/opasdata/d220001/medias/docus/5528/ESP32\-C6\-DEVKITC\-1\-N8\.pdf
- Part Type: Evaluation Board
- Manufacturer Part Number: ESP32\-C6\-DEVKITC\-1\-N8
- License: https://creativecommons\.org/licenses/by/4\.0/
- Manufacturer Name: Espressif Systems
- Role Details: ESP32\-C6\-DEVKITC\-1\-N8 dev board footprint replacing the bare ESP32\-C6\-WROOM\-1 module

**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://flux.ai/adrian95/74ahct1g125se-7~bdo.md)

- Part Type: Integrated Circuit
- Role: Logic\-level Shifting
- Datasheet URL: https://www\.diodes\.com/assets/Datasheets/74AHCT1G125\.pdf
- Manufacturer Part Number: 74AHCT1G125SE\-7
- Role Details: 5V AHCT buffer translating ESP32\-C6 GPIO16 / UART\_TXD to a robust WS2815\-compatible output stage
- Manufacturer Name: Diodes Incorporated
- License: https://creativecommons\.org/licenses/by/4\.0/

**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://flux\.ai/norandin/p2\-lamp\-vp2\~jd](https://flux.ai/norandin/p2-lamp-vp2~jd).*

---

*Generated from [https://flux\.ai/norandin/p2\-lamp\-vp2\~jd](https://flux.ai/norandin/p2-lamp-vp2~jd)*