# Female Maroon Battle Mech
## Description
Wearable health device prototype schematic with ECG sensing via AD8232, motion sensing via BNO085 or BMI270 IMU breakout, on-board processing using TI TM4C123G LaunchPad or MSPM0G3507 LaunchPad, optional ESP8266 Wi-Fi, LiPo battery charging with MCP73831, regulated 3.3 V power from TPS63031 buck-boost or AP2112 LDO prototype option, and user interfaces including electrode connector, JST battery connector, programming header, and optional on/off switch.
## Project Details
- **Owner:** neevmehra
- **Created:** 3/22/2026
- **Last Updated:** 3/27/2026
- **Visibility:** Public
- **Selected Charger:** MCP73831 single-cell LiPo charger
- **Selected IMU Alternatives:** BNO085 breakout or BMI270 breakout
- **Selected 3.3 V Regulation:** TPS63031 buck-boost preferred, AP2112 LDO allowed for early breadboard prototyping
- **Selected ECG Front End:** AD8232 IC or breakout module
- **Selected MCU Alternatives:** TI TM4C123G LaunchPad or MSPM0G3507 LaunchPad
- **Selected Wi-Fi Option:** ESP8266 UART module optional
- **Design Rationale:** AD8232 is purpose-built for ECG signal conditioning, BMI270 supports low-voltage motion sensing, ESP8266 provides practical Wi-Fi connectivity with TM4C or MSPM0, and TPS63031 is preferred for stable 3.3 V operation across LiPo discharge in a wearable device.
- **Subsystem Blocks:** Processing: U1 or U2; ECG: U3 and J2; Motion: U4 or U5; Charging: U6, R1, C1, C2; Regulation: U7, L1, C3, C4 or U8, C3, C4; Connectivity: U9 and J3; Battery/User Interface: J1 and S1.
- **System Architecture:** ```mermaid
flowchart TD
subgraph Power [Power and Charging]
BAT[1-cell LiPo Battery]
CHG[MCP73831 Charger]
SW[On Off Switch Optional]
REG[TPS63031 3.3V Buck Boost or AP2112 LDO]
end
subgraph Sensing [Sensing]
ECG[AD8232 ECG Front End]
ELC[Electrode Connector]
IMU[BNO085 or BMI270 IMU Breakout]
end
subgraph Processing [Processing and Connectivity]
MCU[TM4C123G LaunchPad or MSPM0G3507 LaunchPad]
WIFI[ESP8266 UART Wi Fi Optional]
HDR[Programming Header]
end
BAT --> CHG
BAT --> SW
SW --> REG
CHG --> REG
REG --> MCU
REG --> ECG
REG --> IMU
REG --> WIFI
ELC --> ECG
ECG --> MCU
IMU --> MCU
HDR --> MCU
MCU --> WIFI
```
- **Prototype Path:** Populate U1 or U2 as processing path, U3 for ECG, U4 or U5 for motion sensing, U6 for charging, U7 preferred for wearable 3.3 V regulation or U8 for early bench prototyping, J1 battery connector, J2 electrodes, J3 programming header, S1 optional power switch, and U9 optional Wi-Fi.
## Key Components
### J1 — [JST B2B PH K 01x02 Connector](https://www.flux.ai/jharwinbarrozo/jst-b2b-ph-k-01x02-connector~zu5.md)
- Part Type: Connector
- Role Details: JST-PH 2-pin battery connector for removable single-cell LiPo attachment
- Manufacturer Name: JST Sales America
- Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf
- Package: Through Hole
- Manufacturer Part Number: B2B-PH-K-S(LF)(SN)
- Role: Battery Interface
- Connector Type: JST-PH
- Role Details: JST-PH battery connector for 1-cell LiPo pack
**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]
### J2 — [282834-3](https://www.flux.ai/adrian95/282834-3~ym.md)
- Manufacturer Part Number: 282834-3
- Connector Positions: 3
- Part Type: Connector
- Package: Terminal Block 3 Position
- License: https://creativecommons.org/licenses/by/4.0/
- Role Details: Electrode lead connector for ECG RA, LA, and RL connections
- Datasheet URL: https://www.te.com/usa-en/product-282834-3.datasheet.pdf
- Role: Sensor Interface
- Manufacturer Name: TE Connectivity AMP Connectors
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
### J3 — [Pin Header 01x03 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x03-254mm-vertical~cp4.md)
- Package: Through Hole
- Role: Programming
- Role Details: 3-pin programming or debug header for power and serial access during prototype bring-up
- Connector Positions: 3
- Part Type: Connector
**Pins:**
- Pin_1 [pin 1]
- Pin_2 [pin 2]
- Pin_3 [pin 3]
### J4 — [Connector 01x04 Horizontal](https://www.flux.ai/jharwinbarrozo/connector-01x04-horizontal~h0.md)
- Part Type: Connector
- Role Details: 4-pin auxiliary header for external 5 V input and debug breakout during prototyping
- Connector Positions: 4
- Role: Interface
- Package: Through Hole
**Pins:**
- PIN_1 [pin 1]
- PIN_2 [pin 2]
- PIN_3 [pin 3]
- PIN_4 [pin 4]
### S1 — [DS04-254-2-01BK-SMT](https://www.flux.ai/jecstronic/ds04-254-2-01bk-smt~t2.md)
- Datasheet URL: https://www.cuidevices.com/product/resource/ds04-254-smt.pdf
- Role Details: Optional system on off control between battery rail and regulator input
- Role: Power Switch
- Package: SMD
- Manufacturer Name: CUI Devices
- Part Type: Switch
- Manufacturer Part Number: DS04-254-2-01BK-SMT
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- ~ [pin 1B]
- ~ [pin 1A]
### U1 — [EK-TM4C123GXL](https://www.flux.ai/jecstronic/ek-tm4c123gxl~11b.md)
- Package: LaunchPad Development Board
- Role Details: Primary MCU option using TI TM4C123G LaunchPad for prototype processing and interface bring-up
- Part Type: Development Board
- Selected Alternatives: Alternative to U2 MSPM0G3507 MCU placeholder
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: EK-TM4C123GXL
- Datasheet URL: http://www.ti.com/lit/pdf/spmu296
- Manufacturer Name: Texas Instruments
- Design Rationale: LaunchPad gives fast prototype access to GPIO, UART, power, and programming interfaces
- Role: Processing
**Pins:**
- +3.3V [pin J1_1]
- +VBUS [pin J3_1]
- ~TARGETRST [pin J2_5]
- GND [pin J3_2]
- GND [pin J2_1]
- PA2 [pin J2_10]
- PA3 [pin J2_9]
- PA4 [pin J2_8]
- PA5 [pin J1_8]
- PA6 [pin J1_9]
- PA7 [pin J1_10]
- PB0 [pin J1_3]
- PB1 [pin J1_4]
- PB2 [pin J2_2]
- PB3 [pin J4_3]
- PB4 [pin J1_7]
- PB5 [pin J1_2]
- PB6 [pin J2_7]
- PB7 [pin J2_6]
- PC4 [pin J4_4]
- PC5 [pin J4_5]
- PC6 [pin J4_6]
- PC7 [pin J4_7]
- PD0 [pin J3_3]
- PD1 [pin J3_4]
- PD2 [pin J3_5]
- PD3 [pin J3_6]
- PD6 [pin J4_8]
- PD7 [pin J4_9]
- PE0 [pin J2_3]
- PE1 [pin J3_7]
- PE2 [pin J3_8]
- PE3 [pin J3_9]
- PE4 [pin J1_5]
- PE5 [pin J1_6]
- PF0 [pin J2_4]
- PF1 [pin J3_10]
- PF2 [pin J4_1]
- PF3 [pin J4_2]
- PF4 [pin J4_10]
### U2 — [MSPM0G3507SPTR](https://www.flux.ai/lcsc/mspm0g3507sptr~rup.md)
- Role: Processing
- Manufacturer Name: TI(德州仪器)
- Role Details: Alternative low-power MCU candidate representing MSPM0G3507 processing path
- LCSC Part Number: C22362630
- Selected Alternatives: Alternative to U1 TM4C123G LaunchPad placeholder
- Part Type: Microcontroller Units (MCUs/MPUs/SOCs)
- Package or Case Code: LQFP-48_L7.0-W7.0-P0.50-LS9.0-BL
- JLCPCB Part Class: Extended Part
- Design Rationale: Used as explicit MSPM0G3507 candidate because exact LaunchPad board symbol was unavailable while real MCU symbol is available
- Package: LQFP-48
- Manufacturer Part Number: MSPM0G3507SPTR
**Pins:**
- NRST [pin 4]
- PA0/FCC_IN [pin 1]
- PA1 [pin 2]
- PA10/CLK_OUT [pin 18]
- PA11 [pin 19]
- PA12/FCC_IN [pin 27]
- PA13 [pin 28]
- PA14/CLK_OUT/A0_12 [pin 29]
- PA15/A1_0 [pin 30]
- PA16/A1_1/FCC_IN [pin 31]
- PA17/A1_2 [pin 32]
- PA18/A1_3 [pin 33]
- PA19/SWDIO [pin 34]
- PA2/ROSC [pin 8]
- PA20/SWCLK [pin 35]
- PA21/A1_7/VREF- [pin 39]
- PA22/CLK_OUT/A0_7 [pin 40]
- PA23/VREF+ [pin 43]
- PA24/A0_3 [pin 44]
- PA25/A0_2/OPA0_IN1+ [pin 45]
- PA26/A0_1 [pin 46]
- PA27/RTC_OUT/A0_0 [pin 47]
- PA28 [pin 3]
- PA3/COMP1_OUT/LFXIN [pin 9]
- PA31/CLK_OUT [pin 5]
- PA4/LFCLK_IN/LFXOUT [pin 10]
- PA5/HFXIN/FCC_IN [pin 11]
- PA6/HFCLK_IN/HFXOUT [pin 12]
- PA7/CLK_OUT [pin 13]
- PA8 [pin 16]
- PA9/RTC_OUT/CLK_OUT [pin 17]
- PB14 [pin 24]
- PB15 [pin 25]
- PB16 [pin 26]
- PB17/A1_4 [pin 36]
- PB18/A1_5 [pin 37]
- PB19/A1_6 [pin 38]
- PB2 [pin 14]
- PB20/A0_6 [pin 41]
- PB24/A0_5 [pin 42]
- PB3 [pin 15]
- PB6 [pin 20]
- PB7 [pin 21]
- PB8 [pin 22]
- PB9 [pin 23]
- VCORE [pin 48]
- VDD [pin 6]
- VSS [pin 7]
### U3 — [AD8232ACPZ-R7](https://www.flux.ai/adrian95/ad8232acpz-r7~egm.md)
- Part Type: Integrated Circuit
- Design Rationale: Purpose-built ECG front end for low-power wearable biopotential sensing
- Package: LFCSP-20
- Role Details: ECG signal conditioning front end for electrode inputs and analog ECG output to processing subsystem
- Datasheet URL: https://www.analog.com/media/en/technical-documentation/data-sheets/AD8232.pdf
- Selected Alternatives: IC implementation; may be replaced with breakout module during early prototyping
- Manufacturer Part Number: AD8232ACPZ-R7
- Manufacturer Name: Analog Devices Inc.
- License: https://creativecommons.org/licenses/by/4.0/
- Role: Analog Front End
**Pins:**
- -IN [pin 3]
- +IN [pin 2]
- +VS [pin 17]
- ~SDN [pin 13]
- AC/~DC [pin 14]
- FR [pin 15]
- GND_1 [pin 16]
- GND_2 [pin 21]
- HPDRIVE [pin 1]
- HPSENSE [pin 20]
- IAOUT [pin 19]
- LOD- [pin 11]
- LOD+ [pin 12]
- OPAMP- [pin 9]
- OPAMP+ [pin 7]
- OUT [pin 10]
- REFIN [pin 18]
- REFOUT [pin 8]
- RLD [pin 5]
- RLDFB [pin 4]
- SW [pin 6]
### U4 — [BNO085](https://www.flux.ai/adrian95/bno085~3eb.md)
- Part Type: Development Board
- Manufacturer Name: Adafruit Industries LLC
- Design Rationale: Integrated sensor fusion simplifies posture and orientation estimation during prototyping
- Role: Motion Sensing
- Package: Breakout Board
- Manufacturer Part Number: 4754
- Selected Alternatives: Alternative to U5 BMI270 module
- Role Details: Primary IMU candidate for orientation and posture estimation
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-9-dof-orientation-imu-fusion-breakout-bno085.pdf
**Pins:**
- ~INT [pin JP1_6]
- ~RST [pin JP2_4]
- 3VO [pin JP1_2]
- BT [pin JP2_1]
- CS [pin JP2_6]
- DI [pin JP2_5]
- GND [pin JP1_3]
- P0 [pin JP2_2]
- P1 [pin JP2_3]
- SCL [pin JP1_4]
- SDA [pin JP1_5]
- VIN [pin JP1_1]
### U6 — [MCP73831-2-OT](https://www.flux.ai/kicad-part-library/mcp73831-2-ot~bmv.md)
- Role: Battery Charging
- Datasheet URL: http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf
- Package or Case Code: SOT-23-5
- Selected Alternatives: MCP73831 charger module acceptable for early prototyping
- Role Details: Single-cell LiPo charge controller between external 5 V input and battery node
- Package: SOT-23-5
- Manufacturer Part Number: MCP73831-2-OT
- Design Rationale: Simple single-cell charger with programmable current and status output
- Manufacturer Name: Microchip Technology Inc.
**Pins:**
- PROG [pin 5]
- STAT [pin 1]
- V_{BAT} [pin 3]
- V_{DD} [pin 4]
- V_{SS} [pin 2]
### U7 — [TPS63031DSKR](https://www.flux.ai/adrian95/tps63031dskr~yd3.md)
- Design Rationale: Better wearable choice because 3.3 V output remains regulated above and below nominal battery voltage
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Integrated Circuit
- Manufacturer Part Number: TPS63031DSKR
- Role: Power Regulation
- Datasheet URL: https://www.ti.com/lit/ds/symlink/tps63030.pdf
- Role Details: Preferred 3.3 V buck-boost regulator maintaining rail stability through LiPo discharge
- Selected Alternatives: Alternative to U8 AP2112 LDO prototype option
- Package: WSON-10
- Manufacturer Name: Texas Instruments
**Pins:**
- EN [pin 6]
- EP [pin 11]
- FB [pin 10]
- GND [pin 9]
- L1 [pin 4]
- L2 [pin 2]
- PGND [pin 3]
- PS/SYNC [pin 7]
- VIN [pin 5]
- VINA [pin 8]
- VOUT [pin 1]
### U8 — [AP2112K-3.3TRG1](https://www.flux.ai/adrian95/ap2112k-33trg1~zlq.md)
- Manufacturer Name: https://www.diodes.com/assets/Datasheets/AP2112.pdf
- Package: SOT-25
- Manufacturer Part Number: AP2112K-3.3TRG1
- Role: Power Regulation
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Integrated Circuit
- Role Details: Simpler 3.3 V LDO option for breadboard and early bench prototyping
- Selected Alternatives: Alternative to U7 TPS63031 buck-boost
- Datasheet URL: Diodes Incorporated
- Design Rationale: Simplifies early prototyping when battery discharge range coverage is less critical
**Pins:**
- EN [pin 3]
- GND [pin 2]
- NC [pin 4]
- VIN [pin 1]
- VOUT [pin 5]
### U9 — [ESP-01S](https://www.flux.ai/lcsc/esp-01s~7vns.md)
- Selected Alternatives: Optional population when wireless connectivity is required
- Manufacturer Part Number: ESP-01S
- Manufacturer Name: Ai-Thinker(安信可)
- Package: Module
- Design Rationale: Practical low-cost UART Wi-Fi module compatible with 3.3 V logic
- Product Info Url: https://lcsc.com/product-detail/WIFI-Modules_Ai-Thinker-ESP-01S_C503582.html
- JLCPCB Part Class: Extended Part
- Role: Connectivity
- Role Details: Optional UART Wi-Fi link for wireless data offload or telemetry
- LCSC Part Number: C503582
- Package or Case Code: WIFIM-TH_8P-L24.7-W14.4-P2.54
- Part Type: WiFi Modules
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2409231126_Ai-Thinker-ESP-01S_C503582.pdf
**Pins:**
- EN [pin 6]
- GND [pin 1]
- IO0 [pin 3]
- IO2 [pin 2]
- RST [pin 7]
- RXD [pin 4]
- TXD [pin 5]
- VCC [pin 8]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/neevmehra/female-maroon-battle-mech~rg](https://www.flux.ai/neevmehra/female-maroon-battle-mech~rg).*
---
*Generated from [https://www.flux.ai/neevmehra/female-maroon-battle-mech~rg](https://www.flux.ai/neevmehra/female-maroon-battle-mech~rg)*