Brautomat32
English
English
  • Brautomat
  • Installation
  • Basic setup
    • Setting up a temperature sensor
    • Setting up an induction hob
  • The mash plan
    • Controller
    • Functions
    • Recipe
  • AutoTune PID
    • AutoTune process
    • AutoTune step by step
  • Sensors
    • Calibration
  • MLT
  • HLT
  • Actors
  • Logging
  • Parameter overview
    • Parameter kettle
    • Parameter System
    • Functionen buttons
  • Circuit board
    • Connectors
    • Setting up circuit board V2
  • Display
  • 3D print case
    • InnuCase
    • FreggaCase
  • Hardware
  • KleinerBrauhelfer2
  • MQTTDevice
  • Support Brautomat
  • Troubleshooting
Powered by GitBook
On this page
  • Firmware flash with MS Windows scriptbased
  • Manual flash with MS Windows and Linux
  • Firmware flash with macOS
  • WLAN configuration
  • Updates
  • WebUpdate
  • FileUpdate

Installation

PreviousBrautomatNextBasic setup

Last updated 27 days ago

To be able to use the Brautomat, the firmware must be flashed. The ESP microcontroller must also be connected to the local WLAN.

Firmware flash with MS Windows scriptbased

The Brautomat32 version is for the ESP32, based on framework IDF5.

  • : Brautomat32.zip

The firmware is installed using the included “Flashen.cmd” script. To do this, unzip the archive in any folder. The ESP microcontroller is connected to the PC/notebook via USB cable. Double-click on the Flashen.cmd script to start flashing the firmware.

The MS Windows operating system automatically creates a serial COM port when connecting the ESP microcontroller to a USB port on the PC or notebook.

An ESP device was found on COM7. In rare cases, no serial COM port is automatically provided under MS Windows. USB drivers for ESP microcontrollers are available on the following websites: (MS Win and macOS).

Manual flash with MS Windows and Linux

If the script cannot be used, the firmware can be transferred manually to the ESP microcontroller.

ESP32 Step 1 erase flash:

esptool.exe --chip esp32 erase_flash

ESP32 Step 2 flash firmware

esptool.exe --chip esp32 --baud 921600 --before default_reset --after hard_reset write_flash 0x1000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin 0x350000 LittleFS.bin

Firmware flash with macOS

With macOS, flashing the firmware is divided into two steps. In the first step, the firmware firmware.bin is installed on the Wemos using the pyflasher tool.

After clicking on the "Filesystem" button, the file brautomat.mklittlefs.bin is selected and installed by clicking on Update Filesystem.

WLAN configuration

The WLAN configuration is displayed using the “Configure WiFi” button

This completes the basic installation. The firmware flashing and WLAN configuration process only needs to be carried out once. The Brautomat must now be configured. The configuration is described in the section Basic setup. The following section Update can be skipped for the time being.

Updates

Updates can be installed via the ‘Update’ menu. New firmware can be installed via ‘WebUpdate’ or ‘File Update’. When updating the firmware via WebUpdate, the firmware loads the current version from the Internet from the github repository. When updating via File Update, the firmware is uploaded from the local PC. A USB cable or the script from the installation are not required.

The memory area of an ESP microcontroller is divided into firmware and file system. During operation, configurations, recipes and other files can only be saved or changed in the file system. The firmware area can only be accessed read-only. During an update, the firmware area is completely reinstalled and individual files are replaced in the file system.

WebUpdate

The WebUpdate restarts the Brautomat several times. Firstly, the firmware is updated. After a further restart, the framework is updated. The WebUpdate process is logged in the webUpdateLog.txt file.

If the option WebUpdate with test version is activated, the WebUpdate is carried out with the current developer version. These are test versions. New functions in the firmware are (usually) initially stored as a test version in the github repository. Test versions are not recommended for productive use.

FileUpdate

Updating the firmware via the FileUpdate selection takes just a few steps:

Firstly, the current firmware must be downloaded. The ZIP archive is then unpacked. In the Brautomat web interface, select the Update menu item and then FileUpdate. A simple update web page is displayed (Fig. 1):

Under Firmware with the ‘Select file’ button, the file firmware.bin must now be selected from the ZIP archive (in Fig. 2). Click on Update Firmware to start the update.

The file system of the Brautomat can also be updated.

note: The Update FileSystem function recreates the file system. Update FileSystem overwrites all settings and configurations. In addition to the configuration, this also includes MashSud boiler profiles and recipes. In almost all cases, a FileUpdate Firmware followed by a WebUpdate is the right choice because the WebUpdate updates individual files in the file system after the Update Firmware.

Script Flashen.cmd uses esptool.exe . ESPtool-ck Copyright (C) 2014 Christian Klippel . This code is licensed under GPL v2.

Download:

The brautomat must then be connected to the WLAN. As soon as the brautomat is connected to the WLAN, the file system must be installed. Open in browser:

After flashing the firmware, the Brautomat starts in AccessPoint mode. An open WLAN with the name Brautomat32 becomes visible. A connection must be established with this WLAN. This works from a PC or notebook as well as with a smartphone. As soon as the connection is established, the web browser opens the Wi-Fi configuration portal. If the portal does not open automatically, the address must be entered manually.

The WLAN (SSID) and the password must be configured here. After saving WLAN credentials, the brautomat restarts and connects to the WiFi. The Brautomat web interface can be accessed via .

https://github.com/igrr/esptool-ck/releases
ck@atelier-klippel.de
pyflasher
http://brautomat.local/update
http://192.168.4.1
http://brautomat.local
ESP32 IDF5
Windows Gerätemanager
macOS
IDS
IDS
FileUpdate