I created a demo app to explore the power management and monitoring features. It is based on Arduino and uses PowerFeather-SDK. So, follow these instructions to add support for the ESP32-S3 PowerFeather in the Arduino IDE and install the PowerFeather-SDK library.
Once done, you can download the demo app source code as a ZIP file on GitHub. Extract the ZIP file and open the project in Arduino IDE.

Afterwards, install the additional libraries needed by the demo app: ESPAsyncWebServer and ESPUI.

Don't forget to set the target board to "ESP32-S3 PowerFeather". You should now be able to build the demo app and flash it onto your ESP32-S3 PowerFeather like any other Arduino sketch.

Once the demo app is up and running on the ESP32-S3 PowerFeather, it acts as an access point and serves the demo web app. A phone, tablet or computer can connect to this access point, and the demo app can then be loaded by a web browser at the IP address 192.168.1.1.
Tablet connected to ESP32-S3 PowerFeather AP, loaded demo app on browser
The demo web app is a dashboard displaying information and controls of some power-related parameters of the ESP32-S3 PowerFeather:
- Battery Information
- Voltage
- Charge/Discharge Current
- Charge Percent
- Time Left Estimate (time-to-full/time-to-empty)
- Health Percent Estimate
- Cycles Estimate - Supply Information
- Voltage
- Current - Battery Temperature Sense
- Enable Battery Temperature Sense
- Battery Temperature Display - Charging
- Enable/Disable Charging
- Max Charging Current (from 50 mA to 2000 mA) - 3.3 V Outputs
- Enable/Disable 3.3 V Header Pin Output
- Enable/Disable STEMMA QT 3.3V Output - Max Power Point
- Set Max Power Point Voltage (from 4600 mV to 16800 mV) - Power States
- Enter Ship Mode- Enter Deep Sleep
With the demo app flashed on the ESP32-S3 PowerFeather, we can now perform the demonstrations.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.