Skip to content

Power Management

Power management on the ESP32-S3-Touch-LCD-4.3 (Type B) reflects the board’s dual identity as both a development platform and a deployment-ready industrial controller. Three independent power sources can feed the system — USB, wide-range DC input, and Li-Po battery — with the CS8501 charge/discharge manager orchestrating seamless transitions between them. Understanding the power topology is essential for estimating battery life, selecting appropriate power supplies, and avoiding the kinds of brownout conditions that plague underpowered embedded displays.

The board accepts power from three sources, any of which can operate independently or in combination.

USB Type-C (5V)

Either USB port (Type-C1 side or Type-C2 top) can supply 5V power. A standard USB-C cable delivering 500 mA is sufficient for basic operation, though 1A or more is recommended when WiFi, Bluetooth, and the backlight are all active simultaneously.

DC Input 7-36V (Type B)

The Type B variant includes a wide-range DC input that accepts 7 to 36 volts, making the board directly compatible with 12V automotive systems, 24V industrial power rails, and solar panel installations without external voltage regulation. An onboard DC-DC converter steps the input down to 5V.

Li-Po Battery (3.7V)

A single-cell 3.7V lithium polymer battery connects via the MX1.25 2-pin connector (PH2.0 on some production variants). The CS8501 manages charging when external power is present and provides boost conversion to 5V when running on battery alone.

The board distributes power across several regulated rails, each serving specific subsystems. Understanding these rails helps when debugging power issues or estimating total current draw.

RailVoltageSourcePrimary Loads
5V5.0VUSB-C, DC-DC from wide input, or CS8501 boost from batteryMain power bus, backlight boost input, USB VBUS
3V33.3VSGM2212 LDO from 5V railESP32-S3 module, CH343P, CH422G, TJA1051T, SP3485, GT911, PCF85063A
I2C_VCC3.3VSeparate regulated railI2C bus pullup resistors, touch controller, CH422G logic supply
VLED+~18-20VMP3302DJ boost from 5V railLCD backlight LED string
VBAT3.0-4.2VLi-Po cell (direct)CS8501 charger input/output

The separation of I2C_VCC from the main 3.3V rail is a deliberate design choice. It isolates the I2C bus from noise generated by the ESP32-S3’s high-speed digital logic and RF subsystems, improving signal integrity for the touch controller and RTC communications.

The SGM2212 is an 800 mA low-dropout linear regulator that produces the 3.3V rail from the 5V bus. With a typical dropout voltage of 300 mV, it remains in regulation as long as the 5V rail stays above approximately 3.6V — a condition easily satisfied under normal operating conditions but worth considering during battery-powered brownout scenarios where the CS8501’s boost output may sag.

ParameterValue
Output voltage3.3V (fixed)
Maximum output current800 mA
Dropout voltage300 mV typical
Output noise30 uV RMS (typical, 10 Hz to 100 kHz)
Quiescent current150 uA typical
Input voltage range2.5V to 5.5V

The low noise specification of 30 uV RMS makes the SGM2212 suitable for powering the ESP32-S3’s ADC subsystem. If you are using the sensor header for analog measurements, the clean 3.3V rail contributes minimal noise to your readings — though proper grounding and decoupling at the measurement point remain essential for accurate ADC results.

The CS8501 is an integrated charge and discharge management IC designed for single-cell lithium polymer batteries. It performs two functions: constant-current/constant-voltage charging from the 5V bus when external power is available, and synchronous boost conversion from battery voltage (3.0-4.2V) to 5V when external power is removed.

ParameterValue
Charge voltage4.2V (single-cell Li-Po)
Charge current~500 mA (set by R45, factory 1.2 KΩ)
Charge methodCC/CV (constant current, then constant voltage)
Boost output5.0V from 3.0-4.2V input
Boost efficiency~90% at typical load
Maximum boost output current~1A
Trickle charge threshold2.9V
Charge termination current~50 mA

Three LEDs along the board edge indicate power and charging status:

LEDColorMeaning
PWRRed5V power rail is present and active
CHGRedLi-Po battery is actively charging (CC or CV phase)
DONEGreenCharge cycle complete, battery at 4.2V

When no battery is connected, PWR illuminates while CHG and DONE remain off. When external power is removed and the system runs from battery, PWR remains lit (the CS8501’s boost output maintains the 5V rail) but CHG and DONE go dark.

