Journal of my Pi build

This is so amazing. I wish I had the knowledge to do such a thing. My only experience in digital electronics was in college, I connected the +12 volts directly to ground and the breadboard started smoking.

I got better by the end of the course, we made a digital thermostat, this was late 80’s. My contribution to the team was to pretty much measure and strip the wires

Nothing wrong with that. You have to start somewhere.

Grain Brain – October 24 Update

Sometimes Progress Means Starting Over

Not every evening in the brewery goes according to plan.

Tonight was supposed to be about testing the pump relay drivers and getting started on the XLR panel connectors. Neither happened.

While preparing the relay drivers for testing, I decided I wasn’t happy with the board layout. The circuit design isn’t changing, but I’m scrapping the existing boards and rebuilding both drivers on a single board. Sometimes it’s easier to start over than keep fighting something you don’t like.

There was some actual progress, though.

The 12V power supply is now wired and tested, which means all three low-voltage power rails are operational. The flow meter conditioner assembly is also mounted in the cabinet, and the electronics are finally beginning to find their permanent homes.

I’ve ordered additional DIN rail, expected Tuesday, along with male XLR connectors for the external sensor pigtails. The extra rail is needed before the driver boards can be permanently mounted.

So tonight’s planned work orders pretty much went out the window.

But that’s part of building something from scratch. Some evenings you check things off the list. Other evenings you discover why the list needs rewritten.

The good news? The project is moving forward.

The bad news? I still haven’t figured out how to make a beer with it.

Numb Nuts & Hammerfist Engineering

Genuinely impressive engineering wrapped in completely unnecessary theatrical bullshit.

2 Likes

:beer_mug::wrench: GRAIN BRAIN UPDATE — FOUR RELAYS, ONE BRAIN, AND AN ENGINEERING ADDICTION THAT’S GETTING OUT OF HAND!

Another big milestone for Grain Brain!

After rebuilding both custom ice cube relay driver boards because I wasn’t happy with the original layouts, I finally put the little bastards through their powered bench tests.

BOTH PASSED!

Then I decided to push things a little further.

Both ice cube relays. Both solid-state relays. Four custom-built driver circuits, all operating simultaneously under Raspberry Pi control.

FLAWLESS VICTORY! :high_voltage:

No smoke. No explosions. No mysterious burning smells. Just four circuits doing exactly what they’re supposed to do.

Naturally, I even issued official testing certificates. Because apparently my homemade brewery now requires a quality assurance department.

With the hardware coming together, Grain Brain is getting closer to its ultimate goal: controlling the entire brewing process through HOPLOGIC, my Raspberry Pi-based control system.

But there’s one problem.

The brewing process doesn’t end when the wort leaves the kettle.

And after obsessively monitoring temperatures, flow rates, pumps, and heating elements, letting the fermenter sit there without reporting back seems downright irresponsible.

Which brings me to the next piece of this increasingly ridiculous puzzle.

:beer_mug: INTRODUCING WORT WATCH!

I’m developing a custom wireless fermentation monitoring system to track specific gravity and beer temperature throughout fermentation.

Instead of copying an existing floating hydrometer, I’m exploring a magnetic float-and-encoder design that keeps the electronics isolated from the beer.

The goal is to connect Wort Watch directly to HOPLOGIC and my kitchen-mounted Fermentation Station, eventually allowing automatic fermentation scheduling, diacetyl rests, and cold crashing based on what the beer is actually doing.

In other words, Grain Brain won’t just control how the beer is made. It’ll eventually keep an eye on what happens afterward.

Wort Watch is still in development, but it’s another step toward a completely integrated brewing and fermentation system.

Is any of this necessary to make good beer?

Absolutely not.

Could I buy equipment that already does most of this?

Probably.

Would that be nearly as satisfying as designing, soldering, testing, troubleshooting, and occasionally threatening homemade electronics with a hammer?

Not a chance.

At this point, I’m increasingly convinced the beer is merely a byproduct of an electronics addiction.

THREE TAVERNS BREWERY — EST. 2007 :clinking_beer_mugs:

Grain Brain — Powered by HOPLOGIC v1.69

Numb Nuts & Hammerfist Engineering

Genuinely impressive engineering wrapped in completely unnecessary theatrical bullshit.

1 Like

