Flight Controller Design
Table
| Rail | Source | Expected Voltage | Measure At | Current Limit | Pass Criteria |
|---|---|---|---|---|---|
| VBUS | USB-C J1 | 5.0 V | J1 VBUS / C1 P1 | 100 mA first power | 4.75–5.25 V |
| VBAT | MCP73831 U4 / LiPo J2 | 3.0–4.2 V | J2 P1 / U5 VIN | 100 mA first power | follows battery/charger voltage |
| 3V3 | TLV75533 U5 | 3.3 V | U5 VOUT / C4 P1 | 150 mA first power | 3.20–3.40 V no-load/light-load |
Table
| Signal | Expected State | Measure At | Notes |
|---|---|---|---|
| ESP_EN | High after power-up | U1 EN / R3 / C9 | SW1 pulls low for reset |
| ESP_BOOT_GPIO9 | High normally | U1 IO9 / R4 | SW2 pulls low for bootloader |
| ESP_GPIO2_BOOT | High normally | U1 IO2 / R5 | Required boot-source strap |
| ESP_GPIO8_BOOT | High normally | U1 IO8 / R6 | Avoid invalid GPIO8/GPIO9 low-low boot state |
| I2C_SDA/SCL | Idle high | R8/R9 and U2 pins | 4.7 kΩ pull-ups to 3V3 |
| FLASH_CS | Idle high | U3 CS / R10 | 10 kΩ pull-up |
Table
| Connector | Type | Pins to Verify | Test Method |
|---|---|---|---|
| J1 | USB-C | VBUS, GND, CC1, CC2, DP, DN | Continuity and USB enumeration |
| J2 | LiPo | P1 VBAT, P2 GND | Polarity/voltage check before battery insertion |
| SW1 | Reset | ESP_EN to GND | Press button and verify EN low |
| SW2 | Boot | GPIO9 to GND | Press button and verify GPIO9 low |
Table
| Test | Components | Expected Output |
|---|---|---|
| USB enumeration | J1, D3, U1 | ESP32-C3 serial/JTAG device appears |
| Status LED | U1, R11, D1 | LED toggles under firmware control |
| Charge LED | U4, R12, D2 | LED indicates charging state when battery/USB present |
| I2C scan | U1, U2, R8, R9 | LSM6DSO32 responds at expected address 0x6A |
| IMU read | U2 | Raw accel/gyro values change with movement |
| SPI flash ID | U3 | JEDEC ID read succeeds |
| Wi-Fi telemetry | U1 | Device connects and sends sample payloads |
Table
| Measurement | Location | Expected Value | Instrument |
|---|---|---|---|
| USB VBUS | C1 P1 | 5 V | DMM |
| Battery rail | J2 P1 | 3.0–4.2 V | DMM |
| 3V3 rail | C4 P1 | 3.3 V | DMM/scope |
| EN idle | U1 EN | 3.3 V | DMM/scope |
| I2C idle | R8/R9 signal side | 3.3 V | DMM/scope |
| USB D+/D- | J1/D3/U1 | USB activity during enumeration | Scope optional |
Table
| Section | Result | Notes |
|---|---|---|
| Visual Inspection | [ ] Pass / [ ] Fail | |
| Power Rails | [ ] Pass / [ ] Fail | |
| Critical Signals | [ ] 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
7. Expected Measurements Reference
Pass/Fail Summary