# WiFi PC Power Switch
## Description
Minimal ESP32 and PC817 optocoupler schematic for an isolated WiFi-controlled PC motherboard power-switch interface.
## Project Details
- **Owner:** sivakami22
- **Created:** 6/11/2026
- **Last Updated:** 6/11/2026
- **Visibility:** Public
## Key Components
### ESP32 — [ESP32-WROOM-32E](https://www.flux.ai/lcsc/esp32-wroom-32e~pa8i.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Symbol Style: parametric-v1
- Role: WiFi controller
- JLCPCB Part Class: Extended Part
- Part Type: WiFi Modules
- Manufacturer Name: ESPRESSIF(乐鑫)
- LCSC Part Number: C2973652
- Package or Case Code: WIFI-SMD_ESP32-WROOM-32E-A
- Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf
- Manufacturer Part Number: ESP32-WROOM-32E
**Pins:**
- 3V3 [pin 2]
- EN [pin 3]
- GND [pin 47]
- GND [pin 39]
- GND [pin 38]
- GND [pin 44]
- GND [pin 45]
- GND [pin 40]
- GND [pin 41]
- GND [pin 46]
- GND [pin 15]
- GND [pin 42]
- GND [pin 43]
- GND [pin 1]
- IO0 [pin 25]
- IO12 [pin 14]
- IO13 [pin 16]
- IO14 [pin 13]
- IO15 [pin 23]
- IO16 [pin 27]
- IO17 [pin 28]
- IO18 [pin 30]
- IO19 [pin 31]
- IO2 [pin 24]
- IO21 [pin 33]
- IO22 [pin 36]
- IO23 [pin 37]
- IO25 [pin 10]
- IO26 [pin 11]
- IO27 [pin 12]
- IO32 [pin 8]
- IO33 [pin 9]
- IO34 [pin 6]
- IO35 [pin 7]
- IO4 [pin 26]
- IO5 [pin 29]
- NC [pin 22]
- NC [pin 21]
- NC [pin 19]
- NC [pin 20]
- NC [pin 18]
- NC [pin 17]
- NC [pin 32]
- RXD0 [pin 34]
- SENSOR_VN [pin 5]
- SENSOR_VP [pin 4]
- TXD0 [pin 35]
### J1 — [KF128-5.08-2P-AA](https://www.flux.ai/lcsc/kf128-5p08-2p-aa~0pbi.md)
- Role: Motherboard PWR_SW isolated output terminal
- Current Rating: 24A
- Connector Positions: 2
- Connector Pitch: 5.08mm
- Package or Case Code: CONN-TH_P5.08_KF128-5.08-2P
- LCSC Part Number: C474952
- JLCPCB Part Class: Extended Part
- Connector Gender: Female
- Manufacturer Name: KEFA(科发)
- Connector Type: Screw terminal
- Connector Rows: 1
- Product Info Url: https://lcsc.com/product-detail/New-Quadratic-Unclassified-Data_Cixi-Kefa-Elec-KF128-5-08-2P_C474952.html
- Manufacturer Part Number: KF128-5.08-2P-AA
- Operating Temperature: -40℃~+105℃
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2408211511_Cixi-Kefa-Elec-KF128-5-08-2P-AA_C474952.pdf
- Part Type: Screw terminal
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### LED1 — [BZ-C0603-G3-F1](https://www.flux.ai/lcsc/bz-c0603-g3-f1~v6dg.md)
- Package or Case Code: LED0603-R-RD_GREEN
- JLCPCB Part Class: Extended Part
- Role: Optional GPIO status indicator
- LCSC Part Number: C2833058
- Datasheet URL: https://www.lcsc.com/datasheet/C2833058.pdf
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: BZ-C0603-G3-F1
- Manufacturer Name: baizou(百洲)
- Part Type: Light Emitting Diodes (LED)
**Pins:**
- A [pin 1]
- K [pin 2]
### PC817 — [PC817C](https://www.flux.ai/lcsc/pc817c~olct.md)
- Max Forward Current: 50mA
- Product Info Url: https://lcsc.com/product-detail/DIP-Optocouplers_PC817C_C115500.html
- Manufacturer Name: 华润华晶
- Max Reverse Voltage: 5V
- Role: Optocoupler isolated switch
- LCSC Part Number: C115500
- Forward Voltage Drop: 1.2V
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1809251512_Wuxi-China-Resources-Huajing-Microelectronics-PC817C_C115500.pdf
- JLCPCB Part Class: Extended Part
- Manufacturer Part Number: PC817C
- Package or Case Code: DIP-4_L4.6-W6.5-P2.54-LS7.6-BL
- Part Type: Optocouplers - Phototransistor Output
**Pins:**
- AN [pin 1]
- CAT [pin 2]
- COL [pin 4]
- EM [pin 3]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/sivakami22/wifi-pc-power-switch~cn](https://www.flux.ai/sivakami22/wifi-pc-power-switch~cn).*
---
*Generated from [https://www.flux.ai/sivakami22/wifi-pc-power-switch~cn](https://www.flux.ai/sivakami22/wifi-pc-power-switch~cn)*