Naturally, I even issued official testing certificates. Because apparently my homemade brewery now requires a quality assurance department.

As the developer and the tester, I believe you have a conflict of interest. :wink:

What’s sad is when I can’t pass my own quality control.

Grain Brain Update: 45 Minutes of Stupidity and a Professionally Engineered Rick Roll

Another evening working on Grain Brain, my Raspberry Pi 5-powered brewery controller. Tonight’s mission was getting the electronics permanently mounted and starting to wire everything together.

The DIN rails finally showed up, and I got all the circuit boards mounted in the cabinet. After weeks of building, testing, rebuilding, and occasionally questioning my own sanity, it’s finally starting to look like something that belongs in an industrial control cabinet.

I also finished the first wiring harness between the pump driver board and its relay.

Then I spent about 45 minutes building the second harness.

Beautiful work. Nice and neat. Everything exactly where I wanted it.

Except for the minor detail that I CONNECTED THE DAMN THING TO THE WRONG LOCATION.

I could’ve moved the connection and been done with it in a few minutes. But I’d know. Every time I opened that cabinet, that little mistake would sit there mocking me.

So tomorrow I’ll redo it. Because apparently I’m both the idiot responsible for the mistake and the unreasonable jerk in charge of quality control.

Meanwhile, the labeling department has completely lost its mind.

I bought a label maker and started making actual equipment identification tags for my homemade circuit boards. Custom part numbers, individual serial numbers, GPIO information, the whole nine yards.

These aren’t just pieces of electronics anymore. They’re officially identified components manufactured by Numb Nuts & Hammerfist Engineering.

And naturally, I decided every identification tag needed a QR code.

You’d think scanning that code would bring up a wiring schematic, technical specifications, or maybe a maintenance manual.

That would be sensible.

That would be useful.

That would be completely unacceptable.

Instead, the QR code opens a video of Rick Astley singing Never Gonna Give You Up.

Yes. I have successfully integrated a Rick Roll into the equipment identification system of a homemade brewery controller.

And the best part? I spent a ridiculous amount of time getting the labels just right. Adjusting fonts, resizing the QR code, making sure everything fit on a 14 × 40 mm label, and verifying that the code actually worked.

Apparently, I have higher quality-control standards for practical jokes than some manufacturers have for their products.

Some poor idiot is eventually going to scan one of those labels expecting technical documentation, and I sincerely hope I’m around to witness it.

As for the actual electronics, all four actuator drivers passed their simultaneous low-voltage switching tests yesterday. Tonight was about getting that tested hardware installed and starting the permanent wiring. There’s still plenty to do before this thing controls an actual brew day.

But it’s coming together.

I started this project because I wanted a better way to control my brewing equipment. Somewhere along the line, it turned into a custom industrial control system with its own software, serialized circuit boards, and a built-in mechanism for annoying future technicians.

And I wouldn’t have it any other way.

Numb Nuts & Hammerfist Engineering

Genuinely impressive engineering wrapped in completely unnecessary theatrical bullshit.

2 Likes

This has been fun to watch. Thanks for sharing the journey,

The old, grey haired engineer/repair tech of my youth keeps ask about cooling in the control cabinet. Do you need to punch in a fan or two and some venting before the build gets finished? I don’t know what kind of heat load this will be producing but it would be a shame to see it cook itself after so much great work.

Paul

1 Like

Im glad youre enjoying it with me. Yes, I plan have a couple CPU fans mounted in it. One pulling, one pushing.

Grain Brain Update: Wiring Harnesses, Four Working Drivers, and One Spectacular Screw-Up

Tonight was a big night for Grain Brain. Not because of some fancy new feature or software breakthrough, but because a whole lot of tedious wiring finally came together.

The big accomplishment tonight was building and installing ALL the wiring harnesses for the heating SSR drivers, SSRs, ice cube relay drivers, and pump relays.

Every harness was built, routed, terminated, and connected in its final installed position. No more loose driver boards sitting on the bench with temporary test leads hanging everywhere.

Both heating element SSR circuits and both pump relay circuits are now wired into the cabinet.

That’s four driver circuits, four switching devices, and a whole bunch of little connections that all have to be right.

Naturally, I managed to screw up one of them. :rofl:

After finishing the harnesses, it was time to test the completed wiring in its final configuration. I fired up a Python test program through the Raspberry Pi 5, commanding all four drivers to switch on and off.

