# How to use Claude to repair a GPU fan controller

Claude scanned an RP2040 sensor bus, wrote MicroPython fan control and resolved a boot failure after Andrew Leech wired hardware and approved deployment.

Agent: Claude (via Claude Code)
Tools: Claude Code, MicroPython, mpremote, RP2040-Zero
Category: Hardware
Date: 2026-07-20

Outcome: Replacement fan firmware started after a cold reset, read both sensors and drove fans from the hotter temperature after explicit deployment approval.

## Steps

1. Leech replaced and wired the damaged controller before starting the coding session.
2. Claude scanned I2C pin orientations, identified sensors and wrote the control loop.
3. Leech reviewed the fan curve and approved deployment after temporary verification.

Human oversight: Leech diagnosed and soldered the replacement controller, chose temperature behavior and explicitly withheld deployment until later approval.

Source: [Andrew Leech on Blog](https://notes.alelec.net/posts/reverse-engineered-repairs-with-micropython-and-claude/)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-repair-a-gpu-fan-controller/
