Homebrew Build with a Beaglebone

Check out the build process I went through when building my homebrewery with a beaglebone. Feel free to ask questions in the comments section.

Basic Overview

You can find links to some of the products I used in the description. I have also made a more comprehensive list of everything.

Disclaimer: I’m not in any way trained as an electrician. This build was done after doing months of research online. When dealing with mains power, know what you’re doing!

NEMA 12 Enclosure

NEMA Enclosure
To ensure I won’t electrocute myself when I spill my wort on the control panel, I used a NEMA 12 enclosure. These are rated for indoor use with resistance to water, dust, and rust. Perfect for the damp environment it will be in during boils.
I chose a 12″ x 10″ x 6″ sized enclosure. This is smaller than many other builds you will see online, but because I am not using the bulky mechanical switches, I saved a lot of space. Using the Beaglebone really simplified things.

Painting & Heatsink Mounting

JB Weld

I used a similar product to what most are using:
Rust-Oleum Hammered Burnished Spray Paint. As the name implies, it leaves a nice, irregular hammered finish.
There are a few different colors to choose from.

In order for the spray paint to adhere properly, you really need to sand off the enclosure’s pre existing paint and apply some type of primer. I did not do this and my paint comes off incredibly easy. I wouldn’t bother painting it again if I was not going to do some surface treatment beforehand.

My enclosure already had a removable panel, but it was not deep enough for the solid state relays. I would suggest using a dremel for this because if you use a hand saw like I did, it takes forever and looks bad (though it isn’t visible anyways once completed).

Sand down the sharp edges and get your heatsink ready. I used a 300mm x 120mm x 20mm sized heatsink I found on eBay. The size was absolutely perfect for my enclosure and has plenty of room for the relays to mount on the underside. To mount to the enclosure, apply a generous amount of JB Weld around the hole. You really can be generous here- you want a seal between the heatsink and the opening.

DS18B20 and the Beaglebone Black

Testing the DS18B20 with the Beaglebone
Before wiring, I tested my device tree overlay and wiring with a breadboard. I’ve covered this step in another post.

Making Holes for Connectors and Indicators

Control Panel Drilled and Painted
A lot of people reccomend using a hole punch for making the optimal holes for your connectors and indicators. I did not have any punches available to me, and could not justify their expense for a couple of holes so I went with a step bit. I went a mid-ranged priced step bit, the Neiko Titanium (the cheap ones will only last a couple of holes!).
The thickness of my NEMA enclosure was not that significant, so using the step bit really was not an issue. You will have a bit of filing to do afterwards, but if you take your time, you can have nice, clean holes in your enclosure using a step bit.

Neutrik PowerCON Connectors

Neutrik Powercon

Neutrik is most known for producing A/V connectors for speakers and microphones. While looking for cheaper alternatives to the expensive mains power connectors, I discovered they also make connectors for mains power!
I found several advantages by using these: I saved a lot of money, the connectors are all locking, and I also saved a significant amount of space on my control panel because these connectors are about half the size of their typical counterparts.

They a few different types meant to serve different purposes:

powerCON TRUE1

I used two of these for my mains power connectors. They are rated at 20A each.
Don’t forget the female receptacle.

PowerCON 20A

I used three of these connectors to connect my 1500W elements and pumps. These are also rated for 20A, but not meant to be connected under load! I have seen people say these are safe to disconnect under load, but I chose to follow the manufacturer’s recommendations.
Don’t forget the female receptacle.


Making sure both 120V lines remained separate was something I wanted to pay particular attention to. I’d suggest wiring up one side first, then the second.
Beaglebone black
Beaglebone mounted and powered on. Don’t forget to use standoffs when mounting. These are hollow plastic tubes that fit over a portion of your screws. This will prevent the shorting of your beaglebone that would occur if its rear contacts touched the metal mounting plate. I chose to use an old router power brick to power the beaglebone. It is large and clumsy, so you could potentially save some needed space by adding another external connector and using the supply externally, but I wanted to have everything enclosed.
Assembly complete
Everything now wired up and functioning (BBB powered externally in photo). I have not completed my cable management yet. Notice the small sainsmart relays in the center. I am using these as switches for my pumps. The build quality is actually pretty good on these. Becuase I cut corners and I am using the cheap “eBay” pump,
I repurposed another power supply I found laying around. You shouldn’t have trouble finding one that is 12V- look for old modems, routers, cordless phone bases, etc. They are fairly ubiquitous. Most of these will not have difficulty powering the smaller pump, but still check the amperage.

 Comments 1 comment

  • ken klein says:

    Awesome. I’m still confused about the wiring. The SSR comes with only 4 posts. Is the base the ground? I can imagine hookng up the BBB to 3 and 4 on the Fotek ssr-40 da, easy – to – and + to +. But for the high voltage side what do I do. I guess splice the cord to the boilcoil, cut the wire to hot (white) and attach the one wire to posts 1 and 2. The other 2 wires in the cable would remain intact.
    I also can’t see how you have the ds18b20 wired in. Those sensors come with such tiny fragile wires and the length is not convenient to run to various kettles, tun and tanks.
    I gathered you are using javascript to program the BBB. I am using netrexx to generate a java class file. I can ssh into the BBB from anywhere in the house to change the program. How are you controlling all the variables? Is your javascript a standalone autonomous brewing machine?

  • Leave a Reply

    Your email address will not be published. Fields with * are mandatory.