Diseño de PCB Automotriz ESP32
Table
| Rail | Source | Expected | Measure At | Current Limit | Pass Criteria |
|---|---|---|---|---|---|
| 5V | USB/computer to U1 5V/Vin | 4.75–5.25 V | U1:5V, C1:P1, M1:+ | 500 mA initially | Stable voltage, no heating |
| 3V3 | ESP32 DevKit regulator | 3.20–3.40 V | U1:3V3, C2:P1, U3:VDD | DevKit limit | Stable voltage, no brownout |
| GND | Common return | 0 V reference | U1 GND pins, sensors, LEDs | N/A | Continuity across all GND nodes |
Table
| Signal | Net | Expected State |
|---|---|---|
| DHT11 data | DHTPIN | Idle HIGH via 4.7k pull-up |
| I2C SDA | I2C_SDA | Idle HIGH via 4.7k pull-up |
| I2C SCL | I2C_SCL | Idle HIGH via 4.7k pull-up |
| MOSFET gate | MOTOR_GATE | LOW at reset via 100k pull-down |
| GPIO12 brake output | PIN_LED_FRENO_2 | Boot strap risk; verify ESP32 boots normally |
Table
| Connector | Pins Used | Test Method |
|---|---|---|
| J1 oil sensor | Pin_1=3V3, Pin_2=PIN_OIL, Pin_3=GND | Verify 3.3 V supply and ADC changes with test voltage 0–3.3 V |
| J2 rain sensor | Pin_1=3V3, Pin_2=PIN_RAIN, Pin_3=GND | Verify 3.3 V supply and ADC changes with sensor output |
| OLED U3 | VDD/GND/SDA/SCL | Run I2C scan or firmware display test at 0x3C |
pio run -t upload.pio device monitor at 115200 baud.Table
| Test | Input | Expected Output |
|---|---|---|
| Speed potentiometer | Sweep RV1 | Serial and OLED speed changes 0–100%; motor PWM changes |
| Brake LEDs | Speed >70% | D2 and D3 ON |
| LDR | Cover/illuminate LDR | D4 faro toggles according to firmware threshold |
| DHT11 | Room temperature | Serial/OLED temperature reading valid |
| Oil/Rain ADC | Apply 0–3.3 V test signal | ADC values change without exceeding 3.3 V |
| Motor output | Increase pot | PWM duty at Q1 gate increases; motor speed changes |
Table
| Measurement | Location | Expected |
|---|---|---|
| I2C idle | U3 SDA/SCL | ~3.3 V |
| DHT idle | U2 DATA | ~3.3 V |
| LED GPIO HIGH | R5/R6/R7 input side | ~3.3 V |
| MOSFET gate PWM | Q1:G | 0–3.3 V PWM |
| Motor low node | Q1:D / M1:- | PWM switching toward GND |
Table
| Section | Result | Notes |
|---|---|---|
| Visual Inspection | [ ] Pass / [ ] Fail | |
| Power Rails | [ ] Pass / [ ] Fail | |
| Critical Signals | [ ] Pass / [ ] Fail | |
| Programming | [ ] Pass / [ ] Fail | |
| Functional Validation | [ ] Pass / [ ] Fail |
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.