BM
BM-002 / PROJECT STUDY

ESP32 Development Board

A custom ESP32 development board with an 18650 battery, charging, buck/boost regulation, and protection circuitry.

ELECTRONICS
ESP32 development board PCB layout, showing copper traces, pin headers, and component footprints.
BM-002 / FIG. 01PCB / LAYOUT VIEW

01 / DEVELOPMENT

Project overview

I’ve heard the ESP32 called the “sledgehammer” of microcontrollers. The series is loved for its ease of programming, built-in Wi-Fi and Bluetooth, and extensive documentation. Many builders use the ESP32, and I wanted to learn how to design a board with one.

The goal of this project was to build a custom development board with an ESP32, an 18650 battery, a charge IC, a buck/boost IC, and a protection IC for the battery. For me, these were the fundamentals I wanted to carry into future designs.

BM-002 / FIG. 02VIDEO / TESTING

02 / DEVELOPMENT

Testing

There are few feelings quite as exciting as getting a PCB you designed to blink an LED. I was able to program the ESP32 over USB, the 18650 battery would charge, and the buck/boost IC provided a constant 3.3 V.

This design does have one issue: the protection IC does not consistently stop the battery from discharging below its operating range. I attempted to replace the MOSFETs, but the issue persisted. The design does not include real-time battery voltage readings by the microcontroller, let alone a fuel gauge. As a result, what was meant to be a last-resort protection is the only means of protection.

BM-002 / FIG. 03VIDEO / NEXT STEPS

03 / DEVELOPMENT

Next steps

I learned a good deal by creating this design, and the project instilled a lot of confidence in my ability to design more complex PCBs in the future.