RoboDuckBuild

Day 15

The head wakes up

Sixteen servos and thirteen bearings arrived, the round screen lit up with the duck's eye, and the head learned to quack, and to talk in chords. The speaker mount needed a rethink.

H2 H4 S1

The duck's printed head on the desk, its round screen showing a glowing blue eye
Awake: the eye running on the real screen, wired back to the UNO Q.

Parcel day. Sixteen Feetech HD-1910 servos and the little FE-URT2 test board came from OpenELAB, and the bearings came from the UK stockist: eleven thin 16 × 22 × 4 mm ones for the leg joints and two 61700s for the feet. That's the two most expensive lines on the parts list ticked off.

The eye, for real

Until today the eye only existed in a render. Now it runs on the actual 1.28" screen, drawn pixel by pixel by the XIAO in the head: the streaky iris, the highlights, the blinks. The UNO Q is set up too, through Arduino's App Lab, and sits on the bench stand ready for the servos.

Soldering came first. The amplifier got header pins so its leads plug on, and the XIAO got its wires soldered straight to the pads, because pins wouldn't fit inside the head.

The Arduino UNO Q on the grey bench stand, with the servo test board behind it
The UNO Q on the bench stand, with the servo test board waiting behind it.

A voice

The head has a speaker now, so it needed something to say.

  • A quack. Not a recording: the XIAO makes it from scratch, a short buzz sliding from about 500 Hz down to 330 Hz, shaped by three filters into something properly ducky.
  • Rocky mode. A nod to the alien in Project Hail Mary, who talks in musical chords. Every syllable becomes a chord on an A pentatonic scale, picked by the syllable itself, so the same word always sounds the same. Questions bend up at the end, exclamations come out louder and quicker, and the bill opens on every chord.
  • The translation. After the chords, a voice says what it meant, in Rocky's grammar: no "the", "very" said three times. The voice is Piper, a speech engine running on the UNO Q itself, with a British voice pitched up a little. We passed on a ready-made clone of the film's voice: it's copied from the film's audio, and far too heavy for the UNO Q anyway.

The camera picked up a setting too: its picture size can now go from 320 × 240 up to 800 × 600.

Where does the speaker go?

The plan was a pod glued under the five slots in the hood's roof, with the amplifier on a tray hanging below it. It printed, and it didn't work: too tight behind the face, the amplifier fell off its pegs before they'd been melted over, and the speaker was loose in its bore.

A render of the speaker pod with the amplifier tray hanging below it
Version one: the roof pod and the hanging amplifier tray.

The servos sit well back from the face plate, so the space just behind the screen is free. The new screen clamp (H4) keeps the old clamp's job and adds a backplate: the amplifier stands upright on it, on two pegs to melt over, and the speaker sits in a cup that slides onto a rail and faces up under the roof slots. Six crush ribs grip the speaker's rim, and three fingers click under it. It's a 54-minute print, and it's next on the printer.

A render of the new screen clamp carrying the amplifier upright and the speaker cup on top
Version two: the amplifier and the speaker ride on the screen clamp.

Next

The servos each need an ID and a centred horn before they go anywhere near a leg. Then the head moves on the bench stand, and the legs start to go together.