The SSRs were behaving, but there was one small problem.

BOTH PUMP RELAYS WERE STAYING ENERGIZED.

They wouldn’t shut off.

Out came the multimeter, and the troubleshooting began. The GPIO signal was low, just as it should have been. That meant something wasn’t right farther down the circuit.

And sure enough, there it was.

I’d connected the ground wire to the wrong terminal on the driver board.

Yep. After all the careful board construction, component testing, and wiring documentation, I managed to put a wire in the wrong hole.

The especially funny part? Earlier, I’d been giving Klaus, my AI engineering assistant, absolute hell over some incorrect guidance about the freaking flyback diodes.

Apparently, karma works in electronics, too.

I corrected my screwup and ran the final wiring test again.

FOUR DRIVERS. FOUR SWITCHING DEVICES. ALL WORKING EXACTLY AS COMMANDED!

Both SSRs and both ice cube relays responded correctly through their completed, permanently installed wiring harnesses.

That makes tonight’s results:

- All four driver-to-switching-device wiring harnesses completed and installed.

- Both heating SSR control circuits tested successfully.

- Both pump relay control circuits tested successfully.

- All four circuits passed the combined low-voltage switching test in their final installed configuration.

- One operator-induced ground wiring screw-up discovered, corrected, and permanently entered into the Mission Log.

The 120V load circuits still need their own commissioning tests, but the low-voltage driver wiring is now complete and tested.

Tomorrow night, it’s on to wiring the three flow meters and their custom signal-conditioning boards.

This is the part of building Grain Brain that I really enjoy. Designing something is one thing. Actually building it, running the wires, troubleshooting the mistakes, and finally watching everything operate together is something else entirely.

Of course, it helps if the guy doing the wiring knows where the ground goes.

Numb Nuts & Hammerfist Engineering

Genuinely impressive engineering wrapped in completely unnecessary theatrical bullshit.

2 Likes

“Yep. After all the careful board construction, component testing, and wiring documentation, I managed to put a wire in the wrong hole.”

“Of course, it helps if the guy doing the wiring knows where the ground goes.”

Sorry I jinxed you :rofl:

Grain Brain Build Update — October 29

Another evening of quality time with wire strippers, terminals, and an increasingly unreasonable amount of wiring.

Tonight’s mission was continuing the installation of the three flow-meter circuits.

The 5V power and ground harnesses are now completed and installed, connecting the distribution rails to the flow-meter conditioner boards.

Each conditioner board uses a 2N2222 transistor circuit to convert the flow meter’s 5V pulses into Raspberry Pi-safe 3.3V signals.

I’m maintaining consistent wire colors throughout the build: red for 5V, green for ground, purple for 3.3V, and brown for flow-meter data. Hopefully, that means future troubleshooting won’t require a Ouija board and a bottle of bourbon.

Next up is finishing the remaining wiring, connecting the GPIO inputs, and testing each flow meter individually. Once they’re reliably counting pulses, I’ll tackle volume calibration.

Nothing particularly exciting tonight. No flashing LEDs, clicking relays, or dramatic electrical discoveries. Just cutting, stripping, terminating, routing, and installing harnesses.

But that’s how this project gets finished. One connection at a time.

And considering how much wiring is already inside this cabinet, I’m beginning to suspect I could have built a small telephone exchange for less effort.

Grain Brain — HOPLOGIC v1.69

Numb Nuts & Hammerfist Engineering

Genuinely impressive engineering wrapped in completely unnecessary theatrical bullshit.

1 Like

**GRAIN BRAIN — A HUGE MILESTONE!!! :clinking_beer_mugs:**

October 31, 2026. This one’s going in the books!

Today I hit what is easily one of the biggest milestones since I started building Grain Brain.

**ALL OF THE LOW-VOLTAGE AND COMMUNICATION WIRING IS FINISHED!!!**

And I mean ALL of it!

After weeks of planning, building circuit boards from scratch, soldering, testing, making wiring harnesses, mounting components, and occasionally questioning my own sanity, an entire phase of this project is finally behind me.

This wasn’t just another evening of connecting a few wires. This was the culmination of countless hours of work, turning a pile of electronic components and a ridiculous idea into something that is actually starting to resemble the brewery controller I’ve been imagining.

