Repository navigation
Firmware-Update
Es gibt zwei Möglichkeiten, die Firmware über USB zu installieren:
- Webbrowser: Öffne den Web-Updater, wähle eine Version aus und folge den Anweisungen auf dem Bildschirm.
- USB-Paket: Lade
USB-Flash.zipvon der Release-Seite herunter und entpacke es. Starte unter Windowsflash.bat. Unter macOS oder Linux findest du die Anleitung zum Flashen im Wiki.
Formatiere nach der gewählten Methode die SD-Karte als FAT32. Entpacke die zur Firmware passende SD-Files.zip und kopiere ihren Inhalt direkt in das Hauptverzeichnis der SD-Karte.
Bei Fehlern oder Fragen: Kontakt.
Firmware update
Choose one of two ways to install the firmware over USB:
- Web browser: Open the browser updater, select a release, and follow the on-screen instructions.
- USB package: Download
USB-Flash.zipfrom the releases page and extract it. On Windows, runflash.bat; on macOS or Linux, follow the wiki's USB flashing instructions.
After either method, format the SD card as FAT32. Extract the matching SD-Files.zip and copy its contents to the root of the SD card.
For errors or questions, contact us.
Changelog
2.14
Highlights
- Reworked the trickling model from
unitsPerThrowto configurable weight per revolution (weightPerRev). - Added device-side Wi-Fi enable/disable, scale-protocol cycling, setup-AP QR code display, and Flash/SD synchronization controls.
- Reorganized SD/LittleFS packaging and renamed the SD-hosted profile editor to
profile_editor.html. - Centralized weight formatting, entry, and comparison around the
0.000to500.000domain. - Reduced heap churn in profile lists, UI text updates, web responses, dialogs, and scale parsing.
- Moved the stepper shift-register drive to the ESP32 I2S peripheral with DMA.
Breaking config/profile changes
config.txtnow uses nested objects forwifi,scale,stepper,totalCounter, andfirmwareUpdate.wifi.enabledcontrols Wi-Fi services at runtime.stepper.stepsPerRevreplaces the hard-coded motor step count.activeProfilereplaces the old flat profile field.firmwareUpdate.checkremains user-configurable; the update URL stays internal to firmware.- Profiles now use
general, asteppermap keyed by"1"/"2", andtrickleMap[]entries withdiffWeight,measurements, and nested stepper settings. - Per-stepper
speedfields were renamed torpm. - Per-stepper calibration changed from
unitsPerThrowtoweightPerRev. - Config and profile readers now require the exact current schemas; incomplete, extended, and legacy documents are rejected.
/getProfileListnow returns a JSON array instead of the legacy numeric-key object.
Added
- Added on-device tuning of each
trickleMap[].stepper.stepsvalue using the same per-entry flow as measurement tuning. - Added required per-entry
stepper.reversedirection control totrickleMapprofiles and the web profile editor. - Added
compile_options.hfor compile-time feature switches. - Added simultaneous SD and LittleFS mounting with
activeFsruntime selection. - Added Flash-to-SD and SD-to-Flash sync for
config.txtand profiles, using atomic temporary-file replacement. - Added LittleFS/SD tree generation tooling and release USB-flash tooling.
- Added automatic regeneration of the calibration profile when
calibrate.txtis missing or invalid. - Added profile creation/tuning flow based on measured calibration weight and generated trickle-map entries.
- Added on-device scale-protocol cycling with
STREAMdisplay for empty protocol mode. - Added setup-AP Wi-Fi QR-code generation and display using a fixed module buffer.
- Added asynchronous Wi-Fi scanning for the setup page so scans do not stall the display task.
- Added localized firmware web status pages backed by SD-hosted
web.firmware.*language keys.
Changed
- Updated the build/upload tooling for Arduino-ESP32 3.3.11 and its bundled esptool 5.3.1.
- Save now commits all profile tuning modes together; explicit step edits take precedence over weight/rev recalculation, with existing map entries preserved.
- Unified profile tuning into one shared dialog with left/right arrows to cycle weight/rev, measurements, and steps.
- Renamed source files to the current naming convention, including
pindef.htohardware_pins.h,rs232.inotoscale_rs232.ino,sd_config.inotosd_storage.ino, andupdate.inotoota_update.ino. - Split filesystem mounting and sync logic into
filesystem_mount.inoandfilesystem_sync.ino. - Reorganized SD assets into
SD-Files,SD-Files-Gz,SD-Files-LittleFS, andSD-Files-Legacy. - Replaced the old in-browser profile generator/profile editor pages with the updated profile editor and settings pages.
- Updated bundled SD web pages, shared CSS, language files, profile defaults, and manual content.
- Changed startup/runtime storage so profile-only values are reset before loading a new profile.
- Changed Start to reload the selected profile from disk before running.
- Changed target-weight and profile web edits to be rejected while the trickler is running.
- Changed captive-portal handling so DNS service continues from the display task.
- Changed profile list storage from
String[32]to a fixedchar[32][32]buffer. - Changed weight display/entry precision to three decimals.
- Changed invalid/unknown weight state from
-1toNaN. - Changed the LVGL draw buffer from 8 rows to 16 rows.
- Changed dialog creation to shared factory helpers and dynamic dialogs.
- Changed UI font and dialog button sizing for the current display layout.
Fixed
- Fixed on-screen target-weight edits being ignored when Start was pressed.
- Fixed profile-step RPM carryover during bulk moves.
- Fixed
targetWeightleaking from a previous profile when loading a profile without a target weight. - Fixed mid-run web target/profile edits racing the active trickle run.
- Fixed several trickler edge cases by routing profile-step selection through the shared weight-comparison helper.
- Fixed negative scale values and weight-label reset behavior.
- Fixed scale parsing to reduce heap use and avoid stale unit text.
- Fixed total-counter writes so config is not rewritten when no completed throw changed the count.
- Fixed profile save and target-weight save paths to use atomic writes.
- Fixed Wi-Fi setup and AP web behavior after Wi-Fi service state changes.
- Fixed profile tuning measurement handling.
- Fixed dialog cancellation and confirmation state issues.
- Fixed Stop so an active I2S/DMA stepper move is cancelled promptly and cannot resume after a quick restart.
- Fixed repeated Start presses from rewriting an unchanged profile target weight by tracking unsaved target edits, and kept calibration profiles free of unsupported target-weight fields.
- Fixed SD file and manual content to match the current firmware/web UI.
Removed
- Removed the BMP boot splash screen and related
splash.ino. - Removed obsolete
data/LittleFS staging output from the firmware tree. - Removed old profile generator assets.
- Removed obsolete generated binary artifacts from
SD-Files-Gzwhen they are regenerated by tooling. - Removed dead helper code and deduplicated profile, language, and dialog helpers.
- Removed old build script names in favor of the
tools/filesystem_*,tools/firmware_build_upload.py, andtools/release_update_usb_flash.pynaming.