The charge current is set by resistor R45 on the PCB according to the CS8501 datasheet formula: I_charge = K / R45, where K is approximately 600 (yielding milliamps when R45 is in kilohms). The factory default R45 value is 1.2 KΩ, which produces approximately 500 mA of charge current — a 0.3C to 0.7C rate for the recommended battery range of 700-1500 mAh. Adjusting R45 allows the charge current to be tailored to different battery capacities:

R45 ValueCharge CurrentRecommended Battery Range
5.0 KΩ~120 mA150-350 mAh
2.0 KΩ~300 mA400-900 mAh
1.2 KΩ~500 mA700-1500 mAh (factory default)
0.7 KΩ~860 mA1200-2000 mAh
0.68 KΩ~880 mA1200-2000 mAh

The charge current follows an approximately inverse relationship with R45: higher resistance yields lower current. For batteries smaller than 500 mAh, increasing R45 beyond 5 KΩ is advisable to stay within safe charging rates (typically 0.5C or less for lithium polymer cells). Conversely, the 0.68 KΩ minimum should not be reduced further — excessively high charge currents degrade battery cycle life and increase thermal stress.

Runtime depends heavily on display backlight brightness, WiFi/BT activity, and peripheral usage. The following estimates assume default backlight brightness (580 mA backlight current, set by R8) and moderate WiFi activity:

Battery CapacityEstimated RuntimeNotes
500 mAh~40 minutesMarginal, backlight dominates
1000 mAh~1.5 hoursMinimal headroom
2000 mAh~3 hoursRecommended maximum

Disabling the backlight during idle periods extends runtime dramatically — the ESP32-S3 and peripherals alone draw only approximately 150 mA at 3.3V, making a 2000 mAh battery last over 10 hours in display-off mode with periodic WiFi transmissions.

The MP3302DJ is a constant-current LED driver operating in boost topology. It steps the 5V rail up to the forward voltage required by the display’s LED backlight string (typically 18-20V for four series-connected white LEDs). The output current is regulated to a fixed value determined by the external sense resistor R8, ensuring consistent brightness regardless of input voltage fluctuations or LED forward voltage variation.

ParameterValue
Input voltage5V (from main power bus)
Output voltageUp to 28V (auto-adjusted for LED string)
Output currentSet by R8 (580 mA default at 1.2 K ohm)
Switching frequency1.2 MHz
Efficiency~85% at default load
Enable controlCH422G EXIO2 (high = on, low = shutdown)

The 1.2 MHz switching frequency is well above the audio band, so there is no audible whine from the inductor under normal conditions. The high frequency also allows the use of small inductors and capacitors, contributing to the compact PCB layout.

Total board current draw varies significantly with operating mode. The following measurements are taken at the 5V rail:

Operating ModeCurrent at 5VPower
Full operation (display on, WiFi active)~450 mA~2.25W
Display on, WiFi/BT off~380 mA~1.9W
Display off, WiFi active~150 mA~0.75W
Display off, WiFi/BT off (active idle)~80 mA~0.4W
Deep sleep (RTC only)~10 uA~50 uW

The deep sleep figure of approximately 10 uA is achievable only when all peripherals are powered down, including the CH422G and backlight. The PCF85063A RTC continues running from its CR927 backup battery in this state, maintaining time without drawing from the main supply.

The PCB uses separate ground domains to prevent noise coupling between sensitive analog/communication circuits and the high-current digital logic. The schematic uses three distinct ground symbols throughout the circuit to distinguish these domains visually:

Ground DomainSymbolSchematic AppearanceConnected Circuits
Digital GNDGNDTriangle with horizontal linesESP32-S3, USB bridges (CH343P), SGM2212 LDO, CH422G, digital logic, display data bus
Signal GND (isolated)SGNDTriangle with diagonal lines or “S” prefixCAN transceiver (TJA1051T), RS-485 transceiver (SP3485), optocoupler-isolated I/O
Earth/ShieldEARTHThree decreasing horizontal linesUSB connector metal shells, mounting hardware

The ground domains are connected at a single star point near the power input, providing a clean reference while maintaining isolation during transient events. When designing enclosures or mounting solutions, ensure the EARTH connection to the enclosure chassis is maintained through the mounting hardware for proper EMI shielding.