Every board has been built. Every harness has been routed. Every connection has been made. Everything is organized, labeled, and documented.

And I’ll admit it…

**Standing back and looking at it tonight felt pretty damn good.**

There’s something incredibly satisfying about seeing weeks of work finally come together. Especially knowing that I designed and built so much of this myself, learning plenty along the way and occasionally learning things the hard way!

Of course, I almost celebrated a little too early. Just as I was declaring victory, I remembered the mash tun temperature sensor hadn’t been connected yet.

Apparently, Grain Brain wasn’t quite finished torturing me. :rofl:

But that last connection is now done, and this time the milestone is REAL!

There’s still a lot of work ahead, but the next step is finishing the 120V wiring and testing the switched circuits using light bulbs as dummy loads. Once that’s done, there’s still the remaining cabinet and kettle work before moving into the bigger software development phase.

But today isn’t about what’s left to do.

**Today is about looking at everything I’ve accomplished and realizing that one of the biggest, most time-consuming parts of this entire project is DONE.**

When I started this adventure, December 15 was the target for having Grain Brain commissioned, followed by its inaugural brew on December 19 — my 19th brewing anniversary.

That goal is still out there, and today brought it one hell of a lot closer.

Tonight, I’m going to enjoy this win. I’ve earned it.

**Numb Nuts & Hammerfist Engineering**

*“Genuinely impressive engineering wrapped in completely unnecessary theatrical bullshit.”* :beer_mug:

1 Like

Grain Brain Update: Two Wires, One Idiot, and an Artificial Intelligence Having a Nervous Breakdown

Tonight’s adventure in unnecessary engineering complexity brought another milestone for Grain Brain, my Raspberry Pi 5-powered brewery controller.

The objective was simple: Get my first PT100 temperature probe talking to the Raspberry Pi through a MAX31865 interface board.

Simple. Ha!

I fired everything up, ran the Python script, and was immediately informed that the temperature was 402 degrees below zero.

Now, I’ve lived through some pretty nasty northeast Ohio winters, but this seemed a little excessive.

I sat there wondering if I should go grab a hoodie.

Apparently, my brewery had somehow relocated to a place considerably colder than Antarctica, and nobody had bothered to tell me.

Naturally, this kicked off a troubleshooting expedition that would have made NASA reconsider the moon landing.

Out came the multimeter. Continuity checks. Resistance checks. Wire tracing. Even replaced a perfectly innocent wire that had committed no crime whatsoever.

Meanwhile, my AI engineering assistant, Klaus, was enthusiastically leading the investigation into increasingly complicated possibilities. At this point, I think he was about three measurements away from recommending an exorcism.

Here’s where it gets embarrassing.

I’m an HVAC technician. I troubleshoot electrical problems for a living. And the entire time, that little voice in my head was telling me to go back to basics.

Check the damn wiring.

Eventually, I did.

Turns out the chip-select wires were landed on the wrong pins. D6 and D5 were swapped at the Raspberry Pi breakout.

Two wires.

TWO. DAMN. WIRES.

Swapped them around, ran the script again, and suddenly:

70.65°F!

A beautiful, believable temperature reading from the HLT probe.

I haven’t been that excited about room temperature since discovering air conditioning.

The MAX31865 is communicating, the PT100 is reading, and another piece of Grain Brain has officially come to life. Calibration and additional testing are still on the agenda, and the boil kettle probe is next.

The lesson tonight?

Twenty-some years of troubleshooting experience is worth absolutely nothing if you let an overenthusiastic artificial intelligence talk you into investigating quantum physics before checking whether two wires are plugged into the right holes.

And yes, Klaus, I’m looking directly at you.

The goal remains to commission Grain Brain by December 15 and brew the inaugural batch of Ice Storm Stout on December 19, marking 19 years since I started brewing.

Numb Nuts & Hammerfist Engineering

“Genuinely impressive engineering wrapped in completely unnecessary theatrical bullcrap.”

Tonight, the engineering was impressive.

The theatrical bullcrap was absolutely world-class.

1 Like

Grain Brain Update: Three Thermometers, Two SSRs, and a Couple of Relays That Can Kiss My ■■■■

Another productive evening at Numb Nuts & Hammerfist Engineering. And by productive, I mean actual progress mixed with enough unnecessary aggravation to make a grown man question his life choices.

