ESP32-S3-DevKitC-1
ESP32-S3 Battery Monitor And Continuity Tester
Overview
An ESP32-S3 DevKitC-1 benchtop testing tool featuring a voltage divider for 0-5V battery measurement, a continuity checker, and a Wi-Fi web interface with captive portal setup.
System architecture
- USB_POWER → MCU_DEVKITUSBProvides 5V main power to development board via USB-C
- VOLTAGE_SENSE_DIVIDER → MCU_DEVKITADCScaled 0-2.5V analog signal input to ADC1 channel on GPIO4
- CONTINUITY_TEST_CIRCUIT → MCU_DEVKITGPIODigital state detection line for continuity testing on GPIO5
Bill of materials
| Part number | Type | Component | Manufacturer | Package | Qty | Datasheet | Match |
|---|---|---|---|---|---|---|---|
| TYPE-C-31-M-12 | POWER | USB-C 5V Wall Adapter Provides 5V input power to the dev kit and system | 韩国韩荣 | — | 1 | Matched | |
| ESP32-S3-DevKitC-1-N8 | MCU | ESP32-S3-DevKitC-1 Hosts Wi-Fi stack, web server, captive portal, and ADC processing | Espressif Systems | - | 1 | Matched | |
4 alternatives consideredAI verified | |||||||
| CR0805-FX-1002ELF | SENSOR | Dual 10k Metal Film Resistor Divider Scales 0-5V DC battery input down to 0-2.5V for safe ADC reading | BOURNS | 0805 (2012 Metric) | 2 | Matched | |
| RC0603FR-0710KL | SENSOR | 10k Pull Resistor Continuity Probe Detects short or open circuit states via GPIO5 probe inputs | 国巨 | 0603 | 1 | Matched | |
Build guide
Procurement & Preparation
- Gather all BOM components including USB-C 5V Wall Adapter, ESP32-S3-DevKitC-1-N8, CR0805-FX-1002ELF resistors, and RC0603FR-0710KL pull resistor.
- Prepare the prototype PCB, soldering iron, flux, and lead-free solder wire on a well-ventilated workbench.
Hardware Assembly & Wiring
- Mount and solder the ESP32-S3-DevKitC-1-N8 module onto the prototype board, securing all power and ground pins.
- Construct the Dual 10k Metal Film Resistor Divider using two CR0805-FX-1002ELF resistors, connecting the midpoint to ADC_IN_GPIO4 for 0-5V scaling.
- Wire the 10k pull-up resistor (RC0603FR-0710KL) to GPIO5 for the continuity probe circuit.
- Connect the USB-C 5V Wall Adapter input interface (TYPE-C-31-M-12) to the VBUS and GND pins of the ESP32-S3 dev kit.
Firmware Setup
- Install ESP-IDF or Arduino IDE with ESP32 board support packages and configure project dependencies for Wi-Fi, Web Server, and ADC reading.
- Flash the firmware containing the captive portal, web server interface, battery monitoring logic, and continuity checker to the ESP32-S3.
Testing & Calibration
- Power the device using the USB-C 5V Wall Adapter and verify that the captive portal Wi-Fi access point broadcasts successfully.
- Apply a known 0-5V DC voltage source to the voltage divider input and calibrate the ADC scaling factor via the web interface.
- Test the continuity checker by shorting and opening the GPIO5 probe leads, confirming real-time status updates on the web dashboard.
Document
ESP32-S3 Battery Monitor And Continuity Tester
An ESP32-S3 DevKitC-1 benchtop testing tool featuring a voltage divider for 0-5V battery measurement, a continuity checker, and a Wi-Fi web interface with captive portal setup.
Design Overview
| Item | Details |
|---|---|
| Product Type | ESP32-S3 Battery Monitor And Continuity Tester |
| Key Functions | Measure 0-5V DC battery voltage using a 10k/10k voltage divider on GPIO4, Check circuit continuity using a 10k resistor on GPIO5, Host a web server to display readings in a phone web browser over Wi-Fi, Provide a captive portal for easy Wi-Fi configuration on first boot |
| Power Source | USB-C 5V |
| Connectivity | WiFi |
| Size | Standard breadboard prototyping layout |
| Environment | indoor |
| Difficulty | Intermediate |
| Est. Time | 3-5 hours |
System Architecture
Power Topology: USB-C 5V feeds the ESP32-S3 DevKitC-1 onboard LDO regulator to generate clean 3.3V system logic power.
Module List
| Module ID | Type | Name | Function | Voltage |
|---|---|---|---|---|
| USB_POWER | POWER | USB-C 5V Wall Adapter | Provides 5V input power to the dev kit and system | 5V |
| MCU_DEVKIT | MCU | ESP32-S3-DevKitC-1 | Hosts Wi-Fi stack, web server, captive portal, and ADC processing | 3.3V |
| VOLTAGE_SENSE_DIVIDER | SENSOR | Dual 10k Metal Film Resistor Divider | Scales 0-5V DC battery input down to 0-2.5V for safe ADC reading | 0-5V |
| CONTINUITY_TEST_CIRCUIT | SENSOR | 10k Pull Resistor Continuity Probe | Detects short or open circuit states via GPIO5 probe inputs | 3.3V |
Design Schemes
ESP32-S3 DevKitC-1 Breadboard Prototype ★
Utilizes an off-the-shelf ESP32-S3 DevKitC-1 mounted on a breadboard with a 10k/10k voltage divider on GPIO4 and a 10k continuity test circuit on GPIO5.
Trade-offs: Easy breadboard prototyping and debugging, but larger physical footprint than a custom PCB.
Key IC selection
main MCU and Wi-Fi processor
- Need: Provide dual-core processing, integrated 2.4GHz Wi-Fi for web server/captive portal, and ADC channels for voltage sensing.
- Class: Wi-Fi enabled 32-bit microcontroller development board
- Shortlist: ESP32-S3-DevKitC-1, ESP32-WROOM-32 DevKit
- Pick: Select ESP32-S3-DevKitC-1-N8R2 for native USB support, AI acceleration features, and sufficient flash/PSRAM.
analog voltage scaling front-end
- Need: Accurately step down a 0-5V external DC voltage to a maximum of 2.5V to prevent over-voltage damage to the ESP32-S3 ADC pin.
- Class: Precision resistive voltage divider network
- Shortlist: 1% Metal Film Resistors (10k/10k), Matched Resistor Divider Array
- Pick: Select two 10kΩ 0.1% or 1% tolerance 0805 surface-mount metal film resistors to ensure stable division ratio.
Risk register
| ID | Area | Severity | Detail | Mitigation |
|---|---|---|---|---|
| r1 | firmware | high | ESP32-S3 ADC nonlinearity and high noise at the extremes of its range can cause inaccurate battery voltage readings without proper calibration. | Implement multi-sample averaging in firmware, use ESP32-S3 line fitting/characteristics APIs (esp_adc_cal), and add a 100nF capacitor on GPIO4 to ground for hardware noise filtering. |
| r2 | power | med | Connecting an external 5V battery source directly or improper probing during continuity tests could introduce transients or over-voltage spikes to GPIO5 or GPIO4. | Add Schottky diode clamping (e.g., BAT54S) to the GPIO inputs to clamp voltages safely within the 0V to VDD rail limits. |
Key Components
4/4 modules matched to real parts. See the BOM tab for the full component table.
USB-C 5V Wall Adapter (TYPE-C-31-M-12)
The candidate's MPN matches the primary MPN (TYPE-C-31-M-12) exactly.
ESP32-S3-DevKitC-1 (ESP32-S3-DevKitC-1-N8)
The candidate matches the primary MPN prefix 'ESP32-S3-DevKitC-1' and comes from the preferred manufacturer 'Espressif S
Build Summary
- Difficulty: Intermediate
- Estimated time: 3-5 hours
- Tools required: Soldering Iron, Lead-Free Solder, Solder Flux, Multimeter, DC Bench Power Supply, Tweezers
See the Build tab for the full step-by-step assembly guide.
Generated by YuanQi AI Design System · Query: ESP32-S3 DevKitC-1 project measuring 0-5V DC battery voltage via voltage divider (two 10k resistors on GPIO4) and checking continuity (third 10k resistor on GPIO5). Readings displayed in phone web browser over Wi-Fi. All connections on one header side.