Fresh Laundry is a public art installation that turns front-loader washing machines into headphone jukeboxes. Put the headphones on, and you're listening to a compilation of unreleased music from Aotearoa artists - the C-sides. Hold down one of the washing machine's buttons and a small screen behind the control panel reveals the track name, the artist, or a QR code to their Instagram. The programme dial is the volume knob.
Five machines, three different washing machine models, and about five weeks from the first brief to handing the finished system over to the client. Much of the engineering was done with Claude (Anthropic's AI model, running in Claude Code on my PC). Writing the firmware, the screen designer software and the PCB files, and it took on whole areas of work we wouldn't normally attempt ourselves. But it was a collaboration - the project still needed people to set the art direction, understand how visitors would actually use the machines, and find the practical problems that only show up on the bench.
This post covers how the jukeboxes work, how the designer app lets us tune the look and behaviour with the client, and an honest look at where AI carried the load and where it didn't.
The Brief
This was a refresh of an existing project. Fresh Laundry had been rolled out across Auckland before with the large screen and music playing on loop. The new version we were involved with brought in interactivity with the buttons and knobs, and a new small screen to show the artist and track info.
The hardware we based this build on was all low-cost and easy to source through AliExpress:
- ESP32 dev board (30-pin, no PSRAM)
- PCM5102A I2S DAC and a TDA1308 headphone amp
- 2.25" 76x284 px ST7789 colour LCD - a very long, thin bar screen
- microSD card module, KY-040 rotary encoder and tact switches
The functional brief was simple. The music always plays on a loop and visitors can't skip tracks. The tracks come from many different artists and none are mastered professionally, so automatic volume normalisation would be a big plus. The knob controls volume. The LCD is the main interaction, so we needed a way to design the screens on a PC, sit with the client, and see how every track looks on every screen before anything goes onto the machines.
I finished the brief with: "Let me know if you see any issues - don't just push ahead if it's not correct. Ask questions if anything isn't clear." That one instruction ended up shaping the whole project.
How the Jukeboxes Work
The PC does the heavy lifting
The most important decision came early. The ESP32 has no PSRAM, and once audio is playing there is only about 60KB of usable memory left. That rules out decoding MP3s, rendering fonts, or decoding album art on the device while music plays.
So the work is split. The PC does everything heavy, once, ahead of time:
- Audio: every track is loudness-normalised with ffmpeg (two-pass EBU R128, -16 LUFS, -1.5 dB true peak) and saved as a 44.1kHz WAV. In testing, tracks ranging from -43.8 to -17.1 LUFS all came out at -16.0.
- Screens: every screen for every track is rendered into finished pixel layers - backgrounds, text strips, QR codes - and packed into one small file per track.
The ESP32 just streams WAV to the DAC and stacks the pre-rendered layers onto the LCD, scrolling them as it goes. WAV takes a lot more space than MP3 (around 635MB per hour), but it needs no decoding, which means less can go wrong in a public piece that runs all day. A 16GB card still holds about 25 hours of music.
The big benefit of this split is that a design change never needs a firmware update. Change a font, a colour or a button mapping, rebuild, and rewrite the SD cards.
On the device
- Audio is read from the SD card into a ring buffer and pushed to the DAC on its own CPU core, so screen updates can't interrupt the music.
- The knob uses the ESP32's hardware pulse counter, and the buttons are debounced in software, so the switches just wire straight in.
- If someone leaves the volume cranked up (or down), it fades back to the default level after a set time of inactivity.
- A watchdog and fault screen restart the machine and tell you what's wrong in plain English, for example "NO SD CARD, check the card is in and the SD wiring".
- The BOOT button on the ESP32 skips tracks for testing. Visitors can't reach it.
The Designer
The designer is the part of the project I'm most happy with, and it's the reason we could make decisions with the client rather than for them. It's a small local web app: double-click a .bat file and it opens in the browser.
- Screens: edit each screen and try it on an emulated LCD. Drag layers around, click the washing machine's buttons, turn the knob, and play the actual track.
- All tracks: every track on every screen at once. Anything that won't fit in the device's memory is flagged. One track turned out to have 1,862 characters of lyrics embedded in its tags, which is the kind of thing you'd never find until it went blank on the real screen.
- Track info: correct titles and artists, and add fields like the Instagram handle, without touching the music files.
- Machines: each washing machine model has its own buttons, home screen, and "window" - the part of the panel that is visible through the machine's fascia. All three models preview side by side.
- Device & export: playback, volume and LCD settings, then Build and write the SD cards.
What you see is what you get
An emulator is only useful if you can trust it. The screen-drawing code exists twice - once in JavaScript for the designer and once in C++ for the ESP32 - so we compiled the firmware's drawing code to run on the PC and compared it against the designer frame by frame. Before any hardware was even wired up, that test found a text-blending bug. After the fix, 150 of 150 frames were pixel-identical, so the screen the client approves is exactly the screen that ends up on the machine.
Fine-tuning with the client
Because the designer is visual and changes are instant, the look of the machines evolved quickly. Some of the features that came out of reviewing it:
- Dot-matrix text. I wanted the text to look like an old LED sign, so each text layer now has a dot size, dot shape, fill and unlit-dot colour. Scrolling steps one whole dot at a time, so the letters jump across a fixed grid of dots like the real thing.
- Instagram QR codes. The designer generates a QR code from each artist's handle, so there's nothing to download and the code updates automatically if the handle changes. The handle scrolls full-size behind the code.
- Hold to reveal. With nothing pressed, the home banner scrolls "FRESH LAUNDRY: Music From the C-sides". Holding a button shows the track, artist or Instagram; let go and it returns home.
- Saved layouts. Any design can be saved as a named snapshot, so we could try something bold and come back to the approved version if it didn't work.
Every SD card is a complete backup
Installations outlive the people who built them. Someone new might turn up in a year with nothing but an SD card in their hand, so every card carries the whole project: the original music, the design, the designer itself, and a portable copy of Python and ffmpeg. Double-click START HERE.bat on any Windows PC and the project copies across and the designer opens.
Writing the cards only copies what has changed and reads every file back to check it, so adding one song takes seconds rather than rewriting 14GB. There's also an update-over-USB option for screen changes, so the card can stay in the machine.
A simpler page for the client
The full designer has a lot of controls, and the client isn't technical. So the last piece was a locked-down "Change the music" page: add or remove songs, type the title, artist and Instagram name, preview every machine, then click Get the songs ready and write the cards. Fonts, layout and button behaviour can't be changed there, so nothing can be broken by accident. It went to the client as a single zip with a step-by-step guide with annotated screenshots.
The PCB
Each machine needed 44 soldered wires plus power distribution - over 200 wires across five machines. A carrier PCB would save a lot of assembly time, but I hadn't designed a PCB in over 10 years and didn't have the software for it.
Claude didn't need the software. It wrote a Python script that generates the JLCPCB Gerber and drill files directly - with its own track router, ground pour, and connection and spacing checks - then read the files back with a separate Gerber reader to confirm they matched. It also produced a STEP model of the board so I could design the 3D-printed mounts around it in Fusion.
My job was to supply the real-world dimensions. I photographed every module with calipers, front and back, and Claude worked out the pin positions from the photos, correcting for perspective. The DAC's second row of pins turned out to be off the standard 0.1" grid, so it took a ruler photo to pin that down. A 1:1 paper print with the modules pushed through it confirmed the fit before ordering.
The final board (118 x 58 mm) has:
- Sockets for the ESP32, SD module and DAC, so they plug straight in.
- Every outside connection (LCD, knob, buttons, power) duplicated on both edges, so wires can come off either side depending on how it sits in each machine.
- An optional filter on the amp's power supply, selected with a jumper, to test against some noise we heard on the bench.
- A 5V input through a Schottky diode, and spare serial pins for a future link to a Raspberry Pi.
- The Fresh Laundry logo traced from the artwork onto the silkscreen.
Where the Humans Came In
It would be easy to read the above and assume the AI just built it. It didn't. It's an extremely fast engineer, but it can't see the screen, hear the headphones, hold a multimeter, or stand in a laundromat watching people use the machines.
Art direction
The look and feel came from us and the client. The dot-matrix display, white-on-black QR codes, full-size text scrolling behind the QR, the copy on each screen - these were all creative decisions. Claude's role was to make them possible quickly, and to flag consequences. For example, it pointed out that inverted (white-on-black) QR codes don't scan on some older phones, tested this with two different decoders, and left the call to us.
Understanding the interactions
Each washing machine model is physically different, and only someone standing in front of them knows how. One model shows only the left 40mm of the screen through its window, so its screens had to be laid out for a narrower view. Another shows the right 50mm, has no buttons at all, and had to have its screen mounted upside down, so it got a single ticker of title, artist and handle, and its own firmware build that flips the picture.
Knowing when to say no was also part of the job. Claude offered a radio link so the machines could coordinate their shuffles and never play the same song at once, and a live link to push album art to a separate video screen. Both were good ideas and both were sensibly scoped, but they weren't needed for this installation, so they were left out.
Finding the practical issues
This is where the bench time paid off. Some highlights:
- The screen was too dim. Claude was confident it was at full brightness. When I wired the backlight pin straight to 3.3V, the screen went black. That result told us the backlight was active-low, the opposite of what the seller's listing said, and the "full brightness" setting had actually been about 1%.
- The ESP32 boot-looped on first flash. This one Claude found from the serial log: the board's flash chip couldn't keep up with the default speed, so the firmware now runs it at half speed.
- Memory. The first real music test failed with an SD read error. The memory figure Claude had relied on included memory that can't actually hold file buffers, so the player was reserving more than existed. It was fixed quickly, but only real hardware revealed it.
- Wiring. The screw-terminal breakout's labels didn't match the ESP32, an LCD wire was faulty, red and blue were swapped on the screen, two buttons read as permanently pressed (tact switch wired across legs that are joined internally), and the SD module traces on one machine needed checking after some rework.
In every case the pattern was the same: I described what I saw or measured, Claude worked out what it meant and what to check next, and we went back and forth until it was solved. It was also upfront when it had been wrong, which made it much easier to trust the rest.
How AI Expanded What We Could Do
The biggest change wasn't speed, although that was significant. The first ESP32 was running its hardware test on a real screen the same evening as the brief. The bigger change was scope. On a normal timeline and budget, a project like this would get a basic player, screens designed by trial and error on the device, and hand-wired machines. Instead we got:
- A custom audio and display firmware, tuned to the memory limits of the chip.
- A pixel-accurate visual designer we could use with the client.
- Automatic loudness normalisation across 27 unmastered tracks.
- A custom PCB, with no PCB software involved.
- A wiring guide, a README, a client guide, and self-contained SD cards that anyone can pick up and use.
A few habits made it work well. Claude tested its own work and was clear about what had and hadn't been tested - "it compiles" is not the same as "it works on the hardware", and it never blurred that line. It also flagged problems I hadn't asked about: unbranded SD cards are often fake capacity (so it tested each one), the parts order was missing power distribution, and one of the button pins doubles as a boot pin.
Final Thoughts
AI didn't replace the engineering or the design on this project - it changed who could do it. A small team was able to deliver firmware, software, electronics and documentation that would normally need several specialists, in a few weeks. But every useful outcome still depended on people: deciding what it should look like, knowing how the machines and visitors would behave, and testing ideas against the real hardware.
The designer is what will keep the project alive. As the music changes and the installation moves, the client can update the songs themselves, and we can keep refining the look and behaviour without touching the firmware.
If you're developing an interactive installation, a connected product, or anything with electronics and a tight timeline, we can help you get there faster. Reach out and let's discuss your project.