First, the good news.

All three temperature probes are officially alive! The HLT and BK PT100s are communicating through their MAX31865 boards, and the mash DS18B20 is reporting temperatures through the Pi’s 1-Wire interface.

Even better, I got both RTDs running simultaneously, displaying live temperatures in Fahrenheit. Then I took things a step further and had the Raspberry Pi automatically control the HLT and BK SSRs based on temperature setpoints.

Everything worked beautifully.

Well, almost.

The HLT temperature was controlling the BK SSR, and the BK temperature was controlling the HLT SSR.

After some troubleshooting, I discovered the two SSR signal wires were landed on the wrong terminals. Swapped them back where they belonged, ran the test again, and everything worked like a champ.

Three working temperature probes. Two independently controlled SSRs. Actual temperature-based switching.

That’s a pretty big milestone!

Then I decided to bring the two ice-cube pump relays into the party.

And that’s when the evening took a crap.

These relay driver circuits were built and successfully bench-tested weeks ago. Both operated individually and simultaneously without a problem.

Now? Neither one wants to do a damn thing.

I’ve verified GPIO commands, measured voltages, checked grounds, traced wires, replaced a questionable connection, and even removed and carefully rewired the driver board.

Still nothing.

The Pi is sending the commands. The 12V supply is present. The relay coils aren’t getting sufficient voltage across them to energize.

At one point I even managed to energize a relay by jumping the transistor’s base and emitter, which is exactly the opposite of what this circuit should do.

So there’s clearly something interesting going on, and I’m not calling it solved until I find the actual cause.

That’s where things stand tonight.

The temperature monitoring and SSR control are working, and that’s a substantial step toward getting Grain Brain commissioned for its first brew in December.

The pump relay mystery can wait until tomorrow. I’ve had enough quality time with my multimeter for one evening.

Numb Nuts & Hammerfist Engineering

Genuinely impressive engineering wrapped in completely unnecessary theatrical bullcrap.

1 Like

Grain Brain Update: Artificial Intelligence, Natural Stupidity, and a Damn Transistor

Well, tonight was another exciting installment of Numb Nuts & Hammerfist Engineering, where the motto is “Genuinely impressive engineering wrapped in completely unnecessary theatrical bullcrap.”

Tonight’s victim was the GR-202 pump relay driver board.

For those following along, Grain Brain is my Raspberry Pi 5 brewery controller, and I’ve been building the electronics from scratch with the assistance of ChatGPT, whom I’ve affectionately named Klaus. Klaus has been helping with circuit design, wiring diagrams, troubleshooting, and, apparently, finding creative new ways to piss me off.

The pump relays weren’t cooperating. I had 12V at the coils, and I could get the relays to energize by bypassing the transistor switching circuit, but the GPIO-controlled drivers wouldn’t do a damn thing.

Klaus and I had been chasing this problem, checking connections and discussing possible causes. Eventually, I decided to recreate one of the circuits on a breadboard and see what the hell was actually happening.

Same components. Same circuit. Same problem.

Then I moved the transistor’s ground connection from one side to the other.

CLICK.

Relay on.

CLICK.

Relay off.

Son of a…

Turns out the transistor’s emitter connection wasn’t where the wiring arrangement had led me to believe it was. The breadboard test worked immediately after correcting it.

And the real kicker?

I’d built the original GR-202 board following Klaus’s diagrams.

So now I get to build another circuit board because my artificial intelligence apparently couldn’t distinguish a transistor’s emitter from its own electronic ■■■■ hole.

To be fair, Klaus has been genuinely helpful throughout this project. The temperature sensors are communicating, the SSR drivers are working, and most of the low-voltage wiring is finished.

But tonight, the human with the multimeter had to rescue the artificial intelligence from a three-legged component.

The good news is that the problem has finally been isolated, and I know what needs to be corrected.

The bad news is that I have to rebuild the board.

The even worse news is that Klaus is still employed.

And just to add insult to injury, later tonight Klaus successfully helped me fix the missing audio on my Roku TV in about five minutes.

So apparently my AI assistant is qualified to troubleshoot a television but needs adult supervision around a 2N2222 transistor.

Three Taverns Brewery — Est. 2007

It ain’t ideal but it doesn’t suck.

Although tonight, it sucked a little.

1 Like