# ESP32-C3 Optical Clip
## Description
Two-board ESP32-C3 optical clip with USB-C LiPo charging, OLED display, red/IR LEDs, and remote phototransistor receiver.
## Project Details
- **Owner:** a01743659
- **Created:** 5/27/2026
- **Last Updated:** 5/27/2026
- **Visibility:** Public
## Key Components
### D1 — [VSMD66694](https://www.flux.ai/jecstronic/vsmd66694~5a2.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://www.vishay.com/docs/84324/vsmd66694.pdf
- Manufacturer Part Number: VSMD66694
- Role: Signal Generation
- Manufacturer Name: Vishay Semiconductor Opto Division
- Part Type: LED
- Role Details: Dual 660nm/940nm emitter; channels driven from ESP32-C3 GPIO4 and GPIO5 through current-limit resistors.
**Pins:**
- IR Anode [pin 4]
- IR Cathode [pin 1]
- RED Anode [pin 2]
- RED Cathode [pin 3]
### J1 — [USB4215-03-A](https://www.flux.ai/adrian95/usb4215-03-a~kg3.md)
- Manufacturer Part Number: USB4215-03-A
- Role Details: USB-C sink input with VBUS, GND, D+/D-, CC1 and CC2.
- Part Type: USB C
- Package or Case Code: GCT_USB4215-03-A_REVA
- Datasheet URL: https://gct.co/files/specs/usb4215-spec.pdf
- Symbol Style: parametric-v1
- Role: Connector
- Manufacturer Name: GCT
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- CC1 [pin A5]
- CC2 [pin B5]
- DN1 [pin A7]
- DN2 [pin B7]
- DP1 [pin A6]
- DP2 [pin B6]
- GND_A [pin A1_B12]
- GND_B [pin B1_A12]
- SBU1 [pin A8]
- SBU2 [pin B8]
- SHIELD [pin SH1]
- SHIELD [pin SH4]
- SHIELD [pin SH2]
- SHIELD [pin SH3]
- VBUS_A [pin A4_B9]
- VBUS_B [pin B4_A9]
### J2 — [B2B-PH-K-S](https://www.flux.ai/adrian95/b2b-ph-k-s~fx.md)
- Role Details: Single-cell LiPo battery connector.
- Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf
- Package or Case Code: JST_B2B-PH-K-S
- Manufacturer Name: JST
- Manufacturer Part Number: B2B-PH-K-S
- License: https://creativecommons.org/licenses/by/4.0/
- Role: Connector
- Part Type: Connector
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### J3 — [BM03B-GVHS-TB(LF)(SN)](https://www.flux.ai/lcsc/bm03b-gvhs-tblfsn~1ch7.md)
- JLCPCB Part Class: Extended Part
- Package or Case Code: CONN-SMD_BM03B-GVHS-TB
- Manufacturer Part Number: BM03B-GVHS-TB(LF)(SN)
- LCSC Part Number: C265373
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1912111437_JST-BM03B-GVHS-TB-LF-SN_C265373.pdf
- Product Info Url: https://lcsc.com/product-detail/Others_JST-Sales-America-BM03B-GVHS-TB-LF-SN_C265373.html
- Manufacturer Name: JST
- Role Details: Three-wire link between upper and lower boards: 3.3V, GND, ADC signal.
- Role: Connector
- Part Type: Wire To Board / Wire To Wire Connector
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
- 5 [pin 5]
### Q1 — [PT19-21C/L41/TR8](https://www.flux.ai/jecstronic/pt19-21cl41tr8~6p4.md)
- Manufacturer Part Number: PT19-21C/L41/TR8
- Role Details: Phototransistor receiver on lower board; collector to 3.3V and emitter ADC node with pulldown.
- Manufacturer Name: Everlight Electronics Co Ltd
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://www.mouser.com/datasheet/2/143/PT19-21C-L41-TR8-1166191.pdf
- Part Type: Sensor
- Role: Sensing (Shunt)
**Pins:**
- C [pin 1]
- E [pin 2]
### SW1 — [DS04-254-2-01BK-SMT](https://www.flux.ai/jecstronic/ds04-254-2-01bk-smt~t2.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Role Details: Main power switch feeding the 3.3V regulator from protected battery/load output.
- Manufacturer Name: CUI Devices
- Manufacturer Part Number: DS04-254-2-01BK-SMT
- Part Type: Switch
- Datasheet URL: https://www.cuidevices.com/product/resource/ds04-254-smt.pdf
- Role: Switching
**Pins:**
- ~ [pin 1B]
- ~ [pin 1A]
### U1 — [ESP32-C3-12F](https://www.flux.ai/jecstronic/esp32-c3-12f~3b2.md)
- Role: Controller
- Datasheet URL: https://docs.ai-thinker.com/_media/esp32/docs/esp-c3-12f_specification.pdf
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: ESP32-C3-12F
- Part Type: Module
- Role Details: ESP32-C3 module with Wi-Fi/BLE, USB D+/D- on GPIO19/GPIO18, I2C OLED, LED control, ADC input.
- Manufacturer Name: RF Solutions
**Pins:**
- EN [pin 3]
- GND [pin 15]
- IO0 [pin 1]
- IO1 [pin 2]
- IO10 [pin 17]
- IO18 [pin 19]
- IO19 [pin 20]
- IO2 [pin 4]
- IO3 [pin 5]
- IO4 [pin 6]
- IO5 [pin 7]
- IO6 [pin 12]
- IO7 [pin 13]
- IO8 [pin 16]
- IO9 [pin 18]
- NC [pin 11]
- NC [pin 10]
- NC [pin 14]
- NC [pin 9]
- RX [pin 21]
- TX [pin 22]
- VCC [pin 8]
### U2 — [NCP361SN](https://www.flux.ai/kicad-part-library/ncp361sn~4lx.md)
- Role Details: USB input OVP/OCP protection between USB-C VBUS and LiPo charger input.
- Manufacturer Name: Texas Instruments Inc.
- Manufacturer Part Number: NCP361SN
- Package or Case Code: TSOP-5_1.65x3.05mm_P0.95mm
- Role: Protection
- Datasheet URL: https://www.onsemi.com/pdf/datasheet/ncp361-d.pdf
**Pins:**
- ~{EN} [pin 3]
- ~{FLAG} [pin 4]
- GND [pin 2]
- IN [pin 1]
- OUT [pin 5]
### U3 — [TP4056_Module](https://www.flux.ai/wolfxpac/tp4056module~ap.md)
- Part Type: Module
- Datasheet URL: https://robocraze.com/products/tp4056-lithium-battery-charging-board
- License: https://creativecommons.org/licenses/by/4.0/
- Role Details: USB 5V LiPo charger/protection module with IN, BAT and OUT terminals.
- Manufacturer Name: Generic
- Role: Power Conversion
**Pins:**
- BAT- [pin 5]
- BAT+ [pin 6]
- IN- [pin 1]
- IN+ [pin 2]
- OUT- [pin 3]
- OUT+ [pin 4]
### U4 — [AP2112K-3.3TRG1](https://www.flux.ai/adrian95/ap2112k-33trg1~zlq.md)
- Manufacturer Name: Diodes Incorporated
- Symbol Style: parametric-v1
- Part Type: Integrated Circuit
- Manufacturer Part Number: AP2112K-3.3TRG1
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://www.diodes.com/assets/Datasheets/AP2112.pdf
- Role Details: 3.3V LDO supplied from switched LiPo/load output.
- Role: Power Conversion
**Pins:**
- EN [pin 3]
- GND [pin 2]
- NC [pin 4]
- VIN [pin 1]
- VOUT [pin 5]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/a01743659/esp32-c3-optical-clip~0t](https://www.flux.ai/a01743659/esp32-c3-optical-clip~0t).*
---
*Generated from [https://www.flux.ai/a01743659/esp32-c3-optical-clip~0t](https://www.flux.ai/a01743659/esp32-c3-optical-clip~0t)*