LUMI: Assistive Desktop Robot
Voice and camera assistant on Raspberry Pi 4 using Gemini Live API with offline SQLite fallback.
The bottleneck (Before)
Visually impaired students need quick, hands-free desktop help for daily tasks like identifying clothing colors or managing reminders, without fragile cloud-only dependencies or noisy actuators draining power.
What I built (After)
I wrote an async Python controller running full-duplex WebSocket audio with Gemini Live (<950 ms response), Pi Camera v2 capture with a 300 ms AWB sensor warmup, DMA servo detachment cutting idle draw by 95% (<25 mW), PWM haptic feedback, and automatic offline failover to SQLite and espeak-ng.
Connects my Mechatronics background with software engineering: real-time cloud AI APIs, deterministic offline state machines, local SQLite storage, and physical GPIO hardware.
How the workflow runs
1. Full-Duplex Voice (<950 ms)
Bidirectional WebSocket audio stream to Gemini Live API triggered by a physical wake button.
2. Camera Vision Calibration
300 ms sensor warmup stabilizes white balance so Gemini identifies clothing colors reliably.
3. Automatic Offline SQLite Mode
Falls back to local SQLite reminders and espeak-ng speech synthesis whenever Wi-Fi drops.
4. DMA Servo & Haptic Alerts
Dynamic servo detach saves 95% idle power (<25 mW) while PWM vibration confirms interactions.
Key outcomes
- <950 ms conversational latency over Gemini Live WebSockets
- 95% idle servo power reduction (<25 mW via .detach())
- Seamless offline fallback with SQLite reminders and local TTS
- PWM haptic accessibility feedback and 300 ms AWB camera calibration