Smart Espresso Scale
U2 BQ24295, U3 TLV1117LV33, U4 ESP32-S3 module, U5 NAU7802, U6 TPS22919, USB-C J1, microSD J5, battery connector J2, load-cell header J4, and polarized LEDs.Table
| Rail | Source | Expected | Measure At | Current Limit | Pass Criteria |
|---|---|---|---|---|---|
| VBUS | USB-C J1 | 5.0 V | J1 VBUS / U2 VBUS | 300 mA initial | 4.75–5.25 V, no overheating |
| VBAT | Battery J2 / charger U2 | 3.0–4.2 V | J2, U2 BAT | 100 mA first battery test | Correct polarity, no reverse current issue |
| VSYS | BQ24295 SYS | ~3.5–4.4 V depending source/battery | U2 SYS, U3 IN | 300 mA initial | Stable rail feeding regulator |
| 3V3 | TLV1117LV33 U3 | 3.3 V | U3 OUT, U4 3V3 | 300 mA initial | 3.20–3.40 V under idle firmware |
| 3V3_SD | TPS22919 U6 output | 3.3 V when enabled | U6 OUT / J5 VDD | 100 mA | Off before enable, 3.3 V after firmware enables SD power |
Table
| Signal | Net | Expected State | Measure At | Notes |
|---|---|---|---|---|
| MCU enable | MCU_EN | High after RC delay | U4 EN | Reset button should pull low if fitted |
| Boot strap | MCU_BOOT | Normal boot idle high/pulled state | U4 BOOT GPIO | Hold BOOT during reset for loader mode |
| I2C | I2C_SDA/SCL | Idle high at 3.3 V | U4, U5, DS1 | Scope for 400 kHz transactions |
| Load ADC ready | LOAD_DRDY | Pulses/low-ready | U5 DRDY / U4 IO8 | Confirms NAU7802 conversions |
| USB data | USB_D+/USB_D- | Enumerates as USB serial | J1, U4 IO19/20 | Check ESD path continuity |
| Charger interrupt | CHG_INT | High idle, low on charger event | U2 / U4 IO7 | Verify with battery attach/remove |
Table
| Connector | Type | Test |
|---|---|---|
J1 USB-C | Power / native USB | Verify CC pull-down detection, 5 V VBUS, USB serial enumeration |
J2 B2B-PH-K-S | 1S Li-ion | Verify polarity and charge current before real cell use |
J3 2x3 header | UART/program/debug | Verify TX/RX/GND continuity and 3.3 V logic level |
J4 BHR-12-VUA | Load cell header | Verify excitation/signal wiring before attaching load cell |
J5 microSD socket | SPI storage | Insert card, confirm shots.csv creation |
DS1 OLED | I2C display | Confirm address 0x3C and visible weight readout |
NAU7802:OK and SD status messages.Smart Espresso Scale from a phone.Table
| Test | Input | Expected Output | Pass Criteria |
|---|---|---|---|
| I2C scan | Firmware boot | Finds 0x2A, 0x3C, optionally 0x6B | All populated I2C devices respond |
| Load-cell raw data | Light pressure on load cell | Raw counts change monotonically | Stable zero, no large noise bursts |
| Tare button | Press SW1 | Display returns near 0 g | Tare event works repeatedly |
| Start/stop | Press SW2 | Logging toggles | CSV logging starts/stops |
| microSD logging | Insert FAT card | /shots.csv grows | Timestamp, grams, raw rows present |
| BLE notify | Phone connected | Weight characteristic updates | Updates about every 100 ms |
| Charger | Attach battery + USB | Status LED / I2C status changes | Charge current within selected cell limit |
Prerequisites
1. Visual Inspection
2. Power Rail Verification
3. Critical Signals
4. Connector and Interface Tests
5. Programming and Debug
6. Functional Validation
Open Bring-Up Items