Brick 101

The "Brick" has a temperature sensor and a relay that allows you to control the mash tun, refrigerator or fermenter.

How to get one?

  • you can either buy one

  • or build one yourself (see below).

How to build you own BierBot Brick

What you'll need

You don't need much to build your Brick, most of the tools are optional (and just make your life easier).



  • USB Serial converter (Virtual COM-Port) - to flash the PCB.

  • mini USB cable (if you don't already have one) - to connect your serial converter to your PC.

  • Something to strip the wires (pliers, scissors, knife, etc.).

  • Two screwdrivers (philips and longitudinal slot).

  • Optional: wire end ferrules and a wire end ferrule pliers.

Overview - everything you need.


Step 1: Expose the contacts

First we have to expose the contacts of the board, via which we will then flash the software.

To do this, first loosen the Phillips screw and lift off the front cover (Figure 1.1). Then insert a teaspoon between the upper and lower part of the housing at the U-hole. By turning the spoon, the housing can now be pried open (Fig. 1.2). Now you only have to loosen the 4 screws that secure the circuit board in the housing (Figure 1.3).

Fig. 1.1 - Loosen the cover with a Phillips screwdriver.
Fig. 1.2 - Open the housing at the U-hole with a small spoon.

Figure 1.3 - Loosen the 4 screws on the board with a Phillips screwdriver.

Step 2: Soldering the DIP pin header

There are 5 DIP holes on the board with which we have to make "contact" for flashing. For this we simply solder the 4x1 pin header. Important here: We only need the pins from "GND" to "VCC" ("EXP-LOG" is not needed). Insert the pin header from the top, turn the board around and solder it from the bottom with 4 solder pads. Soldering tip: Rather heat the contact surfaces on the board, and then dab the solder to it.

Now screw the board back into the lower part of the housing using the 4 screws.

Figure 2.1 - Rear side, from here the pin header is soldered.
Figure 2.2 - Front side, this is what the finished result should look like.

Step 3: Connecting the power cable

Now you need the extension cable. Cut it (Figure 3.1) (the center is not necessarily the best place for your purpose), and carefully remove the insulation (Figure 3.2 and 3.3). When removing the outer insulation (black in our case), be careful not to damage the inner insulation (brown, blue, yellow-green). Repeat the process for both ends of the cable.

Figure 3.1. - Cut the cable at the desired location.
Figure 3.2 - Carefully remove the outer insulation.
Figure 3.3 - Exposing the individual wires.

Now thread the cable through the opening of the upper housing part (Fig. 3.4) from "outside" to "inside" (in quotation marks, because the housing is currently open). Twist the strands together. If available, you can also crimp a wire end sleeve (ideally with a 4-jaw pliers to maximize the contact area).

Figure 3.4 - Inserting the power cables (from the outside to the inside).

Now connect the wires to the terminal of the board (Figure 3.5 and 3.6). For this purpose, it is best to press on the top of the button with a longitudinal slot and insert the cable. The board must be completely de-energized during this step! In no case connect the plugs with the socket!

Figure 3.5 - It is best to use a slotted screwdriver to open the clamp by pressing it.
Figure 3.6 - This is how the result should look. It is easier if you have already sorted the cables in the way they have to be clamped.

The mapping is as follows:

Label on PCB


Cable Color (Germany, EU)











doesn't matter



Epsilon / E

doesn't matter



On the Figure 4.3 you can see a clear representation for EU color coding.

Step 4: Connect the data cable for flashing

Now it's time for the "Rainbow" cable. We use it to connect our pin header (Figure 4.1) to the serial interface (Figure 4.2). Connect the Rainbow cable "as is" to the pin header of the board. Make sure that the jumper on the serial interface is set to 3.3V when it is "right" (when the USB port is up).

Figure 4.1 - Rainbow cables at the pin headers of our board.
Figure 4.2 - Rainbow cable at the serial interface. Jumper is set to "right", i.e. to 3.3V.

The other side must be connected to our USB board. Pay attention to the labels! Start with GND, that belongs on the outside. Now leave one pin free. Now comes "VCC" (in our case white, the cable that is maximum away from GND on the board), followed by E-RX (black) and E-TX (brown) - so in the same order of the pin header.

For your reference: Here again the complete cabling (power and data cable)

Figure 4.3 - Illustration of the wiring of the BierBot Brick.

Step 5: Flashing the Software

Now we still have to play the software on our board. For this we need two things:

  1. The Brick software itself (available for free on Github). Download the "firmware.bin" of the "Latest Release".

  2. The tool to flash the chip (ESP8266) (also available for free on Github). Most likely you need the ESP8266Flasher.exe file from the "Win64/Release" directory.

Save both files (Flasher and firmware.bin) on your PC. Now connect the USB board with the mini USB cable to your PC. To check if the board is recognized correctly do the following: Press the Windows key (on your keyboard), type "Hardware", click on the Hardware Manager. Under "Ports (COM & LPT) you should now see a COM3 (or any other number).

If not, you may be able to fix the problem by downloading the driver for your USB board HERE (current is and unpacking it to Downloads\CDM+v2.12.36.1+WHQL+Certified. Then, in Hardware Manager, right-click the device that was not detected correctly (at the top, probably with a question mark), and click "Update Driver". Then select "search on my computer" or the root directory you just created (CDM+v2.12.36.1+WHQL+Certified).

Now start the "ESP8266Flasher.exe". Go to the tab "Config" ( (1) in the picture), and click on the gear wheel ( (2) in the picture). Select the "firmware.bin" in the dialog that pops up.

Figure 5.1 - Screenshot from the ESP8266Flasher.

Go back to the "Operation" tab, select your COM port (in my case "COM3").

Now we have to put the board into flash mode. For this we start with a powerless board (unplug the mini USB from your PC). Then hold down the button on the board 1), and then connect 2) (while holding down the button) the mini USB cable to the PC again.

Figure 5.2 - 1) Press white pin and while keeping it pressed 2) Plug in.

Hit Flash! The Flashing tool will now install the PCB with the software - time to get some homebrew to celebrate this victory!

Figure 5.3 - Screenshot during the flash process. Enough time for the short walk to the fridge or to the cellar.

Step 6: Closing the case

As soon as the flashing tool signals the successful completion of the flashing process with a green checkmark, we now only have to reassemble the case. To facilitate future updates, it is recommended to route the Rainbow cable with "outside" and leave it plugged on the DIP header (but take a photo or label of the GND cable for future reference). Please note that you should protect the case from water, as it does not meet IP68 in this state.

Figure 6.1 - Result after half an hour of work.

Click the case back together & plug in the DS18B20 temperature sensor - Done!

Final words

You can now head over to and setup your Brick and at it to a device. And explanation how to do so can be found here.

This howto will be also available on GermanyGerman on the awesome brau!magazin.


If your device connects to mains electricity (AC power) there is danger of electrocution if not installed properly. If you don't know how to install it, please call an electrician (Beware: certain countries prohibit installation without a licensed electrician present). Remember: SAFETY FIRST. It is not worth the risk to yourself, your family and your home if you don't know exactly what you are doing. Never tinker or try to flash a device using the serial programming interface while it is connected to MAINS ELECTRICITY (AC power).

We don't take any responsibility nor liability for using this software nor for the installation or any tips, advice, videos, etc. given by any member of this site or any related site. source