16

System Integration

Week 16 Assignment

Assignment Overview

Week 16 — System Integration for the final project Tableside Interactive Robot. This page documents how the XIAO ESP32-C6 final board, MaixCAM, screen, arm, and chassis come together as one machine. The Week 9/10 inputoutput board is a separate assignment board.

  • Plan system integration with CAD / photos
  • Package electronics (mounted boards, routed wiring, dedicated places)
  • Link this documentation from the final project page

1. Individual Work

System overview

The XIAO ESP32-C6 on the final-project PCB is the central controller: it routes sensor and control messages over UART / I2C / Wi‑Fi.

  • MaixCAM — detects colour and drives expression-related feedback to the controller.
  • Screen — shows face / expression reactions to colour (and related cues).
  • Robotic arm — moves so the robot’s reaction is visible in physical motion.
  • Servo driver (PCA9685 class) — drives the arm joints and steering servos.
  • DC motor driver — drives the chassis motors for forward / reverse.

Together: colour in → C6 decides → screen face + arm pose + car motion out. Remote control uses the Wi‑Fi AP and the Operation web UI.

Integration plan

  1. Assemble the upper half first: screen, camera, and arm servos.
  2. Wire and mount the lower half: DC motors / motor driver on the chassis tray.
  3. Join upper and lower assemblies, then connect shared power and bring the full system up.

CAD / packaging geometry

I designed a chassis tray that holds the boards, battery, and drivers, plus a cover / base cover for the top shell. The tray gives every module a fixed place instead of a loose breadboard stack.

Chassis tray with ESP32-C6 final board, servo driver, motor driver, battery, and wiring along the edges
Lower assembly — tray packaging with C6 board, drivers, battery, and edge-routed wiring

Physical packaging and cable routing

  • Control boards are fixed on the tray (final C6 PCB, servo driver, DC motor driver).
  • Wiring runs along the edges of the bottom tray so the centre stays open for batteries and connectors.
  • Servo leads and power rails leave clear paths up to the upper half (screen, camera, arm).

Cable path from head → mid cover → tray (top to bottom):

  1. Lamp shade (head) — a top hole lets camera and screen wires leave the shade without trapping them against the printed shell.
  2. Middle cover — curved slots pass arm servo leads plus the screen/camera harness down into the chassis volume.
  3. Tray (lower electronics) — dual power and drivers live here: Litheli pack for the ESP32-C6 logic (USB), 7.2 V pack for motors, PCA9685-class servo driver, red DC motor driver, and the milled C6 PCB. DC motor wires drop through bottom holes to the drive motors under the plate.

This matches the official packaging goal: mounted PCBs, connectorised wiring, and a dedicated place for each part — with an explicit route so upper-half motion does not snag the harness.

Integrated testing and outcome

Done so far: tray packaging with edge routing; head → mid → tray cable logic photographed above; dual-rail power on the tray (logic pack for the C6 via USB, 7.2 V pack for servo / DC motors); signal links from the milled PCB to the servo and DC drivers.

Still finishing: closing the cover for a finished-product look, and a full end-to-end demo with upper and lower joined as one machine. Progress continues on the final project page and Week 18.

Files