Eigentactics / Portfolio

Asymptotically Free Beer

Four brown 22-ounce bottles labelled Floating Ground, raw wheat ale, on a steel counter beside a cut-glass tumbler of hazy golden beer. Big white stencil letters over the background read “You wouldn’t vibe-brew a beer”.

The short version

I taught my induction cooktop to take orders from a computer, and then Claude, an AI, used it to brew a beer. Claude watched a thermometer in the pot and decided when to switch the heat on and off: 33 button presses over four and a half hours, each one answered by the cooktop’s beep. I stirred, added the hops and sat on the couch.

Almost everything came from close to home. The hops grew on my grandma’s vine, half the grain is ordinary wheat berries rather than brewing malt, and the electricity came from a solar-charged battery bank, in late November. The cooktop’s electronics are wired to the mains in a way that can bite, so the little computer inside it runs on its own battery and talks only over Wi-Fi.

The beer is a light wheat ale, about 4% alcohol. Claude named it Floating Ground and drew its label. It tastes like Cheerios, in a good way.

From vine and field to bottle Hops from Grandma's vine are dried in the garage, and malt from Skagit Valley Malting and raw wheat berries are milled at home. They go into a pot on the induction cooktop. Sunlight charges batteries that power the cooktop. Claude, on a computer, reads a thermometer in the pot over Wi-Fi and presses the cooktop's buttons through a small battery-powered board inside it, and pings Bethany's phone when the pot needs stirring or hops. The pot mashes the grain at 146 °F for an hour, boils it with hops for an hour, and is chilled with ice. Yeast then ferments it for three days in a jug, and it goes into bottles labelled Floating Ground. 1. Ingredients 2. Brew day 3. Beer Grandma’s hop vine dried by fan in the garage MALT Skagit Valley pale malt + raw wheat (not malted) both milled at home > press start beep ✓ Claude (an AI) runs the heat ESP32 induction cooktop with a battery-powered board inside reads the temperature presses buttons (33 beeps) Bethany: stirs, adds hops, couch phone pings ① Mash 146 °F for an hour: starch turns to sugar ② Boil an hour, with hops ③ Chill with half a gallon of ice + − sun → solar panels → batteries yeast, 3 days at 65 °F Floating Ground tastes like Cheerios

The long version

The cooktop is a stock NuWave PIC Flex. A battery-powered ESP32 sits inside it, watching the front panel’s signals and pressing its buttons through optocouplers, and it talks to the outside world only over Wi-Fi. On 22 November Claude ran the whole brew day through it: 33 button presses, each one logged with its reason and confirmed by the cooktop’s own beep. I stirred when I heard a gurgle.

Claude designed the recipe and named the beer Floating Ground: the wheat is ground, the doomed oscilloscope probe floats electrically, and the temperature probe and the yeast float physically too. It is a small batch of raw wheat ale, using half malted barley and half unmalted wheat berries from my dream employer, the Winco bulk foods department.

Grain1 lb Skagit Valley Malting Pilot Pale, 1 lb raw white wheat, both milled at home
Mash122 °F for 15 min, 146 °F for 60 min, 160 °F for 15 min; brew-in-a-bag
Hops18 g homegrown: 4 g at 60 min, 6 g at 10 min, 8 g in a 20-minute steep
YeastDistiller’s yeast, with 0.5 g of diammonium phosphate for the nitrogen the raw wheat lacks
FermentWater bath at 65 °F
Original gravity1.040 (lots of sediment, so possibly a little high)
Final gravity1.008 after three days, about 80% apparent attenuation
Alcoholabout 4.2% by volume
pH4.6
Tasting note“Spectacular (Cheerios!!)”

The open question was whether one pound of malt had enough amylase enzyme to convert a pound of unmalted wheat starch into sugars that yeast can eat. Skagit’s certificate of analysis puts this malt’s diastatic power at 100–118 °Lintner, which suggested yes with room to spare, and 80% attenuation between OG and FG agrees.

Brew day

Claude ran the loggers, the timers and every button press from its agent harness, and sent me a phone notification when it needed hands: stir, add hops, run an iodine test, lift the grain bag. I did those, and then returned to the couch to continue supervising.

Brew day, 22 November 2026 Wort temperature from 13:15 to 18:00: strike water to 125 °F, a protein rest near 120, a main mash held at 144-147 °F by short bursts of heat, a mash-out near 160, a boil near 210 °F from 16:10 to 17:10, a hop steep and an ice chill to 64 °F. Shaded bands mark when the cooktop was heating; each tick below them is one optocoupled button press, 33 in all. A lower panel shows the inverter output: about 1070 W while heating and 77 W otherwise. 60 80 100 120 140 160 180 200 220 °F 14:00 15:00 16:00 17:00 18:00 strike rest main mash mash-out to boil boil timeout steep chill 1 kW inverter output, W
Wort temperature from a waterproof DS18B20 on its own ESP32. Shaded bands: the cooktop heating at 1300 W. Ticks: button presses (dark for Start, grey for Pause). The inverter panel shows the draw on the solar battery bank: about 1065 W while heating according to another reverse-engineered Amazonium electronics special, but likely closer to 1300W in reality.
Seen from above on a dark table: a lidded stockpot on the induction cooktop with a white mesh grain bag folded over its rim. Beside it, a breadboard of optocouplers in a plastic tray wired to the cooktop, a pale green power bank, a tub of dried hop cones, a spoon rest, and a notepad with the recipe handwritten on it.
Brewmaster Claude at work. The optocoupler breadboard sits in a tray to the right of the pot and the power bank runs the ESP32s.

The cooktop’s own thermostat can’t do this job. It regulates a sensor under the glass, not the wort: in an earlier test, a setpoint of 160 °F let a small pot of water climb past 180 and keep going. So Claude used the cooktop as an on/off heater with the wort probe as the thermostat. To hold the main mash at 146 °F, a script pressed Start for 40 seconds whenever the wort fell below 144.5 °F, then Pause, and waited at least four minutes before trying again. A covered pot of mash loses only about 0.3 °F a minute, so the hour took seven bursts.

That rationing was deliberate. Every press makes the cooktop beep, and we wanted the beeps to stay meaningful, so time-proportioned control, with Start and Pause toggled every few seconds, was ruled out from the start. A beep means a decision, and the journal says what the decision was:

  • 14:10:06 press start (stirred 141.2F; 75 s burst (~100 kJ) toward 148)
  • 15:21:03 press start (stirred 151.8F; 105 s burst toward 160 (9F/120s last time))
  • 16:40:47 press start (resume boil after unexpected stop)

A failsafe script watched for a missing or stale thermometer reading while the cooktop was heating and would have pressed Pause after ten seconds. It never had to.

Why the probe floats

The cooktop’s front panel talks to its power board over a 12-pin header: 5 V, ground and ten signals. The obvious way to learn what they do is an oscilloscope. I consulted an oracle first.

The back of the curved front-panel circuit board on a wooden bench. Twelve wires in alternating green, yellow, white and blue are soldered in a row along its lower edge, just below a square 48-pin microcontroller.
The back of the front panel, 7 November. The twelve wires along the bottom edge are the header to the power board; the square chip above them is the microcontroller that runs the cooktop.
A brown jumper wire lying on a desk in two pieces. About a centimetre of the conductor between them is gone, and the insulation on the longer piece is discoloured along its length.
The oscilloscope oracle. The missing centimetre of copper turned to plasma.

Its answer: the panel’s ground is not isolated from the mains. The cooktop’s low-voltage supply is a non-isolating flyback, so “ground” swings about 170 V below earth on every mains cycle. Anything earth-referenced clipped to it, like a bench oscilloscope or a USB cable to a computer on the wall, becomes a short from the mains to earth.

So everything touching the live cooktop had to float. The instrument became a Seeed XIAO ESP32-S3 running from a power bank, with a resistor divider on each signal, an ADC sampling up to nine pins at 4,000 samples a second each, and 80 MHz edge timing on the digital ones, streamed over Wi-Fi to a logger on my desktop. Its USB port is off limits for as long as it is wired to a powered cooktop.

A hand holds a tiny XIAO ESP32-S3 board with a wire antenna, its header crowded with jumper wires. Each wire passes through heat-shrunk resistors before fanning out towards the open cooktop below.
The probe’s harness: a 33k/47k divider in heat-shrink on each signal.
The open cooktop seen from above: the curved front-panel circuit board with a four-digit display, red LEDs and thirteen tact switches, above the copper induction coil.
The front panel, out of its case above the coil. Its microcontroller runs the show.

Reflashing a live appliance over Wi-Fi

Floating the probe solved the safety problem and created a workflow one: no USB means no ordinary way to update the firmware. So the probe updates itself over the air. A small HTTP server on the ESP32 accepts a new image with a token, writes it to the spare of two 3 MB slots and reboots into it. The new image has to reach Wi-Fi and stay up for ten seconds before it marks itself healthy; otherwise the bootloader rolls back to the old one.

What the front panel does

The front panel’s microcontroller makes the decisions, and the main board mostly does as it’s told:

  • Pan detection is a ping. Pressing Start kicks the power stage with a 5.7 µs pulse and counts the coil’s ringing on a comparator line. With no pan it rings about 48 times, and with a pan about 4.
  • Power is a PWM duty cycle. A 7.77 kHz signal idles at 16% and steps with the wattage setting: about 35% at 600 W, 54% at 900 W. The power stage then retunes its switching frequency towards resonance.
  • The thermostat runs on a half-second tick. Near the setpoint, the panel switches heating on and off in multiples of 514 ms, silently.
  • The buzzer line says everything. Key presses, errors, power-up and the safety timeout each have their own beep pattern, so one pin is enough to confirm a press and recognise the timeout.

That suggested the cheapest safe interface: press the buttons. A PC817 optocoupler sits across each of five buttons (Start, Pause/Clear, +, –, and Watts), driven from an ESP32 pin through 470 Ω. The cooktop thinks a human finger is pressing the button. Because we just press the buttons, every stock protection stays in place, including dry-pan detection and the timeout. The probe holds an opto for 150 ms and listens to the buzzer line to confirm the press.

The supply chain

A hop vine heavy with pale green cones spills over the edge of a white roof against a blue summer sky.
Grandma’s hops, 22 August 2026.
Thousands of green hop cones spread in a single layer over flattened cardboard on a garage floor, with a floor fan aimed at them and empty buckets around the edge. A solar inverter and blue charge controllers sit on the floor to the left.
The hop kiln: cardboard, a floor fan and a garage, three days later. The solar inverter and charge controllers are at the left edge.

The hops grow in my grandma’s back yard, in Hop King Ezra Meeker’s old stomping grounds. I harvest, strip, and dry them myself, then vacuum-seal them with an oxygen absorber and freeze them. (Over-run the drying fan and the floor turns yellow with lupulin.) The malt comes from Skagit Valley Malting, whose web store lists whole grain silos as orderable quantities. I didn’t order a silo, only 400 lb. Then they refunded my order and told me to go to my local homebrewing store instead. Fair enough.

Grain and hops are only half the list. The water comes from the tap, and the chilling ice from the freezer. The yeast is bought distiller’s yeast, though saving some from this batch would take it off the shopping list. The energy came from a solar-charged battery bank: the cooktop drew about 2.1 kWh on brew day, while the late-November panels made only about a sixth of that as it ran. And then there’s time: a few weeks of evenings taking the cooktop apart, and an afternoon of brewing, valued at $0.

Asymptotically-free beer is the plan. Each batch should need less bought malt than the last, approaching but never quite reaching zero, since raw grain still needs malt for its enzymes. This batch was 1:1 wheat to malt. On Skagit’s numbers, about 2:1 is the enzyme limit, so that comes next. I am not above using other sources of fermentable sugars, such as starch from soaking potato slices that would otherwise literally go down the drain. Koji cultures are another potential source of amylase if I want to get really creative.

Known limits

  • It’s semi-autonomous so far. Claude chose each burst from the wort temperature and a calibration it built during the day (about 4.4 °F a minute for 1.5 gallons of water, and 9 °F per two-minute burst of mash), through small scripts rather than a finished controller. Folding those into a controller that also handles the timeout is next.
  • Stirring is still a person listening for gurgles. An unstirred pot of mash runs hot near the bottom and reads cold elsewhere.
  • The wort thermometer occasionally drops a reading while the coil is running, probably from interference, so the failsafe acts only on stale or repeated errors.

How it was made

I took the cooktop apart, soldered the harness and optocouplers, did the meter work with the cooktop unplugged, filmed the captures, and stirred. Claude Opus 5.5 wrote the probe firmware and over-the-air updater, the logger and analysis tools, worked out the pinout from the captures, designed the recipe, ran brew day, named the beer, drew its label and drafted this page.