# Board structure version 2

This guide explains how to assemble the Brautomat board step by step. It is written for hobby brewers without a background in electrical engineering.

You do not need to understand all electronics details to build the board. What matters most is:

* placing the correct parts in the correct positions
* soldering cleanly
* comparing each step with the photos
* stopping and checking again if something looks unclear

Terms such as JST-HX, DS18B20, or PT100x are explained only as far as needed for assembly.

## Before you start

You need:

* the board
* the parts from the list below
* a soldering iron with a fine tip
* solder
* side cutters
* good light and a bit of time

If you have never soldered before, practice first on a simple scrap board.

Board parts overview:

![BOM](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-60ada707ce9122577f855a6a4732da0f8f662b89%2FAufbau1.jpg?alt=media)

Number 1: Resistor 4.7kOhm\
Number 2: JST-HX socket (white) and 5-pin screw terminal block\
Number 3: passive piezo buzzer\
Number 4: Screw terminal blocks with a pitch of 2.54mm

## Parts list for version 2 board

The JST-HX socket position is an alternative to the 5-pin screw terminal block. The original GGM IDS2 panel cable matches the JST-HX socket. If a replacement cable is used, wiring is usually easier with the 5-pin screw terminal block.

| Number                                          | Item name                           | Link to article                                                                                                                                |
| ----------------------------------------------- | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| 3                                               | Screw terminal block 3-pin RM 2.54  | [amazon](https://www.amazon.de/dp/B07PH5HWQL/?coliid=I1JP3GL9UZVHAK\&colid=I7GQB171JGLX\&psc=1\&ref_=cm_sw_r_cp_ud_lstpd_1MYFTEN8WCBBE7AD4J7T) |
| 1 optional                                      | Screw terminal block 3-pin RM 2.54  | -                                                                                                                                              |
| 1                                               | Screw terminal block 5-pin RM 2.54  | [amazon](https://www.amazon.de/dp/B07PJ71VW8/?coliid=I3AGEWLU82MSU5\&colid=I7GQB171JGLX\&psc=1\&ref_=cm_sw_r_cp_ud_lstpd_1MYFTEN8WCBBE7AD4J7T) |
| 1 alternative to the screw terminal block 5-pin | JST-HX socket 90° RM 2.54           | (voelkner D17526)                                                                                                                              |
| 2                                               | Screw terminal block 8-pin RM 2.54  | [amazon](https://www.amazon.de/dp/B07PJ7YK3G/?coliid=I2SR2XJ0B6HEW9\&colid=I7GQB171JGLX\&psc=1\&ref_=cm_sw_r_cp_ud_lstpd_1MYFTEN8WCBBE7AD4J7T) |
| 2                                               | Screw terminal block 12-pin RM 2.54 | [amazon](https://www.amazon.de/dp/B07NZ459BY/?coliid=I2HTZO5ENXO2Q6\&colid=I7GQB171JGLX\&psc=1\&ref_=cm_sw_r_cp_ud_lstpd_1MYFTEN8WCBBE7AD4J7T) |
| 1                                               | Pin header RM 2.54                  | [amazon](https://www.amazon.de/dp/B01MQ5HJYQ?ref_=pe_27091401_487187591_302_E_DDE_dt_1)                                                        |
| 1                                               | Resistance 4.7kOhm                  | [amazon](https://www.amazon.de/dp/B0CL6N7334/?coliid=IVHTTAGFDF3TX\&colid=I7GQB171JGLX\&psc=1\&ref_=cm_sw_r_cp_ud_lstpd_1ZKFZ0X0XNS2PX9FJN3H)  |
| 1 optional                                      | Passive buzzer 12mm 3V              | [amazon](https://www.amazon.de/dp/B0179I6LIK/ref=pe_27091401_487027711_TE_SCE_dp_i1)                                                           |
| 1 ESP32                                         | ESP32 D1 mini                       | [amazon](https://www.amazon.de/dp/B08BTRQNB3/?coliid=I3GILWFH2TDYH9\&colid=I7GQB171JGLX\&ref_=list_c_wl_lv_ov_lig_dp_it\&th=1)                 |
| 1 optional                                      | Display Nextion 3.5"                | [amazon](https://www.amazon.de/dp/B09PL9CTZ7/?coliid=I14PAW5R7XN3MC\&colid=I7GQB171JGLX\&psc=1\&ref_=cm_sw_r_cp_ud_lstpd_15EQ8G7TVRFSGNWTHM5Y) |

*Note: the links or item numbers listed are purely informative and not linked to affiliate/marketing programs.*

The Nextion 3.5 inch display is available as Basic, Discovery or Enhanced. The currently cheapest model can be selected for the Brautomat. Displays with 2.8 inches or smaller and 4 inches and larger have a different pixel resolution and are not supported by Brautomat!

## Considerations before construction

The board can be equipped differently depending on the connection to the GGM IDS induction hob:

1.1 The original cable from the GGM IDS control panel is used

In this case, the white JST-HX socket is required (number 2 in the picture). The 5-pin screw terminal block in the picture directly next to the JST-HX socket is then not used.

1.2 A replacement cable is used

In this case the white JST-HX socket is not used, but the 5-pin screw terminal block.

So either the JST-HX socket or the 5-pin screw terminal block is inserted into the board.

## Insert the screw terminal blocks

Two notes on inserting the screw terminal blocks:

1. The opening of the screw terminal blocks always faces outwards (away from the circuit board).
2. The screw terminal blocks are fixed with a soldering point. The correct fit is then checked. All soldering points are then soldered.

The next steps show screw terminal installation and soldering.\
In step 1, install the two 12-pin screw terminal blocks. The GPIOs D9 to D19 from ESP32 are connected to the 12 screw terminal blocks.

![Screw terminal block](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-9e9b9d6969e4c9d5efcd9484e6a1854e2f7c2d53%2FAufbau2.jpg?alt=media)

Now turn the board over and fix each screw terminal block with a soldering point. Now check that the screw terminal blocks are correctly seated. All pins must be correctly inserted through the soldering points. All pins are then soldered.

In step 2, install the two 8-pin screw terminal blocks. The GPIOs D0 to D8 from ESP32 are connected to the 8 screw terminal blocks.

![Screw terminal blocks](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-04713d41a78bf4c80c0bbb4a6cce59287f6249bb%2FAufbau3.jpg?alt=media)

The board now looks like this in this status:

![Screw terminal blocks](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-9733ae471f43cf7889bc40bbbf21fc75cd63b5c6%2FAufbau4.jpg?alt=media)

In step 3, install and solder the three 3-pin screw terminal blocks.

![Screw terminal block for sensors](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-63648d6b6ad1fcaf01ca02b1c4b6d32f187b76cc%2FAufbau5.jpg?alt=media)

DS18B20 temperature sensors are connected to the three connections. There is no order or hierarchy for these three connections. If only analog PT100x sensors are used, the three screw terminal blocks can be omitted.

On board version 2.1, an optional additional 3-pin terminal can be installed at the GND position next to the sensor terminals. The additional GND connections are useful when actuators (pumps, agitators, etc.) are used. If no actuators are used, the screw terminal block can be omitted.

In step 4, install and solder either the JST-HX socket (original cable) or the 5-pin screw terminal block (replacement cable), as described above.

![JST-HX or screw terminal block](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-ff604b1143a46e2379178f2bcbd1daa809b15089%2FAufbau6.jpg?alt=media)

## The piezo buzzer

The piezo buzzer is optional. This step can be skipped if acoustic signals are not desired.\
The piezo buzzer has a positive and a negative pin.

![Buzzer Plus Minus](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-97906511baf290c62ccfd08fb5cab608c07f41a2%2FAufbau8.jpg?alt=media)

The positive pole is inserted into the D8 marking and, accordingly, the negative pole into the GND marking.

![Buzzer](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-963eb9fb10b081f89468c8d9325e22744f36c516%2FAufbau7.jpg?alt=media)

## The 4.7kOhm resistor

The 4.7kOhm resistor is required for Dallas DS18B20 sensors. If only analog PT100x sensors are used, the resistor can be omitted.

![Resistance](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-5224e6fd8372e62cb5b95c12c611d29a7b0bbe6f%2FAufbau9.jpg?alt=media)

Bend the resistor legs by 90° (for example around a screwdriver). Insert the resistor at the position marked `4k7`. Orientation does not matter. The basic color of resistors is often blue or sand-colored. The colored rings show the electrical resistance:

4.7kOhm resistor with 4 rings: yellow - violet - red - \[tolerance]

4.7kOhm resistor with 5 rings: yellow - violet - black - brown - \[tolerance]

![Resistance](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-a8d53a218e81548f772a3d5be87284443b4936ab%2FAufbau10.jpg?alt=media)

On the back side, bend the resistor legs slightly outward and solder them. Trim excess leg length with side cutters.

## Mount the ESP microcontroller

By mounting the base, the ESP microcontroller can be removed from the board at any time. Socketing is also useful when troubleshooting.

![Socket](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-de8c8142cdebeb858ef6dbc83881806df1b7189c%2FAufbau14.jpg?alt=media)

The scope of delivery of the ESP microcontrollers includes adapter number 1. In addition, a pin header number 2 with a pitch of 2.54mm is required.

![Parts List](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-d502a68a0d05164670e9c3ce7209b7c41b977701%2FAufbau11.jpg?alt=media)

Adapters and pin headers are required for socketing. The pin header is first plugged into the adapter, as shown in number 3. Adapters with pin strips are then inserted into the circuit board, two on the left and two on the right

*Tip: the pin header is delivered as a 40 pin header. The full length of the pin header is inserted into the adapter. The overhang over the adapter is bent at the end.*

![Socket](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-573fffc6f3039cad15e402e2b75289f6578cbe4a%2FAufbau12.jpg?alt=media)

Now the ESP is put on and fixed with a soldering point on each side. Now the fit of the bases is checked. All soldering points are then soldered.

![ESP32](https://4263638218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcd8WaQiNhLpQ99hwjXzs%2Fuploads%2Fgit-blob-d98b7a2397b184072901ff5681f3a4dccbc38ecd%2FAufbau15.jpg?alt=media)

Finally, check all solder joints carefully. When all soldering points are closed, the Brautomat is ready.
