BLE Pool Pressure Monitor
PCB Fabrication Readiness Review
Waiting for input
Table
| GPIO | Net / function | Notes |
|---|---|---|
| P0.02 / AIN0 | CELL_B_TEMP_ADC | Scaled Cell B NTC voltage; valid while USB enables TEMP_MON_SUPPLY |
| P0.03 / AIN1 | CELL_A_TEMP_ADC | Scaled Cell A NTC voltage; valid while USB enables TEMP_MON_SUPPLY |
| P0.04 / AIN2 | PRESSURE_ADC | Pressure SAADC input |
| P0.05 / AIN3 | BATTERY_ADC | 1S pack voltage through 3.3 MΩ / 1 MΩ divider |
| P0.06 | SENSOR_EN | Active-high 5 V sensor boost enable |
| P0.07 | CHARGE_STATUS_N | U6 CHG open-drain; low while charging |
| P0.08 | Unused | Former Hall input; intentionally no-connect |
| P0.12 | CHARGE_ENABLE_N | Active low; drive high to disable charging; R34 defaults low |
| P0.13/P0.14/P0.15 | LED_RED_N / LED_GREEN_N / LED_BLUE_N | Active-low PWM cathode drives for the remote common-anode RGB button LED |
| P0.16 | BUZZER_PWM | Piezo tone |
| P0.17/P0.19/P0.20/P0.21 | SPI flash | CS/SCK/MOSI/MISO |
| P0.18 | RESET_N | Reset/SWD |
| P1.09 | USB_POWER_GOOD_N | U6 PGOOD open-drain; low with valid USB input |
| P1.08 | SW_IN_MCU | Active-low remote momentary switch; low-power GPIO SENSE wake capable |
(3.3M + 1M) / 1M = 4.3; 4.2 V pack gives about 0.977 V at the ADC node.330k / (1M + 330k) = 0.24812. Estimate x = Vtemp_adc / (Vpack × 0.24812) and Rntc = 10k × x / (1 - x), then use the Semitec 103AT-2 table/Beta conversion. Nominal ADC/Vpack ratios are about 0.1816 at 0°C, 0.1241 at 25°C, and 0.0729 at 50°C; open approaches 0.2481 and short approaches 0.Toolchain
Pin Mapping
Charging Hardware Behavior
Firmware Charge Safety Supervisor
Battery State and Shutdown
Startup Sequence
Remote Illuminated-Button UI
BLE Additions