RoboDuckBuild

Day 15

Head V2: starting again, in parallel

The new speaker clamp went in, but only after cutting the hood open. The removable face was carrying too much. So a second head starts today: a skeleton with a lift-off cover, and the camera and sound moved to the UNO Q. Version one carries on meanwhile.

H1 H2 H4

The underside of the head with the hood cut open and the face module packed with wires
Version one, from underneath: the hood cut away to make the face module fit.

The new screen clamp (H4) printed and went on, with the amplifier standing on its back and the speaker in its cup. Then the whole face module had to go into the hood, and it wouldn't. Between the boards and the loops of jumper wire there simply wasn't room, so the bottom of the hood got cut away.

The back of the face module: the round screen, the speaker cup, the amplifier standing upright with jumper plugs, and loops of coloured wire
The back of the face module. The boards are small; the wiring is what fills the head.

It works, and the eye looks great. But up close it's janky: the clip holding the XIAO is weak, the camera lens is barely held, the amplifier wobbles, and the speaker never really pushed home. Every cable tugs on the face, which is only 5 mm thick and held on by three magnets.

What went wrong

  • The removable face was doing everything. Screen, camera, XIAO, amplifier and speaker all hung off one plate, held by clips, melted pegs and push-fits.
  • The wiring took more room than the electronics. Jumper leads and their chunky plugs are fine on a bench and hopeless in a head.
  • The fit checks left out the servos and the cables. They had the hood, the face and the boards in them, but not the three servos inside the head, their plugs, or a single wire.

Head V2

Rather than patch it, we're building a second head alongside the first. V1 stays on the duck and in use, so nothing waits; V2 gets designed, printed and tested in parallel, and then the two get compared. The parts are chosen and the design is under way. The plan:

  • A skeleton and a cover. A printed frame inside the head carries every part, screwed down rather than clipped or pushed in. The hood, with the face built in, becomes a plain cover with no electronics or cables on it, so it lifts off with nothing to unplug.
  • The camera moves to the UNO Q. A Raspberry Pi Camera Module V2 on a flat cable runs down the neck to Arduino's UNO Media Carrier. Frames go straight into the board that does the face tracking, with no Wi-Fi hop.
  • The eye becomes one stack. Seeed's round display has sockets on its back, and a XIAO ESP32-S3 Sense plugs straight in: no screen wiring at all. Same eye size as V1, and the Sense keeps the head's microphone.
  • The sound moves to the body. The voice already runs on the UNO Q, so it plays through the Media Carrier's line out into a tiny amplifier, and the speaker sits in the body with it. Nothing to do with sound goes up the neck, and the bill and the voice now share one clock.
  • Wiring is designed, not improvised. Thin silicone wire cut to length after a dry fit, soldered joints instead of jumper plugs, and planned loops where the neck turns and nods, tied either side so only the loop moves.

The full plan, the parts and where V2 has got to are on the Head V2 page.

Update, 28 October. The next day V1 took V2's eye and lost its speaker too, so the two heads now share one frame and differ only in the camera: One head, two cameras.