ESP32 Sensor Project
Table
| Rail | Source | Expected Voltage | Tolerance | Measure At | Current Limit | Pass Criteria |
|---|---|---|---|---|---|---|
| 5V | J1 PIN_1 Battery Shield output | 5.0 V | ±5% | U1:5V, U2:5V, U3:VCC | 500 mA first test, then ≥1 A available | 4.75–5.25 V, no overheating |
| 3V3 | J1 PIN_2 / regulated shield rail | 3.3 V | ±5% | U1:3V3, U2:3V3, U3:VDD, U4:VIN, U5:VDD | 300 mA | 3.14–3.47 V |
| GND | J1 PIN_3/PIN_4 | 0 V | n/a | all module GND pins | n/a | continuity to common ground |
Table
| Signal | Net Name | Expected State | Measure At | Notes |
|---|---|---|---|---|
| I2C SDA | I2C_SDA | Idle high at ~3.3V | U1 IO21 / U4 SDA | R2 pull-up. |
| I2C SCL | I2C_SCL | Idle high at ~3.3V | U1 IO22 / U4 SCL | R3 pull-up. |
| DS18B20 data | DS18B20_DQ | Idle high at ~3.3V | U1 IO4 / U5 DQ | R1 pull-up. |
| HX711 DOUT | HX711_DOUT | Pulses during read | U1 IO32 / U3 DAT | Logic referenced to HX711 VDD = 3V3. |
| HX711 SCK | HX711_SCK | Clock pulses during read | U1 IO33 / U3 CLK | Should not exceed 3.3V. |
| UART link | UART_U1_TO_U2 / UART_U2_TO_U1 | 3.3V UART | R4/R5, U1/U2 IO25/26 | Optional. |
Table
| Connector | Pins to Verify | Test Method |
|---|---|---|
| J1 Battery Shield output | 5V, 3V3, GND, GND | Voltage and continuity check before connecting modules. |
| J2 Load Cell | E+, E-, A+, A- | Continuity to U3 RED, BLK, GRN, WHT; verify load cell color code. |
pio run -e esp32_u1_sensor -t upload for U1.pio run -e esp32_u2_receiver -t upload for U2.Table
| Test | Components | Input | Expected Output | Pass Criteria |
|---|---|---|---|---|
| I2C scan / MPU init | U1, U4 | Power on | MPU6050 found at 0x68 | Firmware prints initialized. |
| HX711 raw read | U1, U3, J2/load cell | Press/load cell | Raw value changes | Stable trend with load. |
| DS18B20 read | U1, U5 | Touch probe | Temperature changes slowly | Reading not DEVICE_DISCONNECTED_C. |
| UART forwarding | U1, U2, R4/R5 | Sensor message | U2 prints messages from U1 | Matching JSON lines on U2 monitor. |
Table
| Section | Result | Notes |
|---|---|---|
| Visual Inspection | [ ] Pass / [ ] Fail | |
| Power Rails | [ ] Pass / [ ] Fail | |
| Critical Signals | [ ] Pass / [ ] Fail | |
| Connectors | [ ] Pass / [ ] Fail | |
| Programming | [ ] Pass / [ ] Fail | |
| Functional Validation | [ ] Pass / [ ] Fail |
Prerequisites
1. Visual Inspection
2. Power Rail Verification
3. Critical Signal Verification
4. Connector and Interface Tests
5. Programming and Debug Interface
6. Functional Validation
Pass/Fail Summary