Files

185 lines
2.5 KiB
Markdown

# Revised Milestone Order
## Milestone 1: ESP32 Hardware Bring-Up
### Goal
Verify cargo-controller hardware.
### Tasks
- Flash ESP32 firmware
- Verify WiFi AP
- Verify HTTP API
- Verify relay outputs
- Verify DS18B20 framework
- Verify UART initialization
### Success Criteria
- ESP32 boots reliably
- Relays operate correctly
- HTTP API responds correctly
- No crashes or watchdog resets
---
## Milestone 2: JBD/Xiaoxiang BMS Integration
### Goal
Replace placeholder battery values with live battery telemetry.
### Tasks
- BLE communication
- JBD packet parsing
- Battery SOC
- Voltage
- Current
- Remaining Ah
- Runtime calculations
- Battery temperature
### Success Criteria
- Live battery telemetry available
- Battery data exposed through API
- Placeholder battery values removed
---
## Milestone 3: Pico Hardware Bring-Up
### Goal
Verify dashboard hardware.
### Tasks
- Display initialization
- Touch initialization
- Buzzer verification
### Success Criteria
- Display functional
- Touch functional
- Buzzer functional
---
## Milestone 4: UART Communications
### Goal
Connect Pico and ESP32.
### Tasks
- UART transport
- Status requests
- Status responses
- Relay commands
- Error handling
- Timeout detection
### Success Criteria
- Live data displayed on Pico
- Relay control operational
---
## Milestone 5: Dashboard UI
### Goal
Create the primary user interface.
### Tasks
- Dashboard screen
- Battery screen
- Temperatures screen
- Power screen
- System screen
### Success Criteria
- All screens functional
- Navigation stable
- Live updates working
---
## Milestone 6: DS18B20 Integration
### Goal
Implement all production temperature sensors.
### Sensors
- Fridge Zone 1
- Fridge Zone 2
- Rear Seat Area
- Outside Air
### Success Criteria
- Sensors report correctly
- Sensor failures detected
---
## Milestone 7: Alarm System
### Goal
Implement monitoring and alerting.
### Tasks
- Alarm manager
- Alarm overlay
- Buzzer integration
- Communication alarms
- Battery alarms
- Temperature alarms
- Sensor fault alarms
### Success Criteria
- Alarms trigger correctly
- Audible alerts function correctly
---
## Milestone 8: Vehicle Integration
### Potential Features
- Ignition state
- OBD-II
- CAN bus
- Fuel level
- Engine data
Future planning only.
---
## Milestone 9: Future Expansion
### Potential Features
- Additional relays
- Inverter control
- Lighting control
- GPS
- Starlink diagnostics
- Home Assistant
Future planning only.