# ESP32 Battery Management System Controller Board ## Description ESP32 Battery Management System Controller Board – An innovative solution for smart power control and audio recording integration. This cutting-edge board harnesses the power of the ESP32 microcontroller to deliver precise battery management and seamless integration with an S3 Voice Recorder subsystem. Perfect for advanced IoT applications, the board’s robust design ensures reliable energy optimization, remote monitoring, and real-time performance coupled with high-quality voice recording capabilities. Experience enhanced connectivity, efficient power regulation, and smart audio functionality, all in one compact package that paves the way for next-generation smart devices. #ESP32 #BatteryManagement #VoiceRecorder #IoT #SmartDevices #ControllerBoard ## Project Details - **Owner:** jharwinbarrozo - **Created:** 4/3/2023 - **Last Updated:** 2/17/2025 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ - **Software:** https://github.com/stuartpittaway/diyBMSv4ESP32 - **Stars:** 43 - **Forks:** 53 - **Copies:** 52 ## Key Components ### — M3 Mounting Hole - Product Info Url: https://www.mcmaster.com/screws/drive-style~torx/rounded-head-style~pan/material~steel/specifications-met~iso-7045/thread-size~m3/finish~zinc-plated/ **Pins:** - terminal ### — M3 Mounting Hole - Product Info Url: https://www.mcmaster.com/screws/drive-style~torx/rounded-head-style~pan/material~steel/specifications-met~iso-7045/thread-size~m3/finish~zinc-plated/ **Pins:** - terminal ### — M3 Mounting Hole - Product Info Url: https://www.mcmaster.com/screws/drive-style~torx/rounded-head-style~pan/material~steel/specifications-met~iso-7045/thread-size~m3/finish~zinc-plated/ **Pins:** - terminal ### — M3 Mounting Hole - Product Info Url: https://www.mcmaster.com/screws/drive-style~torx/rounded-head-style~pan/material~steel/specifications-met~iso-7045/thread-size~m3/finish~zinc-plated/ **Pins:** - terminal ### D2 — LL4148 - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/NextGen%20Components%20PDFs/LL4148.pdf - Manufacturer Part Number: LL4148 - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Diode - Manufacturer Name: MDD **Pins:** - A [pin 2] - K [pin 1] ### D5 — LL4148 - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: LL4148 - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/NextGen%20Components%20PDFs/LL4148.pdf - Manufacturer Name: MDD - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D7 — 1N5338BRLG - Manufacturer Part Number: 1N5338BRLG - Datasheet URL: https://www.onsemi.com/pdf/datasheet/1n5333b-d.pdf - Manufacturer Name: ON Semiconductor - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D8 — NUP2105LT1G - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Diode - Manufacturer Part Number: NUP2105LT1G - Manufacturer Name: ON Semiconductor - Datasheet URL: https://www.onsemi.com/pdf/datasheet/nup2105l-d.pdf **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] ### F1 — TLC-LSMD185 - Part Type: Protection - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: TLC Electronic - Manufacturer Part Number: TLC-LSMD185 - Datasheet URL: https://datasheet.lcsc.com/lcsc/1810111823_TLC-Electronic-TLC-LSMD185_C262041.pdf - Current: 1.85A **Pins:** - P1 [pin 1] - P2 [pin 2] ### J1 — DB125-3.81-4P-GN-S - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: DIBO - Manufacturer Part Number: DB125-3.81-4P-GN-S - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2304061030_DORABO-DB125-3-81-4P-GN-S_C395880.pdf **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### J10 — Connector 01x02 Horizontal - Part Type: Connector - Manufacturer Part Number: PZ254R-11-02P **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] ### J12 — DB125-3.81-4P-GN-S - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Part Number: DB125-3.81-4P-GN-S - Manufacturer Name: DIBO - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2304061030_DORABO-DB125-3-81-4P-GN-S_C395880.pdf **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### J14 — Pin Header 01x07 2.54mm Vertical - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] - Pin_4 [pin 4] - Pin_5 [pin 5] - Pin_6 [pin 6] - Pin_7 [pin 7] ### J15 — 0472192001 - Datasheet URL: https://www.molex.com/pdm_docs/sd/472192001_sd.pdf - Manufacturer Name: Molex - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Part Number: 0472192001 **Pins:** - CD/DAT3 [pin 2] - CLK [pin 5] - CMD [pin 3] - DAT0 [pin 7] - DAT1 [pin 8] - DAT2 [pin 1] - GND_1 [pin G1] - GND_2 [pin G2] - GND_3 [pin G3] - GND_4 [pin G4] - VDD [pin 4] - VSS [pin 6] ### J2 — DB126V-5.0-3P-GN - Part Type: Connector - Manufacturer Name: DIBO - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_DIBO-DB126V-5-0-3P-GN_C395850.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: DB126V-5.0-3P-GN **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] - PIN3 [pin 3] ### J3 — DB126V-5.0-3P-GN - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_DIBO-DB126V-5-0-3P-GN_C395850.pdf - Manufacturer Name: DIBO - Part Type: Connector - Manufacturer Part Number: DB126V-5.0-3P-GN - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] - PIN3 [pin 3] ### J4 — DB125-3.81-4P-GN-S - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2304061030_DORABO-DB125-3-81-4P-GN-S_C395880.pdf - Manufacturer Name: DIBO - Manufacturer Part Number: DB125-3.81-4P-GN-S **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### J5 — DB125-3.81-4P-GN-S - Manufacturer Part Number: DB125-3.81-4P-GN-S - Manufacturer Name: DIBO - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2304061030_DORABO-DB125-3-81-4P-GN-S_C395880.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### J7 — DB125-3.81-4P-GN-S - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2304061030_DORABO-DB125-3-81-4P-GN-S_C395880.pdf - Manufacturer Part Number: DB125-3.81-4P-GN-S - Manufacturer Name: DIBO - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### J8 — Pin Header 02x03 2.54mm Vertical - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] - Pin_4 [pin 4] - Pin_5 [pin 5] - Pin_6 [pin 6] ### K1 — SRD-05VDC-SL-C - Manufacturer Name: Ningbo Songle Relay - Part Type: Relay - Datasheet URL: https://www.circuitbasics.com/wp-content/uploads/2015/11/SRD-05VDC-SL-C-Datasheet.pdf - Manufacturer Part Number: SRD-05VDC-SL-C **Pins:** - A1 [pin A1] - A2 [pin A2] - COM [pin COM] - NC [pin NC] - NO [pin NO] ### K2 — SRD-05VDC-SL-C - Manufacturer Part Number: SRD-05VDC-SL-C - Datasheet URL: https://www.circuitbasics.com/wp-content/uploads/2015/11/SRD-05VDC-SL-C-Datasheet.pdf - Part Type: Relay - Manufacturer Name: Ningbo Songle Relay **Pins:** - A1 [pin A1] - A2 [pin A2] - COM [pin COM] - NC [pin NC] - NO [pin NO] ### LED1 — HL-AF-5060H271BU46FU79GC-S1-THL - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811131122_HONGLITRONIC-Hongli-Zhihui--HONGLITRONIC-HL-AF-5060H271BU46FU79GC-S1-THL_C219409.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: HONGLITRONIC(Hongli Zhihui (HONGLITRONIC)) - Part Type: LED - Manufacturer Part Number: HL-AF-5060H271BU46FU79GC-S1-THL **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] - P5 [pin 5] - P6 [pin 6] ### LED2 — MHPC3528CRGBCT - Part Type: LED - Manufacturer Part Number: MHPC3528CRGBCT - Manufacturer Name: MEIHUA - Datasheet URL: https://datasheet.lcsc.com/lcsc/2202141600_MEIHUA-MHPC3528CRGBCT_C2962096.pdf - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### LED3 — LED 0603 (1608 Metric) - Part Type: LED **Pins:** - A [pin 2] - K [pin 1] ### LED4 — LED 0603 (1608 Metric) - Part Type: LED **Pins:** - A [pin 2] - K [pin 1] ### Q1 — AO3400A - Manufacturer Name: Alpha & Omega Semiconductor Inc. - Manufacturer Part Number: AO3400A - Part Type: Transistor - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/Alpha%20&%20Omega/AO3400A_ds.pdf **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### Q2 — AO3400A - Manufacturer Name: Alpha & Omega Semiconductor Inc. - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/Alpha%20&%20Omega/AO3400A_ds.pdf - Part Type: Transistor - Manufacturer Part Number: AO3400A - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### Q3 — AO3401A - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: HUASHUO - Manufacturer Part Number: AO3401A - Part Type: Transistor - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2007171935_HUASHUO-AO3401A_C700954.pdf **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### Q4 — AO3400A - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: AO3400A - Part Type: Transistor - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/Alpha%20&%20Omega/AO3400A_ds.pdf - Manufacturer Name: Alpha & Omega Semiconductor Inc. **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### RX1 — S2B-PH-K-S(LF)(SN) - Manufacturer Name: JST Sales America Inc. - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Part Number: S2B-PH-K-S(LF)(SN) **Pins:** - P1 [pin 1] - P2 [pin 2] ### SW1 — TS-1002-10026 - Manufacturer Part Number: TS-1002-10026 - Part Type: Switch - Datasheet URL: https://datasheet.lcsc.com/lcsc/2304140030_XUNPU-TS-1002-10026_C455101.pdf - Manufacturer Name: XUNPU **Pins:** - 4 [pin 4] - 3 [pin 3] - 1 [pin 1] - 2 [pin 2] ### SW2 — TS-1002-10026 - Part Type: Switch - Manufacturer Part Number: TS-1002-10026 - Manufacturer Name: XUNPU - Datasheet URL: https://datasheet.lcsc.com/lcsc/2304140030_XUNPU-TS-1002-10026_C455101.pdf **Pins:** - 4 [pin 4] - 3 [pin 3] - 1 [pin 1] - 2 [pin 2] ### TX1 — S2B-PH-K-S(LF)(SN) - Part Type: Connector - Manufacturer Part Number: S2B-PH-K-S(LF)(SN) - Manufacturer Name: JST Sales America Inc. - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - P1 [pin 1] - P2 [pin 2] ### U1 — TXS0102DCUTG4 - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftxs0102 - Part Type: Integrated Circuit - Manufacturer Name: Texas Instruments - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: TXS0102DCUTG4 **Pins:** - A1 [pin 5] - A2 [pin 4] - B1 [pin 8] - B2 [pin 1] - GND [pin 2] - OE [pin 6] - VCCA [pin 3] - VCCB [pin 7] ### U12 — AQY282SX - Manufacturer Part Number: AQY282SX - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/Panasonic%20Electric%20Works%20PDFs/AQY,W28xS_DS.pdf - Manufacturer Name: Panasonic - Part Type: Relay **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### U2 — EL3H7(B)(TA)-G - Part Type: Transistor - Datasheet URL: https://everlightamericas.com/index.php?controller=attachment&id_attachment=2584 - Manufacturer Name: Everlight Electronics Co Ltd - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: EL3H7(B)(TA)-G **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] ### U20 — Adafruit SPI TFT LCD Display Touch ILI9341 - Part Type: Display Device - Manufacturer Name: Adafruit Industries - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf - Manufacturer Part Number: Adafruit ILI9341 **Pins:** - CS [pin 12] - D/C [pin 10] - GND [pin 13] - LED [pin 7] - MISO [pin 6] - MOSI [pin 9] - RESET [pin 11] - SCK [pin 8] - SD_CS [pin SD4] - SD_MISO [pin SD2] - SD_MOSI [pin SD3] - SD_SCK [pin SD1] - T_CLK [pin 5] - T_CS [pin 4] - T_DIN [pin 3] - T_DO [pin 2] - T_IRQ [pin 1] - VCC [pin 14] ### U3 — TCA6416APWR - Manufacturer Name: Texas Instruments - Manufacturer Part Number: TCA6416APWR - Datasheet URL: https://www.ti.com/lit/ds/symlink/tca6416a.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Integrated Circuit **Pins:** - ~INT [pin 1] - ~RESET [pin 3] - ADDR [pin 21] - GND [pin 12] - P00 [pin 4] - P01 [pin 5] - P02 [pin 6] - P03 [pin 7] - P04 [pin 8] - P05 [pin 9] - P06 [pin 10] - P07 [pin 11] - P10 [pin 13] - P11 [pin 14] - P12 [pin 15] - P13 [pin 16] - P14 [pin 17] - P15 [pin 18] - P16 [pin 19] - P17 [pin 20] - SCL [pin 22] - SDA [pin 23] - VCC1 [pin 2] - VCCP [pin 24] ### U4 — ESP32-DEVKITC-32D - Datasheet URL: https://www.snapeda.com/parts/ESP32-DEVKITC-32D/Espressif%20Systems/datasheet/ - Part Type: RF Moule - Manufacturer Part Number: ESP32-DEVKITC-32D - Manufacturer Name: Espressif Systems **Pins:** - 3V3 [pin 1] - CLK [pin 38] - CMD [pin 18] - EN [pin 2] - EXT_5V [pin 19] - GND1 [pin 14] - GND2 [pin 26] - GND3 [pin 20] - IO0 [pin 33] - IO12 [pin 13] - IO13 [pin 15] - IO14 [pin 12] - IO15 [pin 35] - IO16 [pin 31] - IO17 [pin 30] - IO18 [pin 28] - IO19 [pin 27] - IO2 [pin 34] - IO21 [pin 25] - IO22 [pin 22] - IO23 [pin 21] - IO25 [pin 9] - IO26 [pin 10] - IO27 [pin 11] - IO32 [pin 7] - IO33 [pin 8] - IO34 [pin 5] - IO35 [pin 6] - IO4 [pin 32] - IO5 [pin 29] - RXD0 [pin 24] - SD0 [pin 37] - SD1 [pin 36] - SD2 [pin 16] - SD3 [pin 17] - SENSOR_VN [pin 4] - SENSOR_VP [pin 3] - TXD0 [pin 23] ### U5 — SN65HVD75DR - Part Type: Integrated Circuit - Manufacturer Part Number: SN65HVD75DR - Manufacturer Name: Texas Instruments - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn65hvd75 - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - ~RE [pin 2] - A [pin 6] - B [pin 7] - D [pin 4] - DE [pin 3] - GND [pin 5] - R [pin 1] - VCC [pin 8] ### U6 — AMS1117-3.3 - Part Type: Integrated Circuit - Manufacturer Part Number: AMS1117-3.3 - Manufacturer Name: AMS - Datasheet URL: http://www.advanced-monolithic.com/pdf/ds1117.pdf - Symbol Style: Parametric - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - GND [pin 1] - TAB(VOUT) [pin 4] - VIN [pin 3] - VOUT [pin 2] ### U7 — SN65HVD1050D - Manufacturer Name: Texas Instruments - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn65hvd1050 - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: SN65HVD1050D - Part Type: Integrated Circuit **Pins:** - CANH [pin 7] - CANL [pin 6] - GND [pin 2] - RXD [pin 4] - S [pin 8] - TXD [pin 1] - VCC [pin 3] - VREF [pin 5] ### U9 — AQY282SX - Part Type: Relay - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/Panasonic%20Electric%20Works%20PDFs/AQY,W28xS_DS.pdf - Manufacturer Name: Panasonic - Manufacturer Part Number: AQY282SX - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/jharwinbarrozo/esp32-battery-management-system-controller-board~mo](https://www.flux.ai/jharwinbarrozo/esp32-battery-management-system-controller-board~mo).* --- *Generated from [https://www.flux.ai/jharwinbarrozo/esp32-battery-management-system-controller-board~mo](https://www.flux.ai/jharwinbarrozo/esp32-battery-management-system-controller-board~mo)*