Abdul Q Abdul Q

Week 14 — System Integration + Debugging

Date range: Apr 21 – Apr 27

1) Summary

  • ✅ Connected ESP32 with Raspberry Pi via UART
  • ✅ Stabilized inter-system communication
  • ✅ Fixed critical bugs (input duplication, display sync)
  • ✅ Refined overall performance and stability

2) What I did

System Integration

  • UART communication — Established serial connection between ESP32 and Raspberry Pi for offloading AI requests.
  • Protocol design — Created message format for reliable inter-device communication.
  • Testing — Verified bidirectional data transfer with various message types.

Debugging & Fixes

  • Input duplication — Fixed keyboard input being registered multiple times.
  • Display sync — Resolved issues with OLED and e-ink showing inconsistent content.
  • File consistency — Debugged file system errors and data corruption issues.
  • Power management — Optimized battery usage during idle periods.

3) Stability improvements

  • Zero input buffer overflow errors
  • Display refresh reliability >99%
  • UART communication latency <100ms
  • Battery life extended to 8+ hours
  • No data loss in standard operation

4) Process images

Week 14 process image 1
Week 14 process image 2