Problem
The partner company, IPMD, wanted a Kickstarter-ready physical prototype for its emotion-AI product: a small companion that senses how someone feels and answers with light and sound. The brief came through ACM at SJSU as a 12-week client build with a fixed end date, a real stakeholder, and hardware that has to survive a demo, not just a bench test.
Approach
I lead a team of six — two each on hardware, software, and electronics — and own design gatekeeping, sprint cadence, the weekly company check-ins, and the software integration path. The work runs as parallel tracks rather than a waterfall: the shell gets printed while firmware comes up on a dev board, so integration starts early instead of in the last two weeks.
Architecture and workflow
Camera, microphone array, and touch sensing feed an ESP32-S3. The firmware is split into modules behind a single state machine: input handling, emotion mapping, an SK6812 LED ring for expression, and I2S audio out. Emotion analysis sits behind a provider interface with two implementations — a client for the partner's cloud API and an offline fallback — so the robot still responds when venue WiFi or the API does not.
The enclosure is a 3D-printed PETG shell with internal brackets and a diffusion chamber for the LED ring, powered from a LiPo with USB-C charging.
Important decisions
- Offline fallback first. The cloud API was still pending when the build started, so touch, light, and sound responses were designed to work without it. The cloud path is an upgrade, not a dependency.
- Crop on device, analyse in the cloud. Detecting a face locally and sending only the crop keeps bandwidth and privacy exposure small.
- Express first, correct after. The robot reacts immediately from local signals and adjusts when a slower cloud result arrives, so latency never stalls an interaction.
- Plan for two units. A dev unit takes the hacking so the demo unit can stay stable.
Current result
By week seven the shell and brackets were printed and in hand, and the ESP32 was flashed and on the network, with the LED and audio engines and the state-machine skeleton in progress. This is a student prototype — it has not shipped, and I am not publishing latency numbers I have not measured.
Lessons
Most of leading a hardware team is sequencing. Parts lead time, print time, and an external API all move on their own clocks, and the job is to arrange the work so none of them blocks the others.
Next steps
Stability testing, emotional tuning, the Kickstarter demo video, and handoff documentation for the partner.