# Hardware specifications [简体中文](hardware-spec.md) | English These specifications describe the current PWKS2 ESP32-S2 hardware. Alternative chips discussed for future products are not part of this release. | Item | Confirmed specification | | --- | --- | | MCU and build target | ESP32-S2 / LOLIN_S2_MINI; current Flash configuration: 4 MB | | Application environment | MicroPython v1.29.0; firmware v1.10.45 | | Display | 128×64 monochrome OLED | | Input | Pushable rotary encoder; left F3, center F2, right F1 | | Wireless and USB | 2.4 GHz Wi-Fi; native USB keyboard / FIDO2 / controlled disk access / direct web management | | Battery | Built-in 200 mAh lithium-ion battery; charging current: 500 mA | | Physical switch | Controls battery power; does not disconnect USB power | | Storage | TF/microSD; 64 MiB secure container; separate 64 KiB Flash partition for a clock face | | Onboard outputs | White LED: GPIO17; infrared transmitter: GPIO16 | | Low voltage | Repeated low readings while not charging trigger a warning, display shutdown, and deep sleep; charging detection: GPIO11 | Check the fitted cell's specifications for its permitted charging rate. Battery capacity and the configured current alone do not establish runtime or charge time. Dimensions, weight, power ratings, I²C pull-up values, and a connector orientation drawing have not yet been confirmed. ## External 14-pin connector Connector pin numbers differ from GPIO numbers. Locate the connector's pin #1 mark before wiring. | Pin | Signal | Connection / direction | | --- | --- | --- | | #14–#10 | EX_IO1–EX_IO5 | GPIO1–5, 3.3 V digital input/output | | #9 | EX_I2C_CLK | GPIO37, pulled up | | #8 | EX_I2C_DAT | GPIO40, pulled up | | #7 | EX_SPI_MOSI | GPIO38 | | #6 | EX_SPI_MISO | GPIO35 | | #5 | EX_SPI_CLK | GPIO36 | | #4, #3 | GND | Common ground | | #2 | EX_+3.3V | 3.3 V output; current rating unconfirmed | | #1 | 5V_VBUS | 5 V input/output; verify power routing and conditions for connecting power sources against the actual circuit | GPIO signals are not 5 V tolerant. GPIO1–5 have chip-level ADC capability, but the current system uses ADC1 for battery measurement; these pins must not be presented as five immediately available concurrent analog inputs. System OLED/RTC I²C uses GPIO6/8; TF SPI uses GPIO21/18/34/33. Apps must not take over these buses. See the [external hardware contract](../sdk/docs/EXTERNAL_HARDWARE.md) for electrical conditions, bus selection, and cleanup requirements. ## Hardware design files Directories are provided for [schematics](../hardware/schematics/README.en.md) and [3D models](../hardware/3d-models/README.en.md). Verified product schematic PDFs, EDA/PCB projects, and mechanical models have not yet been supplied. A pin table does not replace a schematic. Future files should identify their hardware revision, units, version, and permitted uses.