# ESP32 Rotary UI Controller dPUo ## Description Battery-powered ESP32-S3 rotary controller with native USB-HID, BLE/Wi-Fi, USB-C charging and power-path operation, a pressable 24-detent encoder, conventional PWM RGB status LED, and disconnectable low-current 3V3 power indicator. ## Project Details - **Owner:** support - **Created:** 8/20/2026 - **Last Updated:** 8/24/2026 - **Visibility:** Public - **Copies:** 1 ## Key Components ### BOOT — [GT-TC034A-H018-L1](https://www.flux.ai/lcsc/gt-tc034a-h018-l1~udf.md) - Functional Group: MCU Boot Reset - Role: BOOT Button - Manufacturer Name: G-Switch(品赞) - Manufacturer Part Number: GT-TC034A-H018-L1 - Part Type: Tactile Switches - Package or Case Code: SW-SMD_4P-L3.6-W3.0-P1.50-LS4.7 - JLCPCB Part Class: Extended Part - Role Details: Normally-open tactile switch from GPIO0 to GND - LCSC Part Number: C843659 **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### D1 — [USBLC6-2SC6](https://www.flux.ai/vasy_skral/usblc6-2sc6~g1b.md) - Manufacturer Part Number: USBLC6-2SC6 - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Protection - Manufacturer Name: STMicroelectronics - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/06/1d/48/9c/6c/20/4a/b2/CD00050750.pdf/files/CD00050750.pdf/jcr:content/translations/en.CD00050750.pdf - LCSC Part Number: C7519 - Symbol Style: parametric-v1 - Role: USB ESD Protection - Role Details: UMW dual-line USB 2.0 ESD array; LCSC C2687116 currently well stocked - JLCPCB Part Class: Extended Part - Functional Group: USB Input and Protection **Pins:** - GND [pin 2] - I/O1 [pin 6] - I/O1 [pin 1] - I/O2 [pin 3] - I/O2 [pin 4] - VBUS [pin 5] ### ENC1 — [PEC11R-4220F-S0024](https://www.flux.ai/adrian95/pec11r-4220f-s0024~n6s.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Bourns Inc. - Manufacturer Part Number: PEC11R-4220F-S0024 - Datasheet URL: https://www.bourns.com/docs/Product-Datasheets/PEC11R.pdf - Role Details: User-approved PEC11R-4220F-S0024 24-detent, 24-pulse encoder with push switch; A/B firmware debounce; active-low press wakes from deep sleep - LCSC Part Number: C143797 - Part Type: Sensor - Functional Group: Rotary Encoder - Role: Rotary Encoder with Push - JLCPCB Part Class: Extended Part **Pins:** - 1 [pin 1] - 2 [pin 2] - A [pin A1] - B [pin B1] - C [pin C1] - MH1 [pin MH1] - MH2 [pin MH2] ### J1 — [TYPE-C-31-M-12](https://www.flux.ai/lcsc/type-c-31-m-12~0mos.md) - LCSC Part Number: C165948 - Part Type: USB Connectors - Role: USB-C Device Connector - Product Info Url: https://lcsc.com/product-detail/USB-Type-C_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.html - Role Details: USB 2.0 UFP/sink; independent CC1 and CC2 Rd resistors - Manufacturer Part Number: TYPE-C-31-M-12 - Manufacturer Name: 韩国韩荣 - Functional Group: USB Input and Protection - JLCPCB Part Class: Extended Part - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2410010003_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf - Package or Case Code: USB-C_SMD-TYPE-C-31-M-12 **Pins:** - CC1 [pin A5] - CC2 [pin B5] - DN1 [pin A7] - DN2 [pin B7] - DP1 [pin A6] - DP2 [pin B6] - GND [pin B1] - GND [pin B12] - GND [pin A12] - GND [pin A1] - SBU1 [pin A8] - SBU2 [pin B8] - SH [pin 0] - SH [pin 2] - SH [pin 1] - SH [pin 3] - VBUS [pin A4] - VBUS [pin B4] - VBUS [pin B9] - VBUS [pin A9] ### J2 — [S2B-PH-SM4-TB(LF)(SN)](https://www.flux.ai/adrian95/s2b-ph-sm4-tblfsn~b96.md) - Manufacturer Name: JST Sales America Inc. - Symbol Style: parametric-v1 - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf - Manufacturer Part Number: S2B-PH-SM4-TB(LF)(SN) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Role: Battery Connector - Role Details: JST-PH 2-pin: pin 1 BAT+, pin 2 GND; external battery assumed protected - Pin Description: Pin 1 BAT+, Pin 2 GND - Functional Group: Charger and Power Path **Pins:** - P1 [pin 1] - P2 [pin 2] ### LED1 — [APFA3010LSEKJ3ZGKQBC](https://www.flux.ai/adrian95/apfa3010lsekj3zgkqbc~yx3.md) - Role Details: Kingbright common-cathode RGB LED; pin 2 common cathode; Vf at 2mA: red 1.8V typ, green/blue 2.65V typ - Role: Signal Generation - LCSC Part Number: C5278712 - Manufacturer Name: Kingbright - Part Type: LED - JLCPCB Part Class: Extended Part - Manufacturer Part Number: APFA3010LSEKJ3ZGKQBC - License: https://creativecommons.org/licenses/by/4.0/ - Functional Group: RGB LED - Datasheet URL: https://www.kingbrightusa.com/images/catalog/SPEC/APFA3010LSEKJ3ZGKQBC.pdf - Package or Case Code: KPFA-3010RGBC-11 **Pins:** - ANODE_BLUE [pin 4] - ANODE_GREEN [pin 3] - ANODE_RED [pin 1] - COMMON_CATHODE [pin 2] ### LED2 — [SML-D13FWT86C](https://www.flux.ai/jecstronic/sml-d13fwt86c~i2q.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Rohm Semiconductor - Manufacturer Part Number: SML-D13FWT86C - Part Type: LED - Datasheet URL: https://fscdn.rohm.com/en/products/databook/datasheet/opto/led/chip_mono/sml-d13fwt86(c)-e.pdf - Role: Signal Generation - Role Details: Green 0603 power indicator, Vf ~2.1V; operated at ~0.4mA through 3kΩ - LCSC Part Number: C459722 - JLCPCB Part Class: Extended Part - Functional Group: Power Status **Pins:** - A [pin 2] - K [pin 1] ### RESET — [GT-TC034A-H018-L1](https://www.flux.ai/lcsc/gt-tc034a-h018-l1~udf.md) - Role: RESET Button - Manufacturer Name: G-Switch(品赞) - Manufacturer Part Number: GT-TC034A-H018-L1 - Part Type: Tactile Switches - Package or Case Code: SW-SMD_4P-L3.6-W3.0-P1.50-LS4.7 - Functional Group: MCU Boot Reset - JLCPCB Part Class: Extended Part - Role Details: Normally-open tactile switch from CHIP_PU/EN to GND - LCSC Part Number: C843659 **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### U1 — [ESP32-S3-WROOM-1-N8](https://www.flux.ai/lcsc/esp32-s3-wroom-1-n8~1br6.md) - Datasheet URL: https://www.lcsc.com/datasheet/C2913198.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=FlkNBAIDRQULVABfFAVZBgZVFVZYBgZSQ1NeBVIFQlExVlNeR1VXVF1QRlBZUDsOAxUeFF5JWBYZEEoKFBINSQcJGk4dAgUUFAk%3D - Role Details: ESP32-S3 native USB; GPIO map avoids strapping pins and supports deep-sleep wake - Functional Group: MCU and USB - Manufacturer Part Number: ESP32-S3-WROOM-1-N8 - Package or Case Code: WIFIM-SMD_ESP32-S3-WROOM-1-N8 - Symbol Style: parametric-v1 - Part Type: WiFi Modules - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: ESPRESSIF(乐鑫) - Role: Main Controller - JLCPCB Part Class: Extended Part - LCSC Part Number: C2913198 **Pins:** - 3V3 [pin 2] - EN [pin 3] - GND [pin 1] - GND [pin 43] - GND [pin 45] - GND [pin 40] - GND [pin 44] - GND [pin 47] - GND [pin 42] - GND [pin 41] - GND [pin 49] - GND [pin 46] - GND [pin 48] - IO0 [pin 27] - IO1 [pin 39] - IO10 [pin 18] - IO11 [pin 19] - IO12 [pin 20] - IO13 [pin 21] - IO14 [pin 22] - IO15 [pin 8] - IO16 [pin 9] - IO17 [pin 10] - IO18 [pin 11] - IO19 [pin 13] - IO2 [pin 38] - IO20 [pin 14] - IO21 [pin 23] - IO3 [pin 15] - IO35 [pin 28] - IO36 [pin 29] - IO37 [pin 30] - IO38 [pin 31] - IO39 [pin 32] - IO4 [pin 4] - IO40 [pin 33] - IO41 [pin 34] - IO42 [pin 35] - IO45 [pin 26] - IO46 [pin 16] - IO47 [pin 24] - IO48 [pin 25] - IO5 [pin 5] - IO6 [pin 6] - IO7 [pin 7] - IO8 [pin 12] - IO9 [pin 17] - RXD0 [pin 36] - TXD0 [pin 37] ### U2 — [BQ24074RGTR](https://www.flux.ai/vasyl/bq24074rgtr~yke.md) - Manufacturer Name: Texas Instruments - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Battery Chargers - Manufacturer Part Number: BQ24074RGTR - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fbq24074 - Role: Battery Charger Power Path - Role Details: BQ24074 power path, USB500 input mode, ~300mA charging, battery-absent operation; LCSC C2861252 stocked but inventory is modest - JLCPCB Part Class: Extended Part - Implementation Details: Standalone single-cell Li-Ion/Li-Polymer linear charger and power-path management IC; 4.2 V battery regulation, 4.4 V OUT regulation, 10.5 V OVP, 1.5 A programmable fast charge/input current limit. - Functional Group: Charger and Power Path - LCSC Part Number: C54313 **Pins:** - ~CE [pin 4] - ~CHG [pin 9] - ~PGOOD [pin 7] - BAT_2 [pin 2] - BAT_3 [pin 3] - EN1 [pin 6] - EN2 [pin 5] - EXP [pin 17] - ILIM [pin 12] - IN [pin 13] - ISET [pin 16] - ITERM [pin 15] - OUT_10 [pin 10] - OUT_11 [pin 11] - TMR [pin 14] - TS [pin 1] - VSS [pin 8] ### U3 — [TPS63802DLAT](https://www.flux.ai/lcsc/tps63802dlat~ebev.md) - Manufacturer Part Number: TPS63802DLAT - LCSC Part Number: C1849531 - Package or Case Code: VSON-10-HR_L3.0-W2.0-P0.50-BL_TI_DLA - Manufacturer Name: TI(德州仪器) - Part Type: DC-DC Converters - JLCPCB Part Class: Extended Part - Role: 3V3 Buck-Boost Regulator - Role Details: TPS63802DLAT adjustable buck-boost generating 3V3 from SYS with 510k/91k feedback divider - Functional Group: 3V3 Buck-Boost Regulator **Pins:** - AGND [pin 3] - EN [pin 1] - FB [pin 4] - GND [pin 8] - L1 [pin 9] - L2 [pin 7] - MODE [pin 2] - PG [pin 5] - VIN [pin 10] - VOUT [pin 6] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/support/esp32-rotary-ui-controller-dpuo~6k](https://www.flux.ai/support/esp32-rotary-ui-controller-dpuo~6k).* --- *Generated from [https://www.flux.ai/support/esp32-rotary-ui-controller-dpuo~6k](https://www.flux.ai/support/esp32-rotary-ui-controller-dpuo~6k)*