Skip to main content

Smart mill · build series

A grain mill that stops itself when the hopper is empty

I’m putting a motor on my hand-crank Country Living mill and running it from my phone through a smart plug. I’m filming every step. The software already works, so you can try it now on a pretend mill.

By · Published

Software only. The demo mill is simulated on my server. No hardware is connected, and nothing in your kitchen or mine switches on. Free: sign in with your email, no password.

What it does today

What can the smart mill do?

All of this runs in the demo. On my real mill it hasn’t ground a single berry yet.

  • Start and stop from your phone

    A big Stop button on every screen. Stop is always sent, even when the app thinks the mill is already off, and the plug’s own timer is there if the phone can’t reach it.

  • Stops when the hopper is empty

    It switches off about 5 seconds after the last berry, so you can step away from the counter for a minute.

  • Stops on a jam

    If the burrs bind and the motor pulls too hard for 2 seconds, it stops and shows what happened.

  • Timed runs and grind by weight

    Grind for 1 to 30 minutes, or to a weight. With a scale under the bin it stops at your grams.

  • 39 grains to pick from

    Red Fife, Khorasan, einkorn, emmer, spelt, rye and more, plus your own. Each run is logged by grain.

  • A log of every run

    What you milled, how long it took, how much flour and why it stopped. Totals per grain for the month and the year.

How it works

How does a smart plug know the hopper is empty?

By the watts. Grinding grain is hard work for the motor; spinning empty isn’t. The plug reports how much power the motor draws every second, and the app watches for the drop.

Grinding
about 140 W
Grain between the burrs, the motor working.
Empty
about 40 W
Low for 5 seconds: the mill switches off.
Jammed
over 300 W
High for 2 seconds: it stops and tells you why.

Example numbers from the simulator. A real mill learns its own “empty” in a 30-second run.

Safety first

What happens if the Wi-Fi drops mid-grind?

The plug is set up to switch itself off. Before every run the app sets the plug’s own off timer, so the plug can turn the motor off without my server, the internet or your phone. I’ll test that on the real mill on camera.

  • The plug has the last word. Its own timer is set to switch it off after 20 minutes at most, whatever happens to the app.
  • Off when the power comes back. After a power cut the plug stays off. Nothing starts by itself.
  • No scheduled grinding. There is no timer to start it later. Someone presses Start.
  • Someone stays in the room. A belt drive can catch fingers and hair. I fit a belt guard, and remote start is for across the kitchen, not across town.

Where the build is

What’s done and what’s next?

No dates. It’s ready when it works on my counter. I’ll update this list as each episode goes out.

Still choosing a mill? Here’s which grain mill I’d buy, and why. Planning what to grind? The blend calculator gives you the berries to mill.

  1. Done

    The app

    Start, stop, timers, stop-when-empty, jam stop, grains and the grind log. Tested against a simulated mill.

  2. Done

    The extras

    Hopper and scale sensors, grind by weight, a camera view, notifications and AI control. All optional, all simulated so far.

  3. Next

    First real grind

    Fit the motor and belt, plug it in, teach it what empty looks like in watts, and grind on camera.

  4. Later

    The sensor board

    The small board for the hopper level, scale and flywheel speed. The code is written; it has never run on a real board.

Questions people ask

Is the demo connected to a real mill?

No. It is software only. Your demo mill is simulated on my server: the watts, the grain and the flour are pretend, and nothing in anyone’s kitchen switches on.

Why do I have to sign in?

Everyone gets their own pretend mill and run history, so it needs an account. It’s the same free My kitchen sign-in as the rest of the site: your email, no password.

Can I buy one?

No. It isn’t for sale. I’m building it for my own kitchen and filming how it goes.

Can I get the code?

Not at the moment. The code isn’t public.

Which mill and plug are you using?

A Country Living grain mill with a motor and a belt, switched by a Shelly Plus Plug US. The plug reports the watts and carries its own off timer.

Does a grain mill really need AI?

No. The app does the milling: start, stop, timers, stop when empty. The AI part is an extra for people who already use ChatGPT or Claude. Connect it and you can ask whether the mill is done, how much spelt you milled this month, or to grind enough for two loaves. It can always check and stop; starting stays off until you allow it.

Follow the build

One email when there’s a new episode, plus my starter cheat sheet and two short welcome emails when you join. You can